supportpb

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CaseAttachmentService_ListAttachments_FullMethodName = "/google.cloud.support.v2beta.CaseAttachmentService/ListAttachments"
	CaseAttachmentService_GetAttachment_FullMethodName   = "/google.cloud.support.v2beta.CaseAttachmentService/GetAttachment"
)
View Source
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"
)
View Source
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"
)
View Source
const (
	FeedService_ShowFeed_FullMethodName = "/google.cloud.support.v2beta.FeedService/ShowFeed"
)

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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)

View Source
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)

View Source
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)

View Source
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)

View Source
var File_google_cloud_support_v2beta_actor_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_support_v2beta_attachment_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_support_v2beta_attachment_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_support_v2beta_case_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_support_v2beta_case_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_support_v2beta_comment_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_support_v2beta_comment_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_support_v2beta_content_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_support_v2beta_email_message_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_support_v2beta_escalation_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_support_v2beta_feed_item_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_support_v2beta_feed_service_proto protoreflect.FileDescriptor

Functions

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)

Types

type 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

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

Deprecated: Use Actor.ProtoReflect.Descriptor instead.

func (*Actor) GetDisplayName

func (x *Actor) GetDisplayName() string

func (*Actor) GetEmail deprecated

func (x *Actor) GetEmail() string

Deprecated: Marked as deprecated in google/cloud/support/v2beta/actor.proto.

func (*Actor) GetGoogleSupport

func (x *Actor) GetGoogleSupport() bool

func (*Actor) GetUsername

func (x *Actor) GetUsername() string

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

func (x *Actor) String() string

type 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 deprecated

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

type Case

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 `` /* 135-byte string literal not displayed */
	// 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](https://google.aip.dev/cloud/2510).

func (*Case) Descriptor deprecated

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

Deprecated: Use Case.ProtoReflect.Descriptor instead.

func (*Case) GetClassification

func (x *Case) GetClassification() *CaseClassification

func (*Case) GetContactEmail

func (x *Case) GetContactEmail() string

func (*Case) GetCreateTime

func (x *Case) GetCreateTime() *timestamppb.Timestamp

func (*Case) GetCreator

func (x *Case) GetCreator() *Actor

func (*Case) GetDescription

func (x *Case) GetDescription() string

func (*Case) GetDisplayName

func (x *Case) GetDisplayName() string

func (*Case) GetEscalated

func (x *Case) GetEscalated() bool

func (*Case) GetLanguageCode

func (x *Case) GetLanguageCode() string

func (*Case) GetName

func (x *Case) GetName() string

func (*Case) GetPriority

func (x *Case) GetPriority() Case_Priority

func (*Case) GetState

func (x *Case) GetState() Case_State

func (*Case) GetSubscriberEmailAddresses

func (x *Case) GetSubscriberEmailAddresses() []string

func (*Case) GetTestCase

func (x *Case) GetTestCase() bool

func (*Case) GetTimeZone

func (x *Case) GetTimeZone() string

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

func (x *Case) String() string

type 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.

type CaseAttachmentServiceServer

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

type 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 deprecated

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) GetProduct

func (x *CaseClassification) GetProduct() *Product

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

type CaseServiceClient

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.

type CaseServiceServer

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

type Case_Priority

type Case_Priority int32

The case Priority. P0 is most urgent and P4 the least.

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) Enum

func (x Case_Priority) Enum() *Case_Priority

func (Case_Priority) EnumDescriptor deprecated

func (Case_Priority) EnumDescriptor() ([]byte, []int)

Deprecated: Use Case_Priority.Descriptor instead.

func (Case_Priority) Number

func (Case_Priority) String

func (x Case_Priority) String() string

func (Case_Priority) Type

type Case_State

type Case_State int32

The status of a support case.

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 deprecated

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

type CloseCaseRequest

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 deprecated

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

type Comment

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

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

Deprecated: Use Comment.ProtoReflect.Descriptor instead.

func (*Comment) GetBody

func (x *Comment) GetBody() string

func (*Comment) GetCreateTime

func (x *Comment) GetCreateTime() *timestamppb.Timestamp

func (*Comment) GetCreator

