common

package
v0.0.0-...-6cb3ea0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SupportAccount_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "ACTIVE",
		2: "PENDING",
		3: "PENDING_DELETION",
	}
	SupportAccount_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"ACTIVE":            1,
		"PENDING":           2,
		"PENDING_DELETION":  3,
	}
)

Enum value maps for SupportAccount_State.

View Source
var (
	SupportAccount_PricingModel_name = map[int32]string{
		0: "PRICING_MODEL_UNKNOWN",
		1: "PACKAGES",
		2: "USER_ROLES",
	}
	SupportAccount_PricingModel_value = map[string]int32{
		"PRICING_MODEL_UNKNOWN": 0,
		"PACKAGES":              1,
		"USER_ROLES":            2,
	}
)

Enum value maps for SupportAccount_PricingModel.

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 (
	Case_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "NEW",
		2: "ASSIGNED",
		3: "IN_PROGRESS_GOOGLE_SUPPORT",
		4: "IN_PROGRESS_GOOGLE_ENG",
		5: "IN_PROGRESS_KNOWN_ISSUE",
		6: "WAITING_FOR_CUSTOMER_RESPONSE",
		7: "SOLUTION_OFFERED",
		8: "CLOSED",
	}
	Case_State_value = map[string]int32{
		"STATE_UNSPECIFIED":             0,
		"NEW":                           1,
		"ASSIGNED":                      2,
		"IN_PROGRESS_GOOGLE_SUPPORT":    3,
		"IN_PROGRESS_GOOGLE_ENG":        4,
		"IN_PROGRESS_KNOWN_ISSUE":       5,
		"WAITING_FOR_CUSTOMER_RESPONSE": 6,
		"SOLUTION_OFFERED":              7,
		"CLOSED":                        8,
	}
)

Enum value maps for Case_State.

View Source
var (
	CustomerIssue_IssueState_name = map[int32]string{
		0: "ISSUE_STATE_UNSPECIFIED",
		1: "OPEN",
		2: "IN_PROGRESS",
		3: "FIXED",
		4: "WONT_FIX",
		5: "VERIFIED",
	}
	CustomerIssue_IssueState_value = map[string]int32{
		"ISSUE_STATE_UNSPECIFIED": 0,
		"OPEN":                    1,
		"IN_PROGRESS":             2,
		"FIXED":                   3,
		"WONT_FIX":                4,
		"VERIFIED":                5,
	}
)

Enum value maps for CustomerIssue_IssueState.

View Source
var (
	SupportRole_Role_name = map[int32]string{
		0: "ROLE_UNSPECIFIED",
		1: "BASIC",
		2: "DEVELOPER",
		3: "OPERATION",
		4: "SITE_RELIABILITY",
	}
	SupportRole_Role_value = map[string]int32{
		"ROLE_UNSPECIFIED": 0,
		"BASIC":            1,
		"DEVELOPER":        2,
		"OPERATION":        3,
		"SITE_RELIABILITY": 4,
	}
)

Enum value maps for SupportRole_Role.

View Source
var File_google_cloud_support_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Case

type Case struct {

	// The resource name for the Case in format
	// `supportAccounts/{account_id}/cases/{case_id}`
	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"`
	// The board description of issue provided with initial summary.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// The product component for which this Case is reported.
	Component string `protobuf:"bytes,4,opt,name=component,proto3" json:"component,omitempty"`
	// The product subcomponent for which this Case is reported.
	Subcomponent string `protobuf:"bytes,5,opt,name=subcomponent,proto3" json:"subcomponent,omitempty"`
	// Timezone the client sending this request is in.
	// It should be in a format IANA recognizes: https://www.iana.org/time-zone
	// There is no additional validation done by the API.
	ClientTimezone string `protobuf:"bytes,6,opt,name=client_timezone,json=clientTimezone,proto3" json:"client_timezone,omitempty"`
	// The email addresses that can be copied to receive updates on this case.
	// Users can specify a maximum of 10 email addresses.
	CcAddresses []string `protobuf:"bytes,7,rep,name=cc_addresses,json=ccAddresses,proto3" json:"cc_addresses,omitempty"`
	// The Google Cloud Platform project ID for which this case is created.
	ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// List of customer issues associated with this case.
	Issues []*CustomerIssue `protobuf:"bytes,10,rep,name=issues,proto3" json:"issues,omitempty"`
	// The current priority of this case.
	Priority Case_Priority `protobuf:"varint,11,opt,name=priority,proto3,enum=google.cloud.support.common.Case_Priority" json:"priority,omitempty"`
	// The current state of this case.
	State Case_State `protobuf:"varint,12,opt,name=state,proto3,enum=google.cloud.support.common.Case_State" json:"state,omitempty"`
	// Time when this case was created.
	// Output only.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Time when this case was last updated.
	// Output only.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Email address of user who created this case.
	// Output only. It is inferred from credentials supplied during case creation.
	CreatorEmail string `protobuf:"bytes,15,opt,name=creator_email,json=creatorEmail,proto3" json:"creator_email,omitempty"`
	// The issue category applicable to this case.
	Category string `protobuf:"bytes,16,opt,name=category,proto3" json:"category,omitempty"`
	// contains filtered or unexported fields
}

