Variables
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.
File_google_cloud_support_v2_actor_proto
var
File_google_cloud_support_v2_actor_proto
protoreflect
.
FileDescriptor
File_google_cloud_support_v2_attachment_proto
var
File_google_cloud_support_v2_attachment_proto
protoreflect
.
FileDescriptor
File_google_cloud_support_v2_attachment_service_proto
var
File_google_cloud_support_v2_attachment_service_proto
protoreflect
.
FileDescriptor
File_google_cloud_support_v2_case_proto
var
File_google_cloud_support_v2_case_proto
protoreflect
.
FileDescriptor
File_google_cloud_support_v2_case_service_proto
var
File_google_cloud_support_v2_case_service_proto
protoreflect
.
FileDescriptor
File_google_cloud_support_v2_comment_proto
var
File_google_cloud_support_v2_comment_proto
protoreflect
.
FileDescriptor
File_google_cloud_support_v2_comment_service_proto
var
File_google_cloud_support_v2_comment_service_proto
protoreflect
.
FileDescriptor
File_google_cloud_support_v2_escalation_proto
var
File_google_cloud_support_v2_escalation_proto
protoreflect
.
FileDescriptor
Functions
func RegisterCaseAttachmentServiceServer
func
RegisterCaseAttachmentServiceServer
(
s
*
grpc
.
Server
,
srv
CaseAttachmentServiceServer
)
func RegisterCaseServiceServer
func
RegisterCaseServiceServer
(
s
*
grpc
.
Server
,
srv
CaseServiceServer
)
func RegisterCommentServiceServer
func
RegisterCommentServiceServer
(
s
*
grpc
.
Server
,
srv
CommentServiceServer
)
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
// credentials supplied during case creation. If the authenticated principal
// does not have an email address, one must be provided. When a name is
// provided, an email must also be provided. This will be obfuscated if the
// user is a Google Support agent.
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"`
// contains filtered or unexported fields
}
An object containing information about the effective user and authenticated principal responsible for an action.
func (*Actor) Descriptor
Deprecated: Use Actor.ProtoReflect.Descriptor instead.
func (*Actor) GetDisplayName
func (*Actor) GetEmail
func (*Actor) GetGoogleSupport
func (*Actor) ProtoMessage
func
(
*
Actor
)
ProtoMessage
()
func (*Actor) ProtoReflect
func
(
x
*
Actor
)
ProtoReflect
()
protoreflect
.
Message
func (*Actor) Reset
func
(
x
*
Actor
)
Reset
()
func (*Actor) String
Attachment
type
Attachment
struct
{
// Output only. 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
}
Represents a file attached to a support case.
func (*Attachment) Descriptor
func
(
*
Attachment
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use Attachment.ProtoReflect.Descriptor instead.
func (*Attachment) GetCreateTime
func
(
x
*
Attachment
)
GetCreateTime
()
*
timestamppb
.
Timestamp
func (*Attachment) GetCreator
func
(
x
*
Attachment
)
GetCreator
()
*
Actor
func (*Attachment) GetFilename
func
(
x
*
Attachment
)
GetFilename
()
string
func (*Attachment) GetMimeType
func
(
x
*
Attachment
)
GetMimeType
()
string
func (*Attachment) GetName
func
(
x
*
Attachment
)
GetName
()
string
func (*Attachment) GetSizeBytes
func
(
x
*
Attachment
)
GetSizeBytes
()
int64
func (*Attachment) ProtoMessage
func
(
*
Attachment
)
ProtoMessage
()
func (*Attachment) ProtoReflect
func
(
x
*
Attachment
)
ProtoReflect
()
protoreflect
.
Message
func (*Attachment) Reset
func
(
x
*
Attachment
)
Reset
()
func (*Attachment) String
func
(
x
*
Attachment
)
String
()
string
Case
type
Case
struct
{
// 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.v2.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.v2.Case_Priority" json:"priority,omitempty"`
// contains filtered or unexported fields
}
A support case.
func (*Case) Descriptor
Deprecated: Use Case.ProtoReflect.Descriptor instead.
func (*Case) GetClassification
func
(
x
*
Case
)
GetClassification
()
*
CaseClassification
func (*Case) GetContactEmail
func (*Case) GetCreateTime
func
(
x
*
Case
)
GetCreateTime
()
*
timestamppb
.
Timestamp
func (*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_Priority
func (*Case) GetState
func
(
x
*
Case
)
GetState
()
Case_State
func (*Case) GetSubscriberEmailAddresses
func (*Case) GetTestCase
func (*Case) GetTimeZone
func (*Case) GetUpdateTime
func
(
x
*
Case
)
GetUpdateTime
()
*
timestamppb
.
Timestamp
func (*Case) ProtoMessage
func
(
*
Case
)
ProtoMessage
()
func (*Case) ProtoReflect
func
(
x
*
Case
)
ProtoReflect
()
protoreflect
.
Message
func (*Case) Reset
func
(
x
*
Case
)
Reset
()
func (*Case) String
CaseAttachmentServiceClient
type
CaseAttachmentServiceClient
interface
{
// Retrieve all attachments associated with a support case.
ListAttachments
(
ctx
context
.
Context
,
in
*
ListAttachmentsRequest
,
opts
...
grpc
.
CallOption
)
(
*
ListAttachmentsResponse
,
error
)
}
CaseAttachmentServiceClient is the client API for CaseAttachmentService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream .
func NewCaseAttachmentServiceClient
func
NewCaseAttachmentServiceClient
(
cc
grpc
.
ClientConnInterface
)
CaseAttachmentServiceClient
CaseAttachmentServiceServer
type
CaseAttachmentServiceServer
interface
{
// Retrieve all attachments associated with a support case.
ListAttachments
(
context
.
Context
,
*
ListAttachmentsRequest
)
(
*
ListAttachmentsResponse
,
error
)
}
CaseAttachmentServiceServer is the server API for CaseAttachmentService service.
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`.
Id
string
`protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
// The display name of the classification.
DisplayName
string
`protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}
A classification object with a product type and value.
func (*CaseClassification) Descriptor
func
(
*
CaseClassification
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use CaseClassification.ProtoReflect.Descriptor instead.
func (*CaseClassification) GetDisplayName
func
(
x
*
CaseClassification
)
GetDisplayName
()
string
func (*CaseClassification) GetId
func
(
x
*
CaseClassification
)
GetId
()
string
func (*CaseClassification) ProtoMessage
func
(
*
CaseClassification
)
ProtoMessage
()
func (*CaseClassification) ProtoReflect
func
(
x
*
CaseClassification
)
ProtoReflect
()
protoreflect
.
Message
func (*CaseClassification) Reset
func
(
x
*
CaseClassification
)
Reset
()
func (*CaseClassification) String
func
(
x
*
CaseClassification
)
String
()
string
CaseServiceClient
type
CaseServiceClient
interface
{
// Retrieve the specified case.
GetCase
(
ctx
context
.
Context
,
in
*
GetCaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
Case
,
error
)
// Retrieve all cases under the specified parent.
//
// Note: Listing cases under an Organization returns only the cases directly
// parented by that organization. To retrieve all cases under an organization,
// including cases parented by projects under that organization, use
// `cases.search`.
ListCases
(
ctx
context
.
Context
,
in
*
ListCasesRequest
,
opts
...
grpc
.
CallOption
)
(
*
ListCasesResponse
,
error
)
// Search cases using the specified query.
SearchCases
(
ctx
context
.
Context
,
in
*
SearchCasesRequest
,
opts
...
grpc
.
CallOption
)
(
*
SearchCasesResponse
,
error
)
// Create a new case and associate it with the given Google Cloud Resource.
// The case object must have the following fields set: `display_name`,
// `description`, `classification`, and `priority`.
CreateCase
(
ctx
context
.
Context
,
in
*
CreateCaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
Case
,
error
)
// Update the specified case. Only a subset of fields can be updated.
UpdateCase
(
ctx
context
.
Context
,
in
*
UpdateCaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
Case
,
error
)
// Escalate a case. Escalating a case will initiate the Google Cloud Support
// escalation management process.
//
// This operation is only available to certain Customer Care tiers. Go to
// https://cloud.google.com/support and look for 'Technical support
// escalations' in the feature list to find out which tiers are able to
// perform escalations.
EscalateCase
(
ctx
context
.
Context
,
in
*
EscalateCaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
Case
,
error
)
// Close the specified case.
CloseCase
(
ctx
context
.
Context
,
in
*
CloseCaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
Case
,
error
)
// Retrieve valid classifications to be used when creating a support case.
// The classications are hierarchical, with each classification containing
// all levels of the hierarchy, separated by " > ". For example "Technical
// Issue > Compute > Compute Engine".
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://godoc.org/google.golang.org/grpc#ClientConn.NewStream .
func NewCaseServiceClient
func
NewCaseServiceClient
(
cc
grpc
.
ClientConnInterface
)
CaseServiceClient
CaseServiceServer
type
CaseServiceServer
interface
{
// Retrieve the specified case.
GetCase
(
context
.
Context
,
*
GetCaseRequest
)
(
*
Case
,
error
)
// Retrieve all cases under the specified parent.
//
// Note: Listing cases under an Organization returns only the cases directly
// parented by that organization. To retrieve all cases under an organization,
// including cases parented by projects under that organization, use
// `cases.search`.
ListCases
(
context
.
Context
,
*
ListCasesRequest
)
(
*
ListCasesResponse
,
error
)
// Search cases using the specified query.
SearchCases
(
context
.
Context
,
*
SearchCasesRequest
)
(
*
SearchCasesResponse
,
error
)
// Create a new case and associate it with the given Google Cloud Resource.
// The case object must have the following fields set: `display_name`,
// `description`, `classification`, and `priority`.
CreateCase
(
context
.
Context
,
*
CreateCaseRequest
)
(
*
Case
,
error
)
// Update the specified case. Only a subset of fields can be updated.
UpdateCase
(
context
.
Context
,
*
UpdateCaseRequest
)
(
*
Case
,
error
)
// Escalate a case. Escalating a case will initiate the Google Cloud Support
// escalation management process.
//
// This operation is only available to certain Customer Care tiers. Go to
// https://cloud.google.com/support and look for 'Technical support
// escalations' in the feature list to find out which tiers are able to
// perform escalations.
EscalateCase
(
context
.
Context
,
*
EscalateCaseRequest
)
(
*
Case
,
error
)
// Close the specified case.
CloseCase
(
context
.
Context
,
*
CloseCaseRequest
)
(
*
Case
,
error
)
// Retrieve valid classifications to be used when creating a support case.
// The classications are hierarchical, with each classification containing
// all levels of the hierarchy, separated by " > ". For example "Technical
// Issue > Compute > Compute Engine".
SearchCaseClassifications
(
context
.
Context
,
*
SearchCaseClassificationsRequest
)
(
*
SearchCaseClassificationsResponse
,
error
)
}
CaseServiceServer is the server API for CaseService service.
Case_Priority
type
Case_Priority
int32
The 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
.
EnumDescriptor
func (Case_Priority) Enum
func
(
x
Case_Priority
)
Enum
()
*
Case_Priority
func (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
.
EnumNumber
func (Case_Priority) String
func
(
x
Case_Priority
)
String
()
string
func (Case_Priority) Type
func
(
Case_Priority
)
Type
()
protoreflect
.
EnumType
Case_State
type
Case_State
int32
The 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
.
EnumDescriptor
func (Case_State) Enum
func
(
x
Case_State
)
Enum
()
*
Case_State
func (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
.
EnumNumber
func (Case_State) String
func
(
x
Case_State
)
String
()
string
func (Case_State) Type
func
(
Case_State
)
Type
()
protoreflect
.
EnumType
CloseCaseRequest
type
CloseCaseRequest
struct
{
// Required. The fully qualified name of the case resource to be closed.
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
()
string
func (*CloseCaseRequest) ProtoMessage
func
(
*
CloseCaseRequest
)
ProtoMessage
()
func (*CloseCaseRequest) ProtoReflect
func
(
x
*
CloseCaseRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*CloseCaseRequest) Reset
func
(
x
*
CloseCaseRequest
)
Reset
()
func (*CloseCaseRequest) String
func
(
x
*
CloseCaseRequest
)
String
()
string
Comment
type
Comment
struct
{
// Output only. The resource name for the comment.
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The time when this 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 created this comment.
Creator
*
Actor
`protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"`
// The full comment body. Maximum of 12800 characters. This can contain rich
// text syntax.
Body
string
`protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
// Output only. DEPRECATED. An automatically generated plain text version of
// body with all rich text syntax stripped.
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.
func (*Comment) Descriptor
Deprecated: Use Comment.ProtoReflect.Descriptor instead.
func (*Comment) GetBody
func (*Comment) GetCreateTime
func
(
x
*
Comment
)
GetCreateTime
()
*
timestamppb
.
Timestamp
func (*Comment) GetCreator
func (*Comment) GetName
func (*Comment) GetPlainTextBody
func (*Comment) ProtoMessage
func
(
*
Comment
)
ProtoMessage
()
func (*Comment) ProtoReflect
func
(
x
*
Comment
)
ProtoReflect
()
protoreflect
.
Message
func (*Comment) Reset
func
(
x
*
Comment
)
Reset
()
func (*Comment) String
CommentServiceClient
type
CommentServiceClient
interface
{
// Retrieve all Comments associated with the Case object.
ListComments
(
ctx
context
.
Context
,
in
*
ListCommentsRequest
,
opts
...
grpc
.
CallOption
)
(
*
ListCommentsResponse
,
error
)
// Add a new comment to the specified Case.
// The comment object must have the following fields set: body.
CreateComment
(
ctx
context
.
Context
,
in
*
CreateCommentRequest
,
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://godoc.org/google.golang.org/grpc#ClientConn.NewStream .
func NewCommentServiceClient
func
NewCommentServiceClient
(
cc
grpc
.
ClientConnInterface
)
CommentServiceClient
CommentServiceServer
type
CommentServiceServer
interface
{
// Retrieve all Comments associated with the Case object.
ListComments
(
context
.
Context
,
*
ListCommentsRequest
)
(
*
ListCommentsResponse
,
error
)
// Add a new comment to the specified Case.
// The comment object must have the following fields set: body.
CreateComment
(
context
.
Context
,
*
CreateCommentRequest
)
(
*
Comment
,
error
)
}
CommentServiceServer is the server API for CommentService service.
CreateCaseRequest
type
CreateCaseRequest
struct
{
// Required. The name of the Google Cloud Resource 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
()
*
Case
func (*CreateCaseRequest) GetParent
func
(
x
*
CreateCaseRequest
)
GetParent
()
string
func (*CreateCaseRequest) ProtoMessage
func
(
*
CreateCaseRequest
)
ProtoMessage
()
func (*CreateCaseRequest) ProtoReflect
func
(
x
*
CreateCaseRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*CreateCaseRequest) Reset
func
(
x
*
CreateCaseRequest
)
Reset
()
func (*CreateCaseRequest) String
func
(
x
*
CreateCaseRequest
)
String
()
string
CreateCommentRequest
type
CreateCommentRequest
struct
{
// Required. The resource name of Case to which this comment should be added.
Parent
string
`protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The Comment object to be added to this Case.
Comment
*
Comment
`protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
// contains filtered or unexported fields
}
The request message for CreateComment endpoint.
func (*CreateCommentRequest) Descriptor
func
(
*
CreateCommentRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use CreateCommentRequest.ProtoReflect.Descriptor instead.
func (*CreateCommentRequest) GetComment
func
(
x
*
CreateCommentRequest
)
GetComment
()
*
Comment
func (*CreateCommentRequest) GetParent
func
(
x
*
CreateCommentRequest
)
GetParent
()
string
func (*CreateCommentRequest) ProtoMessage
func
(
*
CreateCommentRequest
)
ProtoMessage
()
func (*CreateCommentRequest) ProtoReflect
func
(
x
*
CreateCommentRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*CreateCommentRequest) Reset
func
(
x
*
CreateCommentRequest
)
Reset
()
func (*CreateCommentRequest) String
func
(
x
*
CreateCommentRequest
)
String
()
string
EscalateCaseRequest
type
EscalateCaseRequest
struct
{
// Required. The fully qualified name of the Case resource to be escalated.
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The escalation object 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
()
*
Escalation
func (*EscalateCaseRequest) GetName
func
(
x
*
EscalateCaseRequest
)
GetName
()
string
func (*EscalateCaseRequest) ProtoMessage
func
(
*
EscalateCaseRequest
)
ProtoMessage
()
func (*EscalateCaseRequest) ProtoReflect
func
(
x
*
EscalateCaseRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*EscalateCaseRequest) Reset
func
(
x
*
EscalateCaseRequest
)
Reset
()
func (*EscalateCaseRequest) String
func
(
x
*
EscalateCaseRequest
)
String
()
string
Escalation
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.v2.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
()
string
func (*Escalation) GetReason
func
(
x
*
Escalation
)
GetReason
()
Escalation_Reason
func (*Escalation) ProtoMessage
func
(
*
Escalation
)
ProtoMessage
()
func (*Escalation) ProtoReflect
func
(
x
*
Escalation
)
ProtoReflect
()
protoreflect
.
Message
func (*Escalation) Reset
func
(
x
*
Escalation
)
Reset
()
func (*Escalation) String
func
(
x
*
Escalation
)
String
()
string
Escalation_Reason
type
Escalation_Reason
int32
An 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
.
EnumDescriptor
func (Escalation_Reason) Enum
func
(
x
Escalation_Reason
)
Enum
()
*
Escalation_Reason
func (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
.
EnumNumber
func (Escalation_Reason) String
func
(
x
Escalation_Reason
)
String
()
string
func (Escalation_Reason) Type
func
(
Escalation_Reason
)
Type
()
protoreflect
.
EnumType
GetCaseRequest
type
GetCaseRequest
struct
{
// Required. The fully qualified 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
()
string
func (*GetCaseRequest) ProtoMessage
func
(
*
GetCaseRequest
)
ProtoMessage
()
func (*GetCaseRequest) ProtoReflect
func
(
x
*
GetCaseRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*GetCaseRequest) Reset
func
(
x
*
GetCaseRequest
)
Reset
()
func (*GetCaseRequest) String
func
(
x
*
GetCaseRequest
)
String
()
string
ListAttachmentsRequest
type
ListAttachmentsRequest
struct
{
// Required. The resource name of Case object 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.
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
()
int32
func (*ListAttachmentsRequest) GetPageToken
func
(
x
*
ListAttachmentsRequest
)
GetPageToken
()
string
func (*ListAttachmentsRequest) GetParent
func
(
x
*
ListAttachmentsRequest
)
GetParent
()
string
func (*ListAttachmentsRequest) ProtoMessage
func
(
*
ListAttachmentsRequest
)
ProtoMessage
()
func (*ListAttachmentsRequest) ProtoReflect
func
(
x
*
ListAttachmentsRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*ListAttachmentsRequest) Reset
func
(
x
*
ListAttachmentsRequest
)
Reset
()
func (*ListAttachmentsRequest) String
func
(
x
*
ListAttachmentsRequest
)
String
()
string
ListAttachmentsResponse
type
ListAttachmentsResponse
struct
{
// The list of attachments associated with the given case.
Attachments
[]
*
Attachment
`protobuf:"bytes,1,rep,name=attachments,proto3" json:"attachments,omitempty"`
// A token to retrieve the next page of results. This should be set 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
()
[]
*
Attachment
func (*ListAttachmentsResponse) GetNextPageToken
func
(
x
*
ListAttachmentsResponse
)
GetNextPageToken
()
string
func (*ListAttachmentsResponse) ProtoMessage
func
(
*
ListAttachmentsResponse
)
ProtoMessage
()
func (*ListAttachmentsResponse) ProtoReflect
func
(
x
*
ListAttachmentsResponse
)
ProtoReflect
()
protoreflect
.
Message
func (*ListAttachmentsResponse) Reset
func
(
x
*
ListAttachmentsResponse
)
Reset
()
func (*ListAttachmentsResponse) String
func
(
x
*
ListAttachmentsResponse
)
String
()
string
ListCasesRequest
type
ListCasesRequest
struct
{
// Required. The fully qualified name of parent resource to list cases under.
Parent
string
`protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// An expression written in filter language. If non-empty, the query returns
// the cases that match the filter. Else, the query doesn't filter the cases.
//
// Filter expressions use the following fields with the operators equals (`=`)
// and `AND`:
//
// - `state`: The accepted values are `OPEN` or `CLOSED`.
// - `priority`: The accepted values are `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"`
// 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
()
string
func (*ListCasesRequest) GetPageSize
func
(
x
*
ListCasesRequest
)
GetPageSize
()
int32
func (*ListCasesRequest) GetPageToken
func
(
x
*
ListCasesRequest
)
GetPageToken
()
string
func (*ListCasesRequest) GetParent
func
(
x
*
ListCasesRequest
)
GetParent
()
string
func (*ListCasesRequest) ProtoMessage
func
(
*
ListCasesRequest
)
ProtoMessage
()
func (*ListCasesRequest) ProtoReflect
func
(
x
*
ListCasesRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*ListCasesRequest) Reset
func
(
x
*
ListCasesRequest
)
Reset
()
func (*ListCasesRequest) String
func
(
x
*
ListCasesRequest
)
String
()
string
ListCasesResponse
type
ListCasesResponse
struct
{
// The list of cases associated with the Google Cloud Resource, 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. This should be set in the
// `page_token` field of the subsequent `ListCasesRequest` message that is
// issued. 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
()
[]
*
Case
func (*ListCasesResponse) GetNextPageToken
func
(
x
*
ListCasesResponse
)
GetNextPageToken
()
string
func (*ListCasesResponse) ProtoMessage
func
(
*
ListCasesResponse
)
ProtoMessage
()
func (*ListCasesResponse) ProtoReflect
func
(
x
*
ListCasesResponse
)
ProtoReflect
()
protoreflect
.
Message
func (*ListCasesResponse) Reset
func
(
x
*
ListCasesResponse
)
Reset
()
func (*ListCasesResponse) String
func
(
x
*
ListCasesResponse
)
String
()
string
ListCommentsRequest
type
ListCommentsRequest
struct
{
// Required. The resource name of Case object for which comments should be
// listed.
Parent
string
`protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of comments 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"`
// 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
()
int32
func (*ListCommentsRequest) GetPageToken
func
(
x
*
ListCommentsRequest
)
GetPageToken
()
string
func (*ListCommentsRequest) GetParent
func
(
x
*
ListCommentsRequest
)
GetParent
()
string
func (*ListCommentsRequest) ProtoMessage
func
(
*
ListCommentsRequest
)
ProtoMessage
()
func (*ListCommentsRequest) ProtoReflect
func
(
x
*
ListCommentsRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*ListCommentsRequest) Reset
func
(
x
*
ListCommentsRequest
)
Reset
()
func (*ListCommentsRequest) String
func
(
x
*
ListCommentsRequest
)
String
()
string
ListCommentsResponse
type
ListCommentsResponse
struct
{
// The list of Comments associated with the given Case.
Comments
[]
*
Comment
`protobuf:"bytes,1,rep,name=comments,proto3" json:"comments,omitempty"`
// A token to retrieve the next page of results. This should be set in the
// `page_token` field of subsequent `ListCommentsRequest` message that is
// issued. 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
()
[]
*
Comment
func (*ListCommentsResponse) GetNextPageToken
func
(
x
*
ListCommentsResponse
)
GetNextPageToken
()
string
func (*ListCommentsResponse) ProtoMessage
func
(
*
ListCommentsResponse
)
ProtoMessage
()
func (*ListCommentsResponse) ProtoReflect
func
(
x
*
ListCommentsResponse
)
ProtoReflect
()
protoreflect
.
Message
func (*ListCommentsResponse) Reset
func
(
x
*
ListCommentsResponse
)
Reset
()
func (*ListCommentsResponse) String
func
(
x
*
ListCommentsResponse
)
String
()
string
SearchCaseClassificationsRequest
type
SearchCaseClassificationsRequest
struct
{
// An expression written in the Google Cloud filter language. If non-empty,
// then only cases whose fields match the filter are returned. If empty, then
// no messages are filtered out.
Query
string
`protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
// The maximum number of cases 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"`
// contains filtered or unexported fields
}
The request message for SearchCaseClassifications endpoint.
func (*SearchCaseClassificationsRequest) Descriptor
func
(
*
SearchCaseClassificationsRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use SearchCaseClassificationsRequest.ProtoReflect.Descriptor instead.
func (*SearchCaseClassificationsRequest) GetPageSize
func
(
x
*
SearchCaseClassificationsRequest
)
GetPageSize
()
int32
func (*SearchCaseClassificationsRequest) GetPageToken
func
(
x
*
SearchCaseClassificationsRequest
)
GetPageToken
()
string
func (*SearchCaseClassificationsRequest) GetQuery
func
(
x
*
SearchCaseClassificationsRequest
)
GetQuery
()
string
func (*SearchCaseClassificationsRequest) ProtoMessage
func
(
*
SearchCaseClassificationsRequest
)
ProtoMessage
()
func (*SearchCaseClassificationsRequest) ProtoReflect
func
(
x
*
SearchCaseClassificationsRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*SearchCaseClassificationsRequest) Reset
func
(
x
*
SearchCaseClassificationsRequest
)
Reset
()
func (*SearchCaseClassificationsRequest) String
func
(
x
*
SearchCaseClassificationsRequest
)
String
()
string
SearchCaseClassificationsResponse
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. This should be set in the
// `page_token` field of subsequent `SearchCaseClassificationsRequest` message
// that is issued. 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
()
[]
*
CaseClassification
func (*SearchCaseClassificationsResponse) GetNextPageToken
func
(
x
*
SearchCaseClassificationsResponse
)
GetNextPageToken
()
string
func (*SearchCaseClassificationsResponse) ProtoMessage
func
(
*
SearchCaseClassificationsResponse
)
ProtoMessage
()
func (*SearchCaseClassificationsResponse) ProtoReflect
func
(
x
*
SearchCaseClassificationsResponse
)
ProtoReflect
()
protoreflect
.
Message
func (*SearchCaseClassificationsResponse) Reset
func
(
x
*
SearchCaseClassificationsResponse
)
Reset
()
func (*SearchCaseClassificationsResponse) String
func
(
x
*
SearchCaseClassificationsResponse
)
String
()
string
SearchCasesRequest
type
SearchCasesRequest
struct
{
// The fully qualified name of parent resource to search cases under.
Parent
string
`protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
// An expression written in filter language.
//
// A query uses the following fields with the operators equals (`=`) and
// `AND`:
//
// - `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
()
int32
func (*SearchCasesRequest) GetPageToken
func
(
x
*
SearchCasesRequest
)
GetPageToken
()
string
func (*SearchCasesRequest) GetParent
func
(
x
*
SearchCasesRequest
)
GetParent
()
string
func (*SearchCasesRequest) GetQuery
func
(
x
*
SearchCasesRequest
)
GetQuery
()
string
func (*SearchCasesRequest) ProtoMessage
func
(
*
SearchCasesRequest
)
ProtoMessage
()
func (*SearchCasesRequest) ProtoReflect
func
(
x
*
SearchCasesRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*SearchCasesRequest) Reset
func
(
x
*
SearchCasesRequest
)
Reset
()
func (*SearchCasesRequest) String
func
(
x
*
SearchCasesRequest
)
String
()
string
SearchCasesResponse
type
SearchCasesResponse
struct
{
// The list of cases associated with the Google Cloud Resource, 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. This should be set in the
// `page_token` field of subsequent `SearchCaseRequest` message that is
// issued. 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
()
[]
*
Case
func (*SearchCasesResponse) GetNextPageToken
func
(
x
*
SearchCasesResponse
)
GetNextPageToken
()
string
func (*SearchCasesResponse) ProtoMessage
func
(
*
SearchCasesResponse
)
ProtoMessage
()
func (*SearchCasesResponse) ProtoReflect
func
(
x
*
SearchCasesResponse
)
ProtoReflect
()
protoreflect
.
Message
func (*SearchCasesResponse) Reset
func
(
x
*
SearchCasesResponse
)
Reset
()
func (*SearchCasesResponse) String
func
(
x
*
SearchCasesResponse
)
String
()
string
UnimplementedCaseAttachmentServiceServer
type
UnimplementedCaseAttachmentServiceServer
struct
{
}
UnimplementedCaseAttachmentServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedCaseAttachmentServiceServer) ListAttachments
func
(
*
UnimplementedCaseAttachmentServiceServer
)
ListAttachments
(
context
.
Context
,
*
ListAttachmentsRequest
)
(
*
ListAttachmentsResponse
,
error
)
UnimplementedCaseServiceServer
type
UnimplementedCaseServiceServer
struct
{
}
UnimplementedCaseServiceServer can 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 can be embedded to have forward compatible implementations.
func (*UnimplementedCommentServiceServer) CreateComment
func
(
*
UnimplementedCommentServiceServer
)
CreateComment
(
context
.
Context
,
*
CreateCommentRequest
)
(
*
Comment
,
error
)
func (*UnimplementedCommentServiceServer) ListComments
func
(
*
UnimplementedCommentServiceServer
)
ListComments
(
context
.
Context
,
*
ListCommentsRequest
)
(
*
ListCommentsResponse
,
error
)
UpdateCaseRequest
type
UpdateCaseRequest
struct
{
// Required. The case object to update.
Case
*
Case
`protobuf:"bytes,1,opt,name=case,proto3" json:"case,omitempty"`
// A list of attributes of the case object that should be updated
// as part of this request. Supported values are `priority`, `display_name`,
// and `subscriber_email_addresses`. If no fields are specified, all supported
// fields are updated.
//
// WARNING: 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
()
*
Case
func (*UpdateCaseRequest) GetUpdateMask
func
(
x
*
UpdateCaseRequest
)
GetUpdateMask
()
*
fieldmaskpb
.
FieldMask
func (*UpdateCaseRequest) ProtoMessage
func
(
*
UpdateCaseRequest
)
ProtoMessage
()
func (*UpdateCaseRequest) ProtoReflect
func
(
x
*
UpdateCaseRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*UpdateCaseRequest) Reset
func
(
x
*
UpdateCaseRequest
)
Reset
()
func (*UpdateCaseRequest) String
func
(
x
*
UpdateCaseRequest
)
String
()
string