func (x *Comment) GetCreator() *Actor

func (*Comment) GetName

func (x *Comment) GetName() string

func (*Comment) GetPlainTextBody deprecated

func (x *Comment) GetPlainTextBody() string

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.Message

func (*Comment) Reset

func (x *Comment) Reset()

func (*Comment) String

func (x *Comment) String() string

type 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.

type CommentServiceServer

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

type 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 deprecated

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

type CreateCommentRequest

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 deprecated

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

type EmailMessage

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 `` /* 132-byte string literal not displayed */
	// 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 deprecated

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

Deprecated: Use EmailMessage.ProtoReflect.Descriptor instead.

func (*EmailMessage) GetActor

func (x *EmailMessage) GetActor() *Actor

func (*EmailMessage) GetBodyContent

func (x *EmailMessage) GetBodyContent() *TextContent

func (*EmailMessage) GetCcEmailAddresses

func (x *EmailMessage) GetCcEmailAddresses() []string

func (*EmailMessage) GetCreateTime

func (x *EmailMessage) GetCreateTime() *timestamppb.Timestamp

func (*EmailMessage) GetName

func (x *EmailMessage) GetName() string

func (*EmailMessage) GetRecipientEmailAddresses

func (x *EmailMessage) GetRecipientEmailAddresses() []string

func (*EmailMessage) GetSubject

func (x *EmailMessage) GetSubject() string

func (*EmailMessage) ProtoMessage

func (*EmailMessage) ProtoMessage()

func (*EmailMessage) ProtoReflect

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

func (*EmailMessage) Reset

func (x *EmailMessage) Reset()

func (*EmailMessage) String

func (x *EmailMessage) String() string

type EscalateCaseRequest

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 deprecated

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

type 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.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 deprecated

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

type Escalation_Reason

type Escalation_Reason int32

An enum detailing the possible reasons a case may be escalated.

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) Enum

func (Escalation_Reason) EnumDescriptor deprecated

func (Escalation_Reason) EnumDescriptor() ([]byte, []int)

Deprecated: Use Escalation_Reason.Descriptor instead.

func (Escalation_Reason) Number

func (Escalation_Reason) String

func (x Escalation_Reason) String() string

func (Escalation_Reason) Type

type FeedItem

type FeedItem struct {

	// The object corresponding to the event.
	//
	// Types that are assignable 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

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

Deprecated: Use FeedItem.ProtoReflect.Descriptor instead.

func (*FeedItem) GetAttachment

func (x *FeedItem) GetAttachment() *Attachment

func (*FeedItem) GetComment

func (x *FeedItem) GetComment() *Comment

func (*FeedItem) GetDeletedAttachment

func (x *FeedItem) GetDeletedAttachment() *Attachment

func (*FeedItem) GetEmailMessage

func (x *FeedItem) GetEmailMessage() *EmailMessage

func (*FeedItem) GetEventObject

func (m *FeedItem) GetEventObject() isFeedItem_EventObject

func (*FeedItem) GetEventTime

func (x *FeedItem) GetEventTime() *timestamppb.Timestamp

func (*FeedItem) ProtoMessage

func (*FeedItem) ProtoMessage()

func (*FeedItem) ProtoReflect

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

func (*FeedItem) Reset

func (x *FeedItem) Reset()

func (*FeedItem) String

func (x *FeedItem) String() string

type FeedItem_Attachment

type FeedItem_Attachment struct {
	// Output only. An attachment attached to the case.
	Attachment *Attachment `protobuf:"bytes,101,opt,name=attachment,proto3,oneof"`
}

type FeedItem_Comment

type FeedItem_Comment struct {
	// Output only. A comment added to the case.
	Comment *Comment `protobuf:"bytes,100,opt,name=comment,proto3,oneof"`
}

type 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"`
}

type 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"`
}

type 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.

type FeedServiceServer

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

type GetAttachmentRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use GetAttachmentRequest.ProtoReflect.Descriptor instead.

func (*GetAttachmentRequest) GetName added in v1.4.0

func (x *GetAttachmentRequest) GetName() string

func (*GetAttachmentRequest) ProtoMessage added in v1.4.0