A support case created by the user.

func (*Case) Descriptor deprecated

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

Deprecated: Use Case.ProtoReflect.Descriptor instead.

func (*Case) GetCategory

func (x *Case) GetCategory() string

func (*Case) GetCcAddresses

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

func (*Case) GetClientTimezone

func (x *Case) GetClientTimezone() string

func (*Case) GetComponent

func (x *Case) GetComponent() string

func (*Case) GetCreateTime

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

func (*Case) GetCreatorEmail

func (x *Case) GetCreatorEmail() string

func (*Case) GetDescription

func (x *Case) GetDescription() string

func (*Case) GetDisplayName

func (x *Case) GetDisplayName() string

func (*Case) GetIssues

func (x *Case) GetIssues() []*CustomerIssue

func (*Case) GetName

func (x *Case) GetName() string

func (*Case) GetPriority

func (x *Case) GetPriority() Case_Priority

func (*Case) GetProjectId

func (x *Case) GetProjectId() string

func (*Case) GetState

func (x *Case) GetState() Case_State

func (*Case) GetSubcomponent

func (x *Case) GetSubcomponent() 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 Case_Priority

type Case_Priority int32

The case priority with P0 being the 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 state of a case.

const (
	// Case is in an unknown state.
	Case_STATE_UNSPECIFIED Case_State = 0
	// Case has been created but no one is assigned to work on it yet.
	Case_NEW Case_State = 1
	// Case has been assigned to a support agent.
	Case_ASSIGNED Case_State = 2
	// A support agent is currently investigating the case.
	Case_IN_PROGRESS_GOOGLE_SUPPORT Case_State = 3
	// Case has been forwarded to product team for further investigation.
	Case_IN_PROGRESS_GOOGLE_ENG Case_State = 4
	// Case is under investigation and relates to a known issue.
	Case_IN_PROGRESS_KNOWN_ISSUE Case_State = 5
	// Case is waiting for a response from the customer.
	Case_WAITING_FOR_CUSTOMER_RESPONSE Case_State = 6
	// A solution has been offered for the case but it isn't closed yet.
	Case_SOLUTION_OFFERED Case_State = 7
	// Cases has been fully resolved and is in a closed state.
	Case_CLOSED Case_State = 8
)

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 Comment