func (*GetAttachmentRequest) ProtoMessage()

func (*GetAttachmentRequest) ProtoReflect added in v1.4.0

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

func (*GetAttachmentRequest) Reset added in v1.4.0

func (x *GetAttachmentRequest) Reset()

func (*GetAttachmentRequest) String added in v1.4.0

func (x *GetAttachmentRequest) String() string

type GetCaseRequest

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 deprecated

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

type GetCommentRequest added in v1.4.0

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 deprecated added in v1.4.0

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

Deprecated: Use GetCommentRequest.ProtoReflect.Descriptor instead.

func (*GetCommentRequest) GetName added in v1.4.0

func (x *GetCommentRequest) GetName() string

func (*GetCommentRequest) ProtoMessage added in v1.4.0

func (*GetCommentRequest) ProtoMessage()

func (*GetCommentRequest) ProtoReflect added in v1.4.0

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

func (*GetCommentRequest) Reset added in v1.4.0

func (x *GetCommentRequest) Reset()

func (*GetCommentRequest) String added in v1.4.0

func (x *GetCommentRequest) String() string

type ListAttachmentsRequest

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 deprecated

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

type ListAttachmentsResponse

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 deprecated

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

type ListCasesRequest

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="[email protected]"`
	// - `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 `` /* 146-byte string literal not displayed */
	// contains filtered or unexported fields
}

The request message for the ListCases endpoint.

func (*ListCasesRequest) Descriptor deprecated

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) GetProductLine

func (x *ListCasesRequest) GetProductLine() ProductLine

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

type ListCasesResponse

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 deprecated

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

type ListCommentsRequest

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 deprecated

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

type ListCommentsResponse

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 deprecated

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

type Product