type Comment struct {

	// Text containing a maximum of 3000 characters.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// Time when this update was created.
	// Output only.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The email address/name of user who created this comment.
	// Output only.
	Author string `protobuf:"bytes,3,opt,name=author,proto3" json:"author,omitempty"`
	// The resource name for this comment in format
	// `supportAccounts/{account_id}/cases/{case_id}/{comment_id}`.
	// Output only.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The comment text associated with a `Case`.

func (*Comment) Descriptor deprecated

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

Deprecated: Use Comment.ProtoReflect.Descriptor instead.

func (*Comment) GetAuthor

func (x *Comment) GetAuthor() string

func (*Comment) GetCreateTime

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

func (*Comment) GetName

func (x *Comment) GetName() string

func (*Comment) GetText

func (x *Comment) GetText() string

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 CustomerIssue

type CustomerIssue struct {

	// Unique identifier for the internal issue.
	// Output only.
	IssueId string `protobuf:"bytes,1,opt,name=issue_id,json=issueId,proto3" json:"issue_id,omitempty"`
	// Represents current status of the internal ticket.
	// Output only.
	State CustomerIssue_IssueState `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.support.common.CustomerIssue_IssueState" json:"state,omitempty"`
	// Time when the internal issue was created.
	// Output only.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Time when the internal issue was marked as resolved.
	// Output only.
	ResolveTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=resolve_time,json=resolveTime,proto3" json:"resolve_time,omitempty"`
	// Time when the internal issue was last updated.
	// Output only.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

Reference to a Google internal ticket used for investigating a support case. Not every support case will have an internal ticket associated with it. A support case can have multiple tickets linked to it.

func (*CustomerIssue) Descriptor deprecated

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

Deprecated: Use CustomerIssue.ProtoReflect.Descriptor instead.

func (*CustomerIssue) GetCreateTime

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

func (*CustomerIssue) GetIssueId

func (x *CustomerIssue) GetIssueId() string

func (*CustomerIssue) GetResolveTime

func (x *CustomerIssue) GetResolveTime() *timestamppb.Timestamp

func (*CustomerIssue) GetState

func (*CustomerIssue) GetUpdateTime

func (x *CustomerIssue) GetUpdateTime() *timestamppb.Timestamp

func (*CustomerIssue) ProtoMessage

func (*CustomerIssue) ProtoMessage()

func (*CustomerIssue) ProtoReflect

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

func (*CustomerIssue) Reset

func (x *CustomerIssue) Reset()

func (*CustomerIssue) String

func (x *CustomerIssue) String() string

type CustomerIssue_IssueState

type CustomerIssue_IssueState int32

The status of a customer issue.

const (
	// Issue in an unknown state.
	CustomerIssue_ISSUE_STATE_UNSPECIFIED CustomerIssue_IssueState = 0
	// Issue is currently open but the work on it has not been started.
	CustomerIssue_OPEN CustomerIssue_IssueState = 1
	// Issue is currently being worked on.
	CustomerIssue_IN_PROGRESS CustomerIssue_IssueState = 2
	// Issue is fixed.
	CustomerIssue_FIXED CustomerIssue_IssueState = 3
	// Issue has been marked as invalid.
	CustomerIssue_WONT_FIX CustomerIssue_IssueState = 4
	// Issue verified and in production.
	CustomerIssue_VERIFIED CustomerIssue_IssueState = 5
)

func (CustomerIssue_IssueState) Descriptor

func (CustomerIssue_IssueState) Enum

func (CustomerIssue_IssueState) EnumDescriptor deprecated

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

Deprecated: Use CustomerIssue_IssueState.Descriptor instead.

func (CustomerIssue_IssueState) Number

func (CustomerIssue_IssueState) String

func (x CustomerIssue_IssueState) String() string

func (CustomerIssue_IssueState) Type

type IssueTaxonomy

type IssueTaxonomy struct {

	// Map of available categories.
	Categories map[string]*IssueTaxonomy_Category `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents the product component taxonomy that is to be used while creating or updating a `Case`. A client should obtain the list of issue categories, component/subcomponent from this object and specify it in `Case.category`, `Case.component` and `Case.subcomponent` fields respectively.

func (*IssueTaxonomy) Descriptor deprecated

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

Deprecated: Use IssueTaxonomy.ProtoReflect.Descriptor instead.

func (*IssueTaxonomy) GetCategories

func (x *IssueTaxonomy) GetCategories() map[string]*IssueTaxonomy_Category

func (*IssueTaxonomy) ProtoMessage

func (*IssueTaxonomy) ProtoMessage()

func (*IssueTaxonomy) ProtoReflect

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

func (*IssueTaxonomy) Reset

func (x *IssueTaxonomy) Reset()

func (*IssueTaxonomy) String

func (x *IssueTaxonomy) String() string

type IssueTaxonomy_Category

type IssueTaxonomy_Category struct {

	// User friendly name of this category.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Map of product components under this category.
	Components map[string]*IssueTaxonomy_Component `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents the category of issue (Technical or Non-Technical) reported through a support case.

func (*IssueTaxonomy_Category) Descriptor deprecated

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

Deprecated: Use IssueTaxonomy_Category.ProtoReflect.Descriptor instead.

func (*IssueTaxonomy_Category) GetComponents

func (x *IssueTaxonomy_Category) GetComponents() map[string]*IssueTaxonomy_Component

func (*IssueTaxonomy_Category) GetDisplayName

func (x *IssueTaxonomy_Category) GetDisplayName() string

func (*IssueTaxonomy_Category) ProtoMessage

func (*IssueTaxonomy_Category) ProtoMessage()

func (*IssueTaxonomy_Category) ProtoReflect

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

func (*IssueTaxonomy_Category) Reset

func (x *IssueTaxonomy_Category) Reset()

func (*IssueTaxonomy_Category) String

func (x *IssueTaxonomy_Category) String() string

type IssueTaxonomy_Component

type IssueTaxonomy_Component struct {

	// User friendly name of this component.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// List of languages in which a support case can be created under this
	// component. Represented by language codes in ISO_639-1 standard.
	Languages []string `protobuf:"bytes,2,rep,name=languages,proto3" json:"languages,omitempty"`
	// Template to be used while filling the description of a support case.
	Template string `protobuf:"bytes,3,opt,name=template,proto3" json:"template,omitempty"`
	// List of subcomponents under this component.
	Subcomponents []*IssueTaxonomy_Component `protobuf:"bytes,4,rep,name=subcomponents,proto3" json:"subcomponents,omitempty"`
	// contains filtered or unexported fields
}

The representation of a product component. It is composed of a canonical name for the product (e.g., Google App Engine), languages in which a support ticket can be created under this component, a template that provides hints on important details to be filled out before submitting a case. It also contains an embedded list of product subcomponents that have similar attributes as top-level components. (e.g., Google App Engine > Memcache).

func (*IssueTaxonomy_Component) Descriptor deprecated

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

Deprecated: Use IssueTaxonomy_Component.ProtoReflect.Descriptor instead.

func (*IssueTaxonomy_Component) GetDisplayName

func (x *IssueTaxonomy_Component) GetDisplayName() string

func (*IssueTaxonomy_Component) GetLanguages

func (x *IssueTaxonomy_Component) GetLanguages() []string

func (*IssueTaxonomy_Component) GetSubcomponents

func (x *IssueTaxonomy_Component) GetSubcomponents() []*IssueTaxonomy_Component

func (*IssueTaxonomy_Component) GetTemplate

func (x *IssueTaxonomy_Component) GetTemplate() string

func (*IssueTaxonomy_Component) ProtoMessage

func (*IssueTaxonomy_Component) ProtoMessage()

func (*IssueTaxonomy_Component) ProtoReflect

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

func (*IssueTaxonomy_Component) Reset

func (x *IssueTaxonomy_Component) Reset()

func (*IssueTaxonomy_Component) String

func (x *IssueTaxonomy_Component) String() string

type SupportAccount

type SupportAccount struct {

	// The resource name for a support account in format
	// `supportAccounts/{account_id}`.
	// Output only.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Identifier for this entity that gets persisted in storage system. The
	// resource name is populated using this field in format
	// `supportAccounts/{account_id}`.
	AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// The Cloud resource with which this support account is associated.
	CloudResource string `protobuf:"bytes,3,opt,name=cloud_resource,json=cloudResource,proto3" json:"cloud_resource,omitempty"`
	// A user friendly display name assigned to this support account.
	DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Indicates the current state of an account.
	State SupportAccount_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.support.common.SupportAccount_State" json:"state,omitempty"`
	// Time when this account was created.
	// Output only.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The resource name of a billing account associated with this support
	// account. For example, `billingAccounts/ABCDEF-012345-567890`.
	BillingAccountName string `protobuf:"bytes,7,opt,name=billing_account_name,json=billingAccountName,proto3" json:"billing_account_name,omitempty"`
	UnifyAccountId     string `protobuf:"bytes,8,opt,name=unify_account_id,json=unifyAccountId,proto3" json:"unify_account_id,omitempty"`
	// The PricingModel applicable to this support account.
	PricingModel SupportAccount_PricingModel `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

A Google Cloud Platform account that identifies support eligibility for a Cloud resource. Currently the Cloud resource can only be an Organization but this might change in future.

func (*SupportAccount) Descriptor deprecated

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

Deprecated: Use SupportAccount.ProtoReflect.Descriptor instead.

func (*SupportAccount) GetAccountId

func (x *SupportAccount) GetAccountId() string

func (*SupportAccount) GetBillingAccountName

func (x *SupportAccount) GetBillingAccountName() string

func (*SupportAccount) GetCloudResource

func (x *SupportAccount) GetCloudResource() string

func (*SupportAccount) GetCreateTime

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

func (*SupportAccount) GetDisplayName

func (x *SupportAccount) GetDisplayName() string

func (*SupportAccount) GetName

func (x *SupportAccount) GetName() string

func (*SupportAccount) GetPricingModel

func (x *SupportAccount) GetPricingModel() SupportAccount_PricingModel

func (*SupportAccount) GetState

func (x *SupportAccount) GetState() SupportAccount_State

func (*SupportAccount) GetUnifyAccountId

func (x *SupportAccount) GetUnifyAccountId() string

func (*SupportAccount) ProtoMessage

func (*SupportAccount) ProtoMessage()

func (*SupportAccount) ProtoReflect

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

func (*SupportAccount) Reset

func (x *SupportAccount) Reset()

func (*SupportAccount) String

func (x *SupportAccount) String() string

type SupportAccount_PricingModel

type SupportAccount_PricingModel int32

Pricing model applicable to this support account.

const (
	// This account is subscribed to an unknown pricing model.
	SupportAccount_PRICING_MODEL_UNKNOWN SupportAccount_PricingModel = 0
	// Package based pricing (Platinum, Gold, Silver, Bronze).
	SupportAccount_PACKAGES SupportAccount_PricingModel = 1
	// Support charges are calculated based on user seats a.k.a,
	// "Pick Your Team" model.
	SupportAccount_USER_ROLES SupportAccount_PricingModel = 2
)

func (SupportAccount_PricingModel) Descriptor

func (SupportAccount_PricingModel) Enum

func (SupportAccount_PricingModel) EnumDescriptor deprecated

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

Deprecated: Use SupportAccount_PricingModel.Descriptor instead.

func (SupportAccount_PricingModel) Number

func (SupportAccount_PricingModel) String

func (SupportAccount_PricingModel) Type

type SupportAccount_State

type SupportAccount_State int32

The current state of this SupportAccount.

const (
	// Account is in an unknown state.
	SupportAccount_STATE_UNSPECIFIED SupportAccount_State = 0
	// Account is in an active state.
	SupportAccount_ACTIVE SupportAccount_State = 1
	// Account has been created but is being provisioned in support systems.
	SupportAccount_PENDING SupportAccount_State = 2
	// Account deletion has been requested by the user.
	SupportAccount_PENDING_DELETION SupportAccount_State = 3
)

func (SupportAccount_State) Descriptor

func (SupportAccount_State) Enum

func (SupportAccount_State) EnumDescriptor deprecated

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

Deprecated: Use SupportAccount_State.Descriptor instead.

func (SupportAccount_State) Number

func (SupportAccount_State) String

func (x SupportAccount_State) String() string

func (SupportAccount_State) Type

type SupportRole

type SupportRole struct {

	// Email address of user being added through this Role.
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// The type of role assigned to user.
	Role SupportRole_Role `protobuf:"varint,2,opt,name=role,proto3,enum=google.cloud.support.common.SupportRole_Role" json:"role,omitempty"`
	// contains filtered or unexported fields
}

A message that contains mapping of a user and their role under a support account.

func (*SupportRole) Descriptor deprecated

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

Deprecated: Use SupportRole.ProtoReflect.Descriptor instead.

func (*SupportRole) GetEmail

func (x *SupportRole) GetEmail() string

func (*SupportRole) GetRole

func (x *SupportRole) GetRole() SupportRole_Role

func (*SupportRole) ProtoMessage

func (*SupportRole) ProtoMessage()

func (*SupportRole) ProtoReflect

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

func (*SupportRole) Reset

func (x *SupportRole) Reset()

func (*SupportRole) String

func (x *SupportRole) String() string

type SupportRole_Role

type SupportRole_Role int32

A role which determines the support resources and features a user might get access to.

const (
	// An unknown role.
	SupportRole_ROLE_UNSPECIFIED SupportRole_Role = 0
	// The basic support role.
	SupportRole_BASIC SupportRole_Role = 1
	// The developer role.
	SupportRole_DEVELOPER SupportRole_Role = 2
	// The operation role.
	SupportRole_OPERATION SupportRole_Role = 3
	// The site reliability role.
	SupportRole_SITE_RELIABILITY SupportRole_Role = 4
)

func (SupportRole_Role) Descriptor

func (SupportRole_Role) Enum

func (SupportRole_Role) EnumDescriptor deprecated

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

Deprecated: Use SupportRole_Role.Descriptor instead.

func (SupportRole_Role) Number

func (SupportRole_Role) String

func (x SupportRole_Role) String() string

func (SupportRole_Role) Type

Jump to

Keyboard shortcuts

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