type Product struct {

	// The product line of the Product.
	ProductLine ProductLine `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

The product a case may be associated with.

func (*Product) Descriptor deprecated

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

Deprecated: Use Product.ProtoReflect.Descriptor instead.

func (*Product) GetProductLine

func (x *Product) GetProductLine() ProductLine

func (*Product) ProtoMessage

func (*Product) ProtoMessage()

func (*Product) ProtoReflect

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

func (*Product) Reset

func (x *Product) Reset()

func (*Product) String

func (x *Product) String() string

type ProductLine

type ProductLine int32

The product line a support case may be associated with.

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) Enum

func (x ProductLine) Enum() *ProductLine

func (ProductLine) EnumDescriptor deprecated

func (ProductLine) EnumDescriptor() ([]byte, []int)

Deprecated: Use ProductLine.Descriptor instead.

func (ProductLine) Number

func (x ProductLine) Number() protoreflect.EnumNumber

func (ProductLine) String

func (x ProductLine) String() string

func (ProductLine) Type

type SearchCaseClassificationsRequest

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 deprecated

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) GetProduct

func (x *SearchCaseClassificationsRequest) GetProduct() *Product

func (*SearchCaseClassificationsRequest) GetQuery

func (*SearchCaseClassificationsRequest) ProtoMessage

func (*SearchCaseClassificationsRequest) ProtoMessage()

func (*SearchCaseClassificationsRequest) ProtoReflect

func (*SearchCaseClassificationsRequest) Reset

func (*SearchCaseClassificationsRequest) String

type 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. 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 deprecated

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 (*SearchCaseClassificationsResponse) Reset

func (*SearchCaseClassificationsResponse) String

type SearchCasesRequest

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/<organization_id>`.
	// - `project`: A project name in the form `projects/<project_id>`.
	// - `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.
	//
	// You must specify either `organization` or `project`.
	//
	// To search across `displayName`, `description`, and comments, use a global
	// restriction with no keyword or operator. For example, `"my search"`.
	//
	// To search only cases updated after a certain date, use `update_time`
	// restricted with that particular date, time, and timezone in ISO datetime
	// format. For example, `update_time>"2020-01-01T00:00:00-05:00"`.
	// `update_time` only supports the greater than operator (`>`).
	//
	// Examples:
	//
	// - `organization="organizations/123456789"`
	// - `project="projects/my-project-id"`
	// - `project="projects/123456789"`
	// - `organization="organizations/123456789" AND state=CLOSED`
	// - `project="projects/my-project-id" AND creator.email="[email protected]"`
	// - `project="projects/my-project-id" AND (priority=P0 OR priority=P1)`
	Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// The maximum number of cases fetched with each request. The default page
	// size is 10.
	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 SearchCases endpoint.

func (*SearchCasesRequest) Descriptor deprecated

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

type SearchCasesResponse

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 deprecated

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

type ShowFeedRequest

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 deprecated

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

Deprecated: Use ShowFeedRequest.ProtoReflect.Descriptor instead.

func (*ShowFeedRequest) GetOrderBy

func (x *ShowFeedRequest) GetOrderBy() string

func (*ShowFeedRequest) GetPageSize

func (x *ShowFeedRequest) GetPageSize() int32

func (*ShowFeedRequest) GetPageToken

func (x *ShowFeedRequest) GetPageToken() string

func (*ShowFeedRequest) GetParent

func (x *ShowFeedRequest) GetParent() string

func (*ShowFeedRequest) ProtoMessage

func (*ShowFeedRequest) ProtoMessage()

func (*ShowFeedRequest) ProtoReflect

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

func (*ShowFeedRequest) Reset

func (x *ShowFeedRequest) Reset()

func (*ShowFeedRequest) String

func (x *ShowFeedRequest) String() string

type ShowFeedResponse

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 deprecated

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

Deprecated: Use ShowFeedResponse.ProtoReflect.Descriptor instead.

func (*ShowFeedResponse) GetFeedItems

func (x *ShowFeedResponse) GetFeedItems() []*FeedItem

func (*ShowFeedResponse) GetNextPageToken

func (x *ShowFeedResponse) GetNextPageToken() string

func (*ShowFeedResponse) ProtoMessage

func (*ShowFeedResponse) ProtoMessage()

func (*ShowFeedResponse) ProtoReflect

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

func (*ShowFeedResponse) Reset

func (x *ShowFeedResponse) Reset()

func (*ShowFeedResponse) String

func (x *ShowFeedResponse) String() string

type TextContent

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 deprecated

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

Deprecated: Use TextContent.ProtoReflect.Descriptor instead.

func (*TextContent) GetPlainText

func (x *TextContent) GetPlainText() string

func (*TextContent) ProtoMessage

func (*TextContent) ProtoMessage()

func (*TextContent) ProtoReflect

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

func (*TextContent) Reset

func (x *TextContent) Reset()

func (*TextContent) String

func (x *TextContent) String() string

type UnimplementedCaseAttachmentServiceServer

type UnimplementedCaseAttachmentServiceServer struct {
}

UnimplementedCaseAttachmentServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedCaseAttachmentServiceServer) GetAttachment added in v1.4.0

func (UnimplementedCaseAttachmentServiceServer) ListAttachments

type UnimplementedCaseServiceServer

type UnimplementedCaseServiceServer struct {
}

UnimplementedCaseServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedCaseServiceServer) CloseCase

func (UnimplementedCaseServiceServer) CreateCase

func (UnimplementedCaseServiceServer) EscalateCase

func (UnimplementedCaseServiceServer) GetCase

func (UnimplementedCaseServiceServer) ListCases

func (UnimplementedCaseServiceServer) SearchCases

func (UnimplementedCaseServiceServer) UpdateCase

type UnimplementedCommentServiceServer

type UnimplementedCommentServiceServer struct {
}

UnimplementedCommentServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedCommentServiceServer) CreateComment

func (UnimplementedCommentServiceServer) GetComment added in v1.4.0

func (UnimplementedCommentServiceServer) ListComments

type UnimplementedFeedServiceServer

type UnimplementedFeedServiceServer struct {
}

UnimplementedFeedServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedFeedServiceServer) ShowFeed

type UnsafeCaseAttachmentServiceServer added in v1.4.1

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.

type UnsafeCaseServiceServer added in v1.4.1

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.

type UnsafeCommentServiceServer added in v1.4.1

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.

type UnsafeFeedServiceServer added in v1.4.1

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.

type 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 deprecated

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

Jump to

Keyboard shortcuts

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