Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAggregateProductStatusesServiceServer(s grpc.ServiceRegistrar, srv AggregateProductStatusesServiceServer)
- func RegisterIssueResolutionServiceServer(s grpc.ServiceRegistrar, srv IssueResolutionServiceServer)
- type Action
- func (*Action) Descriptor() ([]byte, []int)deprecated
- func (x *Action) GetAction() isAction_Action
- func (x *Action) GetBuiltinSimpleAction() *BuiltInSimpleAction
- func (x *Action) GetBuiltinUserInputAction() *BuiltInUserInputAction
- func (x *Action) GetButtonLabel() string
- func (x *Action) GetExternalAction() *ExternalAction
- func (x *Action) GetIsAvailable() bool
- func (x *Action) GetReasons() []*Action_Reason
- func (*Action) ProtoMessage()
- func (x *Action) ProtoReflect() protoreflect.Message
- func (x *Action) Reset()
- func (x *Action) String() string
- type ActionFlow
- func (*ActionFlow) Descriptor() ([]byte, []int)deprecated
- func (x *ActionFlow) GetDialogButtonLabel() string
- func (x *ActionFlow) GetDialogCallout() *Callout
- func (x *ActionFlow) GetDialogMessage() *TextWithTooltip
- func (x *ActionFlow) GetDialogTitle() string
- func (x *ActionFlow) GetId() string
- func (x *ActionFlow) GetInputs() []*InputField
- func (x *ActionFlow) GetLabel() string
- func (*ActionFlow) ProtoMessage()
- func (x *ActionFlow) ProtoReflect() protoreflect.Message
- func (x *ActionFlow) Reset()
- func (x *ActionFlow) String() string
- type ActionInput
- func (*ActionInput) Descriptor() ([]byte, []int)deprecated
- func (x *ActionInput) GetActionFlowId() string
- func (x *ActionInput) GetInputValues() []*InputValue
- func (*ActionInput) ProtoMessage()
- func (x *ActionInput) ProtoReflect() protoreflect.Message
- func (x *ActionInput) Reset()
- func (x *ActionInput) String() string
- type Action_BuiltinSimpleAction
- type Action_BuiltinUserInputAction
- type Action_ExternalAction
- type Action_Reason
- func (*Action_Reason) Descriptor() ([]byte, []int)deprecated
- func (x *Action_Reason) GetAction() *Action
- func (x *Action_Reason) GetDetail() string
- func (x *Action_Reason) GetMessage() string
- func (*Action_Reason) ProtoMessage()
- func (x *Action_Reason) ProtoReflect() protoreflect.Message
- func (x *Action_Reason) Reset()
- func (x *Action_Reason) String() string
- type AggregateProductStatus
- func (*AggregateProductStatus) Descriptor() ([]byte, []int)deprecated
- func (x *AggregateProductStatus) GetCountry() string
- func (x *AggregateProductStatus) GetItemLevelIssues() []*AggregateProductStatus_ItemLevelIssue
- func (x *AggregateProductStatus) GetName() string
- func (x *AggregateProductStatus) GetReportingContext() typepb.ReportingContext_ReportingContextEnum
- func (x *AggregateProductStatus) GetStats() *AggregateProductStatus_Stats
- func (*AggregateProductStatus) ProtoMessage()
- func (x *AggregateProductStatus) ProtoReflect() protoreflect.Message
- func (x *AggregateProductStatus) Reset()
- func (x *AggregateProductStatus) String() string
- type AggregateProductStatus_ItemLevelIssue
- func (*AggregateProductStatus_ItemLevelIssue) Descriptor() ([]byte, []int)deprecated
- func (x *AggregateProductStatus_ItemLevelIssue) GetAttribute() string
- func (x *AggregateProductStatus_ItemLevelIssue) GetCode() string
- func (x *AggregateProductStatus_ItemLevelIssue) GetDescription() string
- func (x *AggregateProductStatus_ItemLevelIssue) GetDetail() string
- func (x *AggregateProductStatus_ItemLevelIssue) GetDocumentationUri() string
- func (x *AggregateProductStatus_ItemLevelIssue) GetProductCount() int64
- func (x *AggregateProductStatus_ItemLevelIssue) GetResolution() AggregateProductStatus_ItemLevelIssue_Resolution
- func (x *AggregateProductStatus_ItemLevelIssue) GetSeverity() AggregateProductStatus_ItemLevelIssue_Severity
- func (*AggregateProductStatus_ItemLevelIssue) ProtoMessage()
- func (x *AggregateProductStatus_ItemLevelIssue) ProtoReflect() protoreflect.Message
- func (x *AggregateProductStatus_ItemLevelIssue) Reset()
- func (x *AggregateProductStatus_ItemLevelIssue) String() string
- type AggregateProductStatus_ItemLevelIssue_Resolution
- func (AggregateProductStatus_ItemLevelIssue_Resolution) Descriptor() protoreflect.EnumDescriptor
- func (x AggregateProductStatus_ItemLevelIssue_Resolution) Enum() *AggregateProductStatus_ItemLevelIssue_Resolution
- func (AggregateProductStatus_ItemLevelIssue_Resolution) EnumDescriptor() ([]byte, []int)deprecated
- func (x AggregateProductStatus_ItemLevelIssue_Resolution) Number() protoreflect.EnumNumber
- func (x AggregateProductStatus_ItemLevelIssue_Resolution) String() string
- func (AggregateProductStatus_ItemLevelIssue_Resolution) Type() protoreflect.EnumType
- type AggregateProductStatus_ItemLevelIssue_Severity
- func (AggregateProductStatus_ItemLevelIssue_Severity) Descriptor() protoreflect.EnumDescriptor
- func (x AggregateProductStatus_ItemLevelIssue_Severity) Enum() *AggregateProductStatus_ItemLevelIssue_Severity
- func (AggregateProductStatus_ItemLevelIssue_Severity) EnumDescriptor() ([]byte, []int)deprecated
- func (x AggregateProductStatus_ItemLevelIssue_Severity) Number() protoreflect.EnumNumber
- func (x AggregateProductStatus_ItemLevelIssue_Severity) String() string
- func (AggregateProductStatus_ItemLevelIssue_Severity) Type() protoreflect.EnumType
- type AggregateProductStatus_Stats
- func (*AggregateProductStatus_Stats) Descriptor() ([]byte, []int)deprecated
- func (x *AggregateProductStatus_Stats) GetActiveCount() int64
- func (x *AggregateProductStatus_Stats) GetDisapprovedCount() int64
- func (x *AggregateProductStatus_Stats) GetExpiringCount() int64
- func (x *AggregateProductStatus_Stats) GetPendingCount() int64
- func (*AggregateProductStatus_Stats) ProtoMessage()
- func (x *AggregateProductStatus_Stats) ProtoReflect() protoreflect.Message
- func (x *AggregateProductStatus_Stats) Reset()
- func (x *AggregateProductStatus_Stats) String() string
- type AggregateProductStatusesServiceClient
- type AggregateProductStatusesServiceServer
- type Breakdown
- func (*Breakdown) Descriptor() ([]byte, []int)deprecated
- func (x *Breakdown) GetDetails() []string
- func (x *Breakdown) GetRegions() []*Breakdown_Region
- func (*Breakdown) ProtoMessage()
- func (x *Breakdown) ProtoReflect() protoreflect.Message
- func (x *Breakdown) Reset()
- func (x *Breakdown) String() string
- type Breakdown_Region
- func (*Breakdown_Region) Descriptor() ([]byte, []int)deprecated
- func (x *Breakdown_Region) GetCode() string
- func (x *Breakdown_Region) GetName() string
- func (*Breakdown_Region) ProtoMessage()
- func (x *Breakdown_Region) ProtoReflect() protoreflect.Message
- func (x *Breakdown_Region) Reset()
- func (x *Breakdown_Region) String() string
- type BuiltInSimpleAction
- func (*BuiltInSimpleAction) Descriptor() ([]byte, []int)deprecated
- func (x *BuiltInSimpleAction) GetAdditionalContent() *BuiltInSimpleAction_AdditionalContent
- func (x *BuiltInSimpleAction) GetAttributeCode() string
- func (x *BuiltInSimpleAction) GetType() BuiltInSimpleAction_BuiltInSimpleActionType
- func (*BuiltInSimpleAction) ProtoMessage()
- func (x *BuiltInSimpleAction) ProtoReflect() protoreflect.Message
- func (x *BuiltInSimpleAction) Reset()
- func (x *BuiltInSimpleAction) String() string
- type BuiltInSimpleAction_AdditionalContent
- func (*BuiltInSimpleAction_AdditionalContent) Descriptor() ([]byte, []int)deprecated
- func (x *BuiltInSimpleAction_AdditionalContent) GetParagraphs() []string
- func (x *BuiltInSimpleAction_AdditionalContent) GetTitle() string
- func (*BuiltInSimpleAction_AdditionalContent) ProtoMessage()
- func (x *BuiltInSimpleAction_AdditionalContent) ProtoReflect() protoreflect.Message
- func (x *BuiltInSimpleAction_AdditionalContent) Reset()
- func (x *BuiltInSimpleAction_AdditionalContent) String() string
- type BuiltInSimpleAction_BuiltInSimpleActionType
- func (BuiltInSimpleAction_BuiltInSimpleActionType) Descriptor() protoreflect.EnumDescriptor
- func (x BuiltInSimpleAction_BuiltInSimpleActionType) Enum() *BuiltInSimpleAction_BuiltInSimpleActionType
- func (BuiltInSimpleAction_BuiltInSimpleActionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x BuiltInSimpleAction_BuiltInSimpleActionType) Number() protoreflect.EnumNumber
- func (x BuiltInSimpleAction_BuiltInSimpleActionType) String() string
- func (BuiltInSimpleAction_BuiltInSimpleActionType) Type() protoreflect.EnumType
- type BuiltInUserInputAction
- func (*BuiltInUserInputAction) Descriptor() ([]byte, []int)deprecated
- func (x *BuiltInUserInputAction) GetActionContext() string
- func (x *BuiltInUserInputAction) GetFlows() []*ActionFlow
- func (*BuiltInUserInputAction) ProtoMessage()
- func (x *BuiltInUserInputAction) ProtoReflect() protoreflect.Message
- func (x *BuiltInUserInputAction) Reset()
- func (x *BuiltInUserInputAction) String() string
- type Callout
- func (*Callout) Descriptor() ([]byte, []int)deprecated
- func (x *Callout) GetFullMessage() *TextWithTooltip
- func (x *Callout) GetStyleHint() Callout_CalloutStyleHint
- func (*Callout) ProtoMessage()
- func (x *Callout) ProtoReflect() protoreflect.Message
- func (x *Callout) Reset()
- func (x *Callout) String() string
- type Callout_CalloutStyleHint
- func (Callout_CalloutStyleHint) Descriptor() protoreflect.EnumDescriptor
- func (x Callout_CalloutStyleHint) Enum() *Callout_CalloutStyleHint
- func (Callout_CalloutStyleHint) EnumDescriptor() ([]byte, []int)deprecated
- func (x Callout_CalloutStyleHint) Number() protoreflect.EnumNumber
- func (x Callout_CalloutStyleHint) String() string
- func (Callout_CalloutStyleHint) Type() protoreflect.EnumType
- type ContentOption
- func (ContentOption) Descriptor() protoreflect.EnumDescriptor
- func (x ContentOption) Enum() *ContentOption
- func (ContentOption) EnumDescriptor() ([]byte, []int)deprecated
- func (x ContentOption) Number() protoreflect.EnumNumber
- func (x ContentOption) String() string
- func (ContentOption) Type() protoreflect.EnumType
- type ExternalAction
- func (*ExternalAction) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalAction) GetType() ExternalAction_ExternalActionType
- func (x *ExternalAction) GetUri() string
- func (*ExternalAction) ProtoMessage()
- func (x *ExternalAction) ProtoReflect() protoreflect.Message
- func (x *ExternalAction) Reset()
- func (x *ExternalAction) String() string
- type ExternalAction_ExternalActionType
- func (ExternalAction_ExternalActionType) Descriptor() protoreflect.EnumDescriptor
- func (x ExternalAction_ExternalActionType) Enum() *ExternalAction_ExternalActionType
- func (ExternalAction_ExternalActionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExternalAction_ExternalActionType) Number() protoreflect.EnumNumber
- func (x ExternalAction_ExternalActionType) String() string
- func (ExternalAction_ExternalActionType) Type() protoreflect.EnumType
- type Impact
- func (*Impact) Descriptor() ([]byte, []int)deprecated
- func (x *Impact) GetBreakdowns() []*Breakdown
- func (x *Impact) GetMessage() string
- func (x *Impact) GetSeverity() Severity
- func (*Impact) ProtoMessage()
- func (x *Impact) ProtoReflect() protoreflect.Message
- func (x *Impact) Reset()
- func (x *Impact) String() string
- type InputField
- func (*InputField) Descriptor() ([]byte, []int)deprecated
- func (x *InputField) GetCheckboxInput() *InputField_CheckboxInput
- func (x *InputField) GetChoiceInput() *InputField_ChoiceInput
- func (x *InputField) GetId() string
- func (x *InputField) GetLabel() *TextWithTooltip
- func (x *InputField) GetRequired() bool
- func (x *InputField) GetTextInput() *InputField_TextInput
- func (x *InputField) GetValueInput() isInputField_ValueInput
- func (*InputField) ProtoMessage()
- func (x *InputField) ProtoReflect() protoreflect.Message
- func (x *InputField) Reset()
- func (x *InputField) String() string
- type InputField_CheckboxInput
- type InputField_CheckboxInput_
- type InputField_ChoiceInput
- func (*InputField_ChoiceInput) Descriptor() ([]byte, []int)deprecated
- func (x *InputField_ChoiceInput) GetOptions() []*InputField_ChoiceInput_ChoiceInputOption
- func (*InputField_ChoiceInput) ProtoMessage()
- func (x *InputField_ChoiceInput) ProtoReflect() protoreflect.Message
- func (x *InputField_ChoiceInput) Reset()
- func (x *InputField_ChoiceInput) String() string
- type InputField_ChoiceInput_
- type InputField_ChoiceInput_ChoiceInputOption
- func (*InputField_ChoiceInput_ChoiceInputOption) Descriptor() ([]byte, []int)deprecated
- func (x *InputField_ChoiceInput_ChoiceInputOption) GetAdditionalInput() *InputField
- func (x *InputField_ChoiceInput_ChoiceInputOption) GetId() string
- func (x *InputField_ChoiceInput_ChoiceInputOption) GetLabel() *TextWithTooltip
- func (*InputField_ChoiceInput_ChoiceInputOption) ProtoMessage()
- func (x *InputField_ChoiceInput_ChoiceInputOption) ProtoReflect() protoreflect.Message
- func (x *InputField_ChoiceInput_ChoiceInputOption) Reset()
- func (x *InputField_ChoiceInput_ChoiceInputOption) String() string
- type InputField_TextInput
- func (*InputField_TextInput) Descriptor() ([]byte, []int)deprecated
- func (x *InputField_TextInput) GetAdditionalInfo() *TextWithTooltip
- func (x *InputField_TextInput) GetAriaLabel() string
- func (x *InputField_TextInput) GetFormatInfo() string
- func (x *InputField_TextInput) GetType() InputField_TextInput_TextInputType
- func (*InputField_TextInput) ProtoMessage()
- func (x *InputField_TextInput) ProtoReflect() protoreflect.Message
- func (x *InputField_TextInput) Reset()
- func (x *InputField_TextInput) String() string
- type InputField_TextInput_
- type InputField_TextInput_TextInputType
- func (InputField_TextInput_TextInputType) Descriptor() protoreflect.EnumDescriptor
- func (x InputField_TextInput_TextInputType) Enum() *InputField_TextInput_TextInputType
- func (InputField_TextInput_TextInputType) EnumDescriptor() ([]byte, []int)deprecated
- func (x InputField_TextInput_TextInputType) Number() protoreflect.EnumNumber
- func (x InputField_TextInput_TextInputType) String() string
- func (InputField_TextInput_TextInputType) Type() protoreflect.EnumType
- type InputValue
- func (*InputValue) Descriptor() ([]byte, []int)deprecated
- func (x *InputValue) GetCheckboxInputValue() *InputValue_CheckboxInputValue
- func (x *InputValue) GetChoiceInputValue() *InputValue_ChoiceInputValue
- func (x *InputValue) GetInputFieldId() string
- func (x *InputValue) GetTextInputValue() *InputValue_TextInputValue
- func (x *InputValue) GetValue() isInputValue_Value
- func (*InputValue) ProtoMessage()
- func (x *InputValue) ProtoReflect() protoreflect.Message
- func (x *InputValue) Reset()
- func (x *InputValue) String() string
- type InputValue_CheckboxInputValue
- func (*InputValue_CheckboxInputValue) Descriptor() ([]byte, []int)deprecated
- func (x *InputValue_CheckboxInputValue) GetValue() bool
- func (*InputValue_CheckboxInputValue) ProtoMessage()
- func (x *InputValue_CheckboxInputValue) ProtoReflect() protoreflect.Message
- func (x *InputValue_CheckboxInputValue) Reset()
- func (x *InputValue_CheckboxInputValue) String() string
- type InputValue_CheckboxInputValue_
- type InputValue_ChoiceInputValue
- func (*InputValue_ChoiceInputValue) Descriptor() ([]byte, []int)deprecated
- func (x *InputValue_ChoiceInputValue) GetChoiceInputOptionId() string
- func (*InputValue_ChoiceInputValue) ProtoMessage()
- func (x *InputValue_ChoiceInputValue) ProtoReflect() protoreflect.Message
- func (x *InputValue_ChoiceInputValue) Reset()
- func (x *InputValue_ChoiceInputValue) String() string
- type InputValue_ChoiceInputValue_
- type InputValue_TextInputValue
- func (*InputValue_TextInputValue) Descriptor() ([]byte, []int)deprecated
- func (x *InputValue_TextInputValue) GetValue() string
- func (*InputValue_TextInputValue) ProtoMessage()
- func (x *InputValue_TextInputValue) ProtoReflect() protoreflect.Message
- func (x *InputValue_TextInputValue) Reset()
- func (x *InputValue_TextInputValue) String() string
- type InputValue_TextInputValue_
- type IssueResolutionServiceClient
- type IssueResolutionServiceServer
- type ListAggregateProductStatusesRequest
- func (*ListAggregateProductStatusesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAggregateProductStatusesRequest) GetFilter() string
- func (x *ListAggregateProductStatusesRequest) GetPageSize() int32
- func (x *ListAggregateProductStatusesRequest) GetPageToken() string
- func (x *ListAggregateProductStatusesRequest) GetParent() string
- func (*ListAggregateProductStatusesRequest) ProtoMessage()
- func (x *ListAggregateProductStatusesRequest) ProtoReflect() protoreflect.Message
- func (x *ListAggregateProductStatusesRequest) Reset()
- func (x *ListAggregateProductStatusesRequest) String() string
- type ListAggregateProductStatusesResponse
- func (*ListAggregateProductStatusesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAggregateProductStatusesResponse) GetAggregateProductStatuses() []*AggregateProductStatus
- func (x *ListAggregateProductStatusesResponse) GetNextPageToken() string
- func (*ListAggregateProductStatusesResponse) ProtoMessage()
- func (x *ListAggregateProductStatusesResponse) ProtoReflect() protoreflect.Message
- func (x *ListAggregateProductStatusesResponse) Reset()
- func (x *ListAggregateProductStatusesResponse) String() string
- type RenderAccountIssuesRequest
- func (*RenderAccountIssuesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RenderAccountIssuesRequest) GetLanguageCode() string
- func (x *RenderAccountIssuesRequest) GetName() string
- func (x *RenderAccountIssuesRequest) GetPayload() *RenderIssuesRequestPayload
- func (x *RenderAccountIssuesRequest) GetTimeZone() string
- func (*RenderAccountIssuesRequest) ProtoMessage()
- func (x *RenderAccountIssuesRequest) ProtoReflect() protoreflect.Message
- func (x *RenderAccountIssuesRequest) Reset()
- func (x *RenderAccountIssuesRequest) String() string
- type RenderAccountIssuesResponse
- func (*RenderAccountIssuesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RenderAccountIssuesResponse) GetRenderedIssues() []*RenderedIssue
- func (*RenderAccountIssuesResponse) ProtoMessage()
- func (x *RenderAccountIssuesResponse) ProtoReflect() protoreflect.Message
- func (x *RenderAccountIssuesResponse) Reset()
- func (x *RenderAccountIssuesResponse) String() string
- type RenderIssuesRequestPayload
- func (*RenderIssuesRequestPayload) Descriptor() ([]byte, []int)deprecated
- func (x *RenderIssuesRequestPayload) GetContentOption() ContentOption
- func (x *RenderIssuesRequestPayload) GetUserInputActionOption() UserInputActionRenderingOption
- func (*RenderIssuesRequestPayload) ProtoMessage()
- func (x *RenderIssuesRequestPayload) ProtoReflect() protoreflect.Message
- func (x *RenderIssuesRequestPayload) Reset()
- func (x *RenderIssuesRequestPayload) String() string
- type RenderProductIssuesRequest
- func (*RenderProductIssuesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RenderProductIssuesRequest) GetLanguageCode() string
- func (x *RenderProductIssuesRequest) GetName() string
- func (x *RenderProductIssuesRequest) GetPayload() *RenderIssuesRequestPayload
- func (x *RenderProductIssuesRequest) GetTimeZone() string
- func (*RenderProductIssuesRequest) ProtoMessage()
- func (x *RenderProductIssuesRequest) ProtoReflect() protoreflect.Message
- func (x *RenderProductIssuesRequest) Reset()
- func (x *RenderProductIssuesRequest) String() string
- type RenderProductIssuesResponse
- func (*RenderProductIssuesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RenderProductIssuesResponse) GetRenderedIssues() []*RenderedIssue
- func (*RenderProductIssuesResponse) ProtoMessage()
- func (x *RenderProductIssuesResponse) ProtoReflect() protoreflect.Message
- func (x *RenderProductIssuesResponse) Reset()
- func (x *RenderProductIssuesResponse) String() string
- type RenderedIssue
- func (*RenderedIssue) Descriptor() ([]byte, []int)deprecated
- func (x *RenderedIssue) GetActions() []*Action
- func (x *RenderedIssue) GetContent() isRenderedIssue_Content
- func (x *RenderedIssue) GetImpact() *Impact
- func (x *RenderedIssue) GetOutOfCourtDisputeSettlement() isRenderedIssue_OutOfCourtDisputeSettlement
- func (x *RenderedIssue) GetPrerenderedContent() string
- func (x *RenderedIssue) GetPrerenderedOutOfCourtDisputeSettlement() string
- func (x *RenderedIssue) GetTitle() string
- func (*RenderedIssue) ProtoMessage()
- func (x *RenderedIssue) ProtoReflect() protoreflect.Message
- func (x *RenderedIssue) Reset()
- func (x *RenderedIssue) String() string
- type RenderedIssue_PrerenderedContent
- type RenderedIssue_PrerenderedOutOfCourtDisputeSettlement
- type Severity
- type TextWithTooltip
- func (*TextWithTooltip) Descriptor() ([]byte, []int)deprecated
- func (x *TextWithTooltip) GetSimpleTooltipValue() string
- func (x *TextWithTooltip) GetSimpleValue() string
- func (x *TextWithTooltip) GetTooltipIconStyle() TextWithTooltip_TooltipIconStyle
- func (x *TextWithTooltip) GetTooltipValue() isTextWithTooltip_TooltipValue
- func (x *TextWithTooltip) GetValue() isTextWithTooltip_Value
- func (*TextWithTooltip) ProtoMessage()
- func (x *TextWithTooltip) ProtoReflect() protoreflect.Message
- func (x *TextWithTooltip) Reset()
- func (x *TextWithTooltip) String() string
- type TextWithTooltip_SimpleTooltipValue
- type TextWithTooltip_SimpleValue
- type TextWithTooltip_TooltipIconStyle
- func (TextWithTooltip_TooltipIconStyle) Descriptor() protoreflect.EnumDescriptor
- func (x TextWithTooltip_TooltipIconStyle) Enum() *TextWithTooltip_TooltipIconStyle
- func (TextWithTooltip_TooltipIconStyle) EnumDescriptor() ([]byte, []int)deprecated
- func (x TextWithTooltip_TooltipIconStyle) Number() protoreflect.EnumNumber
- func (x TextWithTooltip_TooltipIconStyle) String() string
- func (TextWithTooltip_TooltipIconStyle) Type() protoreflect.EnumType
- type TriggerActionPayload
- func (*TriggerActionPayload) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerActionPayload) GetActionContext() string
- func (x *TriggerActionPayload) GetActionInput() *ActionInput
- func (*TriggerActionPayload) ProtoMessage()
- func (x *TriggerActionPayload) ProtoReflect() protoreflect.Message
- func (x *TriggerActionPayload) Reset()
- func (x *TriggerActionPayload) String() string
- type TriggerActionRequest
- func (*TriggerActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerActionRequest) GetLanguageCode() string
- func (x *TriggerActionRequest) GetName() string
- func (x *TriggerActionRequest) GetPayload() *TriggerActionPayload
- func (*TriggerActionRequest) ProtoMessage()
- func (x *TriggerActionRequest) ProtoReflect() protoreflect.Message
- func (x *TriggerActionRequest) Reset()
- func (x *TriggerActionRequest) String() string
- type TriggerActionResponse
- func (*TriggerActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerActionResponse) GetMessage() string
- func (*TriggerActionResponse) ProtoMessage()
- func (x *TriggerActionResponse) ProtoReflect() protoreflect.Message
- func (x *TriggerActionResponse) Reset()
- func (x *TriggerActionResponse) String() string
- type UnimplementedAggregateProductStatusesServiceServer
- type UnimplementedIssueResolutionServiceServer
- func (UnimplementedIssueResolutionServiceServer) RenderAccountIssues(context.Context, *RenderAccountIssuesRequest) (*RenderAccountIssuesResponse, error)
- func (UnimplementedIssueResolutionServiceServer) RenderProductIssues(context.Context, *RenderProductIssuesRequest) (*RenderProductIssuesResponse, error)
- func (UnimplementedIssueResolutionServiceServer) TriggerAction(context.Context, *TriggerActionRequest) (*TriggerActionResponse, error)
- type UnsafeAggregateProductStatusesServiceServer
- type UnsafeIssueResolutionServiceServer
- type UserInputActionRenderingOption
- func (UserInputActionRenderingOption) Descriptor() protoreflect.EnumDescriptor
- func (x UserInputActionRenderingOption) Enum() *UserInputActionRenderingOption
- func (UserInputActionRenderingOption) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserInputActionRenderingOption) Number() protoreflect.EnumNumber
- func (x UserInputActionRenderingOption) String() string
- func (UserInputActionRenderingOption) Type() protoreflect.EnumType
Constants ¶
const ( IssueResolutionService_RenderAccountIssues_FullMethodName = "/google.shopping.merchant.issueresolution.v1beta.IssueResolutionService/RenderAccountIssues" IssueResolutionService_RenderProductIssues_FullMethodName = "/google.shopping.merchant.issueresolution.v1beta.IssueResolutionService/RenderProductIssues" IssueResolutionService_TriggerAction_FullMethodName = "/google.shopping.merchant.issueresolution.v1beta.IssueResolutionService/TriggerAction" )
const (
AggregateProductStatusesService_ListAggregateProductStatuses_FullMethodName = "/google.shopping.merchant.issueresolution.v1beta.AggregateProductStatusesService/ListAggregateProductStatuses"
)
Variables ¶
var ( AggregateProductStatus_ItemLevelIssue_Severity_name = map[int32]string{ 0: "SEVERITY_UNSPECIFIED", 1: "NOT_IMPACTED", 2: "DEMOTED", 3: "DISAPPROVED", } AggregateProductStatus_ItemLevelIssue_Severity_value = map[string]int32{ "SEVERITY_UNSPECIFIED": 0, "NOT_IMPACTED": 1, "DEMOTED": 2, "DISAPPROVED": 3, } )
Enum value maps for AggregateProductStatus_ItemLevelIssue_Severity.
var ( AggregateProductStatus_ItemLevelIssue_Resolution_name = map[int32]string{ 0: "RESOLUTION_UNSPECIFIED", 1: "MERCHANT_ACTION", 2: "PENDING_PROCESSING", } AggregateProductStatus_ItemLevelIssue_Resolution_value = map[string]int32{ "RESOLUTION_UNSPECIFIED": 0, "MERCHANT_ACTION": 1, "PENDING_PROCESSING": 2, } )
Enum value maps for AggregateProductStatus_ItemLevelIssue_Resolution.
var ( Severity_name = map[int32]string{ 0: "SEVERITY_UNSPECIFIED", 1: "ERROR", 2: "WARNING", 3: "INFO", } Severity_value = map[string]int32{ "SEVERITY_UNSPECIFIED": 0, "ERROR": 1, "WARNING": 2, "INFO": 3, } )
Enum value maps for Severity.
var ( ContentOption_name = map[int32]string{ 0: "CONTENT_OPTION_UNSPECIFIED", 1: "PRE_RENDERED_HTML", } ContentOption_value = map[string]int32{ "CONTENT_OPTION_UNSPECIFIED": 0, "PRE_RENDERED_HTML": 1, } )
Enum value maps for ContentOption.
var ( UserInputActionRenderingOption_name = map[int32]string{ 0: "USER_INPUT_ACTION_RENDERING_OPTION_UNSPECIFIED", 1: "REDIRECT_TO_MERCHANT_CENTER", 2: "BUILT_IN_USER_INPUT_ACTIONS", } UserInputActionRenderingOption_value = map[string]int32{ "USER_INPUT_ACTION_RENDERING_OPTION_UNSPECIFIED": 0, "REDIRECT_TO_MERCHANT_CENTER": 1, "BUILT_IN_USER_INPUT_ACTIONS": 2, } )
Enum value maps for UserInputActionRenderingOption.
var ( BuiltInSimpleAction_BuiltInSimpleActionType_name = map[int32]string{ 0: "BUILT_IN_SIMPLE_ACTION_TYPE_UNSPECIFIED", 1: "VERIFY_PHONE", 2: "CLAIM_WEBSITE", 3: "ADD_PRODUCTS", 4: "ADD_CONTACT_INFO", 5: "LINK_ADS_ACCOUNT", 6: "ADD_BUSINESS_REGISTRATION_NUMBER", 7: "EDIT_ITEM_ATTRIBUTE", 8: "FIX_ACCOUNT_ISSUE", 9: "SHOW_ADDITIONAL_CONTENT", } BuiltInSimpleAction_BuiltInSimpleActionType_value = map[string]int32{ "BUILT_IN_SIMPLE_ACTION_TYPE_UNSPECIFIED": 0, "VERIFY_PHONE": 1, "CLAIM_WEBSITE": 2, "ADD_PRODUCTS": 3, "ADD_CONTACT_INFO": 4, "LINK_ADS_ACCOUNT": 5, "ADD_BUSINESS_REGISTRATION_NUMBER": 6, "EDIT_ITEM_ATTRIBUTE": 7, "FIX_ACCOUNT_ISSUE": 8, "SHOW_ADDITIONAL_CONTENT": 9, } )
Enum value maps for BuiltInSimpleAction_BuiltInSimpleActionType.
var ( InputField_TextInput_TextInputType_name = map[int32]string{ 0: "TEXT_INPUT_TYPE_UNSPECIFIED", 1: "GENERIC_SHORT_TEXT", 2: "GENERIC_LONG_TEXT", } InputField_TextInput_TextInputType_value = map[string]int32{ "TEXT_INPUT_TYPE_UNSPECIFIED": 0, "GENERIC_SHORT_TEXT": 1, "GENERIC_LONG_TEXT": 2, } )
Enum value maps for InputField_TextInput_TextInputType.
var ( TextWithTooltip_TooltipIconStyle_name = map[int32]string{ 0: "TOOLTIP_ICON_STYLE_UNSPECIFIED", 1: "INFO", 2: "QUESTION", } TextWithTooltip_TooltipIconStyle_value = map[string]int32{ "TOOLTIP_ICON_STYLE_UNSPECIFIED": 0, "INFO": 1, "QUESTION": 2, } )
Enum value maps for TextWithTooltip_TooltipIconStyle.
var ( Callout_CalloutStyleHint_name = map[int32]string{ 0: "CALLOUT_STYLE_HINT_UNSPECIFIED", 1: "ERROR", 2: "WARNING", 3: "INFO", } Callout_CalloutStyleHint_value = map[string]int32{ "CALLOUT_STYLE_HINT_UNSPECIFIED": 0, "ERROR": 1, "WARNING": 2, "INFO": 3, } )
Enum value maps for Callout_CalloutStyleHint.
var ( ExternalAction_ExternalActionType_name = map[int32]string{ 0: "EXTERNAL_ACTION_TYPE_UNSPECIFIED", 1: "REVIEW_PRODUCT_ISSUE_IN_MERCHANT_CENTER", 2: "REVIEW_ACCOUNT_ISSUE_IN_MERCHANT_CENTER", 3: "LEGAL_APPEAL_IN_HELP_CENTER", 4: "VERIFY_IDENTITY_IN_MERCHANT_CENTER", } ExternalAction_ExternalActionType_value = map[string]int32{ "EXTERNAL_ACTION_TYPE_UNSPECIFIED": 0, "REVIEW_PRODUCT_ISSUE_IN_MERCHANT_CENTER": 1, "REVIEW_ACCOUNT_ISSUE_IN_MERCHANT_CENTER": 2, "LEGAL_APPEAL_IN_HELP_CENTER": 3, "VERIFY_IDENTITY_IN_MERCHANT_CENTER": 4, } )
Enum value maps for ExternalAction_ExternalActionType.
var AggregateProductStatusesService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "google.shopping.merchant.issueresolution.v1beta.AggregateProductStatusesService", HandlerType: (*AggregateProductStatusesServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListAggregateProductStatuses", Handler: _AggregateProductStatusesService_ListAggregateProductStatuses_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "google/shopping/merchant/issueresolution/v1beta/aggregateproductstatuses.proto", }
AggregateProductStatusesService_ServiceDesc is the grpc.ServiceDesc for AggregateProductStatusesService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_google_shopping_merchant_issueresolution_v1beta_aggregateproductstatuses_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_issueresolution_v1beta_issueresolution_proto protoreflect.FileDescriptor
var IssueResolutionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "google.shopping.merchant.issueresolution.v1beta.IssueResolutionService", HandlerType: (*IssueResolutionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RenderAccountIssues", Handler: _IssueResolutionService_RenderAccountIssues_Handler, }, { MethodName: "RenderProductIssues", Handler: _IssueResolutionService_RenderProductIssues_Handler, }, { MethodName: "TriggerAction", Handler: _IssueResolutionService_TriggerAction_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "google/shopping/merchant/issueresolution/v1beta/issueresolution.proto", }
IssueResolutionService_ServiceDesc is the grpc.ServiceDesc for IssueResolutionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAggregateProductStatusesServiceServer ¶ added in v0.22.0
func RegisterAggregateProductStatusesServiceServer(s grpc.ServiceRegistrar, srv AggregateProductStatusesServiceServer)
func RegisterIssueResolutionServiceServer ¶
func RegisterIssueResolutionServiceServer(s grpc.ServiceRegistrar, srv IssueResolutionServiceServer)
Types ¶
type Action ¶
type Action struct {
// An actionable step that can be executed to solve the issue.
//
// Types that are valid to be assigned to Action:
//
// *Action_BuiltinSimpleAction
// *Action_ExternalAction
// *Action_BuiltinUserInputAction
Action isAction_Action `protobuf_oneof:"action"`
// Label of the action button.
ButtonLabel string `protobuf:"bytes,4,opt,name=button_label,json=buttonLabel,proto3" json:"button_label,omitempty"`
// Controlling whether the button is active or disabled. The value is 'false'
// when the action was already requested or is not available. If the action is
// not available then a
// [reason][google.shopping.merchant.issueresolution.v1beta.Action.reasons]
// will be present. If (your) third-party application shows a disabled button
// for action that is not available, then it should also show reasons.
IsAvailable bool `protobuf:"varint,5,opt,name=is_available,json=isAvailable,proto3" json:"is_available,omitempty"`
// List of reasons why the action is not available. The list of reasons is
// empty if the action is available. If there is only one reason, it can be
// displayed next to the disabled button. If there are more reasons, all of
// them should be displayed, for example in a pop-up dialog.
Reasons []*Action_Reason `protobuf:"bytes,6,rep,name=reasons,proto3" json:"reasons,omitempty"`
// contains filtered or unexported fields
}
An actionable step that can be executed to solve the issue.
func (*Action) Descriptor
deprecated
func (*Action) GetBuiltinSimpleAction ¶
func (x *Action) GetBuiltinSimpleAction() *BuiltInSimpleAction
func (*Action) GetBuiltinUserInputAction ¶
func (x *Action) GetBuiltinUserInputAction() *BuiltInUserInputAction
func (*Action) GetButtonLabel ¶
func (*Action) GetExternalAction ¶
func (x *Action) GetExternalAction() *ExternalAction
func (*Action) GetIsAvailable ¶
func (*Action) GetReasons ¶
func (x *Action) GetReasons() []*Action_Reason
func (*Action) ProtoMessage ¶
func (*Action) ProtoMessage()
func (*Action) ProtoReflect ¶
func (x *Action) ProtoReflect() protoreflect.Message
type ActionFlow ¶
type ActionFlow struct {
// Not for display but need to be sent back for the selected action flow.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Text value describing the intent for the action flow. It can be used as an
// input label if business needs to pick one of multiple flows. For example:
// "I disagree with the issue"
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
// A list of input fields.
Inputs []*InputField `protobuf:"bytes,3,rep,name=inputs,proto3" json:"inputs,omitempty"`
// Title of the request dialog. For example: "Before you request a review"
DialogTitle string `protobuf:"bytes,4,opt,name=dialog_title,json=dialogTitle,proto3" json:"dialog_title,omitempty"`
// Message displayed in the request dialog. For example: "Make sure you've
// fixed all your country-specific issues. If not, you may have to wait 7 days
// to request another review". There may be an more information to be shown in
// a tooltip.
DialogMessage *TextWithTooltip `protobuf:"bytes,7,opt,name=dialog_message,json=dialogMessage,proto3,oneof" json:"dialog_message,omitempty"`
// Important message to be highlighted in the request dialog. For example:
// "You can only request a review for disagreeing with this issue once. If
// it's not approved, you'll need to fix the issue and wait a few days before
// you can request another review."
DialogCallout *Callout `protobuf:"bytes,8,opt,name=dialog_callout,json=dialogCallout,proto3,oneof" json:"dialog_callout,omitempty"`
// Label for the button to trigger the action from the action dialog. For
// example: "Request review"
DialogButtonLabel string `protobuf:"bytes,9,opt,name=dialog_button_label,json=dialogButtonLabel,proto3" json:"dialog_button_label,omitempty"`
// contains filtered or unexported fields
}
Flow that can be selected for an action. When a business selects a flow, application should open a dialog with more information and input form.
func (*ActionFlow) Descriptor
deprecated
func (*ActionFlow) Descriptor() ([]byte, []int)
Deprecated: Use ActionFlow.ProtoReflect.Descriptor instead.
func (*ActionFlow) GetDialogButtonLabel ¶
func (x *ActionFlow) GetDialogButtonLabel() string
func (*ActionFlow) GetDialogCallout ¶
func (x *ActionFlow) GetDialogCallout() *Callout
func (*ActionFlow) GetDialogMessage ¶
func (x *ActionFlow) GetDialogMessage() *TextWithTooltip
func (*ActionFlow) GetDialogTitle ¶
func (x *ActionFlow) GetDialogTitle() string
func (*ActionFlow) GetId ¶
func (x *ActionFlow) GetId() string
func (*ActionFlow) GetInputs ¶
func (x *ActionFlow) GetInputs() []*InputField
func (*ActionFlow) GetLabel ¶
func (x *ActionFlow) GetLabel() string
func (*ActionFlow) ProtoMessage ¶
func (*ActionFlow) ProtoMessage()
func (*ActionFlow) ProtoReflect ¶
func (x *ActionFlow) ProtoReflect() protoreflect.Message
func (*ActionFlow) Reset ¶
func (x *ActionFlow) Reset()
func (*ActionFlow) String ¶
func (x *ActionFlow) String() string
type ActionInput ¶
type ActionInput struct {
// Required.
// [Id][google.shopping.merchant.issueresolution.v1beta.ActionFlow.id] of the
// selected action flow.
ActionFlowId string `protobuf:"bytes,1,opt,name=action_flow_id,json=actionFlowId,proto3" json:"action_flow_id,omitempty"`
// Required. Values for input fields.
InputValues []*InputValue `protobuf:"bytes,2,rep,name=input_values,json=inputValues,proto3" json:"input_values,omitempty"`
// contains filtered or unexported fields
}
Input provided by the business.
func (*ActionInput) Descriptor
deprecated
func (*ActionInput) Descriptor() ([]byte, []int)
Deprecated: Use ActionInput.ProtoReflect.Descriptor instead.
func (*ActionInput) GetActionFlowId ¶
func (x *ActionInput) GetActionFlowId() string
func (*ActionInput) GetInputValues ¶
func (x *ActionInput) GetInputValues() []*InputValue
func (*ActionInput) ProtoMessage ¶
func (*ActionInput) ProtoMessage()
func (*ActionInput) ProtoReflect ¶
func (x *ActionInput) ProtoReflect() protoreflect.Message
func (*ActionInput) Reset ¶
func (x *ActionInput) Reset()
func (*ActionInput) String ¶
func (x *ActionInput) String() string
type Action_BuiltinSimpleAction ¶
type Action_BuiltinSimpleAction struct {
// Action implemented and performed in (your) third-party application. The
// application should point the business to the place, where they can access
// the corresponding functionality or provide instructions, if the specific
// functionality is not available.
BuiltinSimpleAction *BuiltInSimpleAction `protobuf:"bytes,2,opt,name=builtin_simple_action,json=builtinSimpleAction,proto3,oneof"`
}
type Action_BuiltinUserInputAction ¶
type Action_BuiltinUserInputAction struct {
// Action implemented and performed in (your) third-party application.
// The application needs to show an additional content and input form to the
// business as specified for given action. They can trigger the action only
// when they provided all required inputs.
BuiltinUserInputAction *BuiltInUserInputAction `protobuf:"bytes,7,opt,name=builtin_user_input_action,json=builtinUserInputAction,proto3,oneof"`
}
type Action_ExternalAction ¶
type Action_ExternalAction struct {
// Action that is implemented and performed outside of (your) third-party
// application. The application needs to redirect the business to the
// external location where they can perform the action.
ExternalAction *ExternalAction `protobuf:"bytes,3,opt,name=external_action,json=externalAction,proto3,oneof"`
}
type Action_Reason ¶
type Action_Reason struct {
// Messages summarizing the reason, why the action is not available.
// For example: "Review requested on Jan 03. Review requests can take a few
// days to complete."
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// Detailed explanation of the reason. Should be displayed as a hint if
// present.
Detail *string `protobuf:"bytes,2,opt,name=detail,proto3,oneof" json:"detail,omitempty"`
// Optional. An action that needs to be performed to solve the problem
// represented by this reason. This action will always be available. Should
// be rendered as a link or button next to the summarizing message.
//
// For example, the review may be available only once the business configure
// all required attributes. In such a situation this action can be a link to
// the form, where they can fill the missing attribute to unblock the main
// action.
Action *Action `protobuf:"bytes,3,opt,name=action,proto3,oneof" json:"action,omitempty"`
// contains filtered or unexported fields
}
A single reason why the action is not available.
func (*Action_Reason) Descriptor
deprecated
func (*Action_Reason) Descriptor() ([]byte, []int)
Deprecated: Use Action_Reason.ProtoReflect.Descriptor instead.
func (*Action_Reason) GetAction ¶
func (x *Action_Reason) GetAction() *Action
func (*Action_Reason) GetDetail ¶
func (x *Action_Reason) GetDetail() string
func (*Action_Reason) GetMessage ¶
func (x *Action_Reason) GetMessage() string
func (*Action_Reason) ProtoMessage ¶
func (*Action_Reason) ProtoMessage()
func (*Action_Reason) ProtoReflect ¶
func (x *Action_Reason) ProtoReflect() protoreflect.Message
func (*Action_Reason) Reset ¶
func (x *Action_Reason) Reset()
func (*Action_Reason) String ¶
func (x *Action_Reason) String() string
type AggregateProductStatus ¶ added in v0.22.0
type AggregateProductStatus struct {
// Identifier. The name of the `AggregateProductStatuses` resource.
// Format:
// `accounts/{account}/aggregateProductStatuses/{aggregateProductStatuses}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The reporting context of the aggregate product statuses.
ReportingContext typepb.ReportingContext_ReportingContextEnum `` /* 174-byte string literal not displayed */
// The country of the aggregate product statuses. Represented as a
// [CLDR territory
// code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml).
Country string `protobuf:"bytes,4,opt,name=country,proto3" json:"country,omitempty"`
// Products statistics for the given reporting context and country.
Stats *AggregateProductStatus_Stats `protobuf:"bytes,5,opt,name=stats,proto3" json:"stats,omitempty"`
// The product issues that affect the given reporting context and country.
ItemLevelIssues []*AggregateProductStatus_ItemLevelIssue `protobuf:"bytes,6,rep,name=item_level_issues,json=itemLevelIssues,proto3" json:"item_level_issues,omitempty"`
// contains filtered or unexported fields
}
Aggregate product statuses for a given reporting context and country.
func (*AggregateProductStatus) Descriptor
deprecated
added in
v0.22.0
func (*AggregateProductStatus) Descriptor() ([]byte, []int)
Deprecated: Use AggregateProductStatus.ProtoReflect.Descriptor instead.
func (*AggregateProductStatus) GetCountry ¶ added in v0.22.0
func (x *AggregateProductStatus) GetCountry() string
func (*AggregateProductStatus) GetItemLevelIssues ¶ added in v0.22.0
func (x *AggregateProductStatus) GetItemLevelIssues() []*AggregateProductStatus_ItemLevelIssue
func (*AggregateProductStatus) GetName ¶ added in v0.22.0
func (x *AggregateProductStatus) GetName() string
func (*AggregateProductStatus) GetReportingContext ¶ added in v0.22.0
func (x *AggregateProductStatus) GetReportingContext() typepb.ReportingContext_ReportingContextEnum
func (*AggregateProductStatus) GetStats ¶ added in v0.22.0
func (x *AggregateProductStatus) GetStats() *AggregateProductStatus_Stats
func (*AggregateProductStatus) ProtoMessage ¶ added in v0.22.0
func (*AggregateProductStatus) ProtoMessage()
func (*AggregateProductStatus) ProtoReflect ¶ added in v0.22.0
func (x *AggregateProductStatus) ProtoReflect() protoreflect.Message
func (*AggregateProductStatus) Reset ¶ added in v0.22.0
func (x *AggregateProductStatus) Reset()
func (*AggregateProductStatus) String ¶ added in v0.22.0
func (x *AggregateProductStatus) String() string
type AggregateProductStatus_ItemLevelIssue ¶ added in v0.22.0
type AggregateProductStatus_ItemLevelIssue struct {
// The error code of the issue.
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
// How this issue affects serving of the offer.
Severity AggregateProductStatus_ItemLevelIssue_Severity `` /* 170-byte string literal not displayed */
// Whether the issue can be resolved by the merchant.
Resolution AggregateProductStatus_ItemLevelIssue_Resolution `` /* 176-byte string literal not displayed */
// The attribute's name, if the issue is caused by a single attribute.
Attribute string `protobuf:"bytes,4,opt,name=attribute,proto3" json:"attribute,omitempty"`
// A short issue description in English.
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
// A detailed issue description in English.
Detail string `protobuf:"bytes,7,opt,name=detail,proto3" json:"detail,omitempty"`
// The URL of a web page to help with resolving this issue.
DocumentationUri string `protobuf:"bytes,8,opt,name=documentation_uri,json=documentationUri,proto3" json:"documentation_uri,omitempty"`
// The number of products affected by this issue.
ProductCount int64 `protobuf:"varint,9,opt,name=product_count,json=productCount,proto3" json:"product_count,omitempty"`
// contains filtered or unexported fields
}
The ItemLevelIssue of the product status.
func (*AggregateProductStatus_ItemLevelIssue) Descriptor
deprecated
added in
v0.22.0
func (*AggregateProductStatus_ItemLevelIssue) Descriptor() ([]byte, []int)
Deprecated: Use AggregateProductStatus_ItemLevelIssue.ProtoReflect.Descriptor instead.
func (*AggregateProductStatus_ItemLevelIssue) GetAttribute ¶ added in v0.22.0
func (x *AggregateProductStatus_ItemLevelIssue) GetAttribute() string
func (*AggregateProductStatus_ItemLevelIssue) GetCode ¶ added in v0.22.0
func (x *AggregateProductStatus_ItemLevelIssue) GetCode() string
func (*AggregateProductStatus_ItemLevelIssue) GetDescription ¶ added in v0.22.0
func (x *AggregateProductStatus_ItemLevelIssue) GetDescription() string
func (*AggregateProductStatus_ItemLevelIssue) GetDetail ¶ added in v0.22.0
func (x *AggregateProductStatus_ItemLevelIssue) GetDetail() string
func (*AggregateProductStatus_ItemLevelIssue) GetDocumentationUri ¶ added in v0.22.0
func (x *AggregateProductStatus_ItemLevelIssue) GetDocumentationUri() string
func (*AggregateProductStatus_ItemLevelIssue) GetProductCount ¶ added in v0.22.0
func (x *AggregateProductStatus_ItemLevelIssue) GetProductCount() int64
func (*AggregateProductStatus_ItemLevelIssue) GetResolution ¶ added in v0.22.0
func (x *AggregateProductStatus_ItemLevelIssue) GetResolution() AggregateProductStatus_ItemLevelIssue_Resolution
func (*AggregateProductStatus_ItemLevelIssue) GetSeverity ¶ added in v0.22.0
func (x *AggregateProductStatus_ItemLevelIssue) GetSeverity() AggregateProductStatus_ItemLevelIssue_Severity
func (*AggregateProductStatus_ItemLevelIssue) ProtoMessage ¶ added in v0.22.0
func (*AggregateProductStatus_ItemLevelIssue) ProtoMessage()
func (*AggregateProductStatus_ItemLevelIssue) ProtoReflect ¶ added in v0.22.0
func (x *AggregateProductStatus_ItemLevelIssue) ProtoReflect() protoreflect.Message
func (*AggregateProductStatus_ItemLevelIssue) Reset ¶ added in v0.22.0
func (x *AggregateProductStatus_ItemLevelIssue) Reset()
func (*AggregateProductStatus_ItemLevelIssue) String ¶ added in v0.22.0
func (x *AggregateProductStatus_ItemLevelIssue) String() string
type AggregateProductStatus_ItemLevelIssue_Resolution ¶ added in v0.22.0
type AggregateProductStatus_ItemLevelIssue_Resolution int32
How the issue can be resolved.
const ( // Not specified. AggregateProductStatus_ItemLevelIssue_RESOLUTION_UNSPECIFIED AggregateProductStatus_ItemLevelIssue_Resolution = 0 // The issue can be resolved by the merchant. AggregateProductStatus_ItemLevelIssue_MERCHANT_ACTION AggregateProductStatus_ItemLevelIssue_Resolution = 1 // The issue will be resolved auomatically. AggregateProductStatus_ItemLevelIssue_PENDING_PROCESSING AggregateProductStatus_ItemLevelIssue_Resolution = 2 )
func (AggregateProductStatus_ItemLevelIssue_Resolution) Descriptor ¶ added in v0.22.0
func (AggregateProductStatus_ItemLevelIssue_Resolution) Descriptor() protoreflect.EnumDescriptor
func (AggregateProductStatus_ItemLevelIssue_Resolution) EnumDescriptor
deprecated
added in
v0.22.0
func (AggregateProductStatus_ItemLevelIssue_Resolution) EnumDescriptor() ([]byte, []int)
Deprecated: Use AggregateProductStatus_ItemLevelIssue_Resolution.Descriptor instead.
func (AggregateProductStatus_ItemLevelIssue_Resolution) Number ¶ added in v0.22.0
func (x AggregateProductStatus_ItemLevelIssue_Resolution) Number() protoreflect.EnumNumber
func (AggregateProductStatus_ItemLevelIssue_Resolution) String ¶ added in v0.22.0
func (x AggregateProductStatus_ItemLevelIssue_Resolution) String() string
type AggregateProductStatus_ItemLevelIssue_Severity ¶ added in v0.22.0
type AggregateProductStatus_ItemLevelIssue_Severity int32
How the issue affects the serving of the product.
const ( // Not specified. AggregateProductStatus_ItemLevelIssue_SEVERITY_UNSPECIFIED AggregateProductStatus_ItemLevelIssue_Severity = 0 // This issue represents a warning and does not have a direct affect // on the product. AggregateProductStatus_ItemLevelIssue_NOT_IMPACTED AggregateProductStatus_ItemLevelIssue_Severity = 1 // The product is demoted and most likely have limited performance // in search results AggregateProductStatus_ItemLevelIssue_DEMOTED AggregateProductStatus_ItemLevelIssue_Severity = 2 // Issue disapproves the product. AggregateProductStatus_ItemLevelIssue_DISAPPROVED AggregateProductStatus_ItemLevelIssue_Severity = 3 )
func (AggregateProductStatus_ItemLevelIssue_Severity) Descriptor ¶ added in v0.22.0
func (AggregateProductStatus_ItemLevelIssue_Severity) Descriptor() protoreflect.EnumDescriptor
func (AggregateProductStatus_ItemLevelIssue_Severity) EnumDescriptor
deprecated
added in
v0.22.0
func (AggregateProductStatus_ItemLevelIssue_Severity) EnumDescriptor() ([]byte, []int)
Deprecated: Use AggregateProductStatus_ItemLevelIssue_Severity.Descriptor instead.
func (AggregateProductStatus_ItemLevelIssue_Severity) Number ¶ added in v0.22.0
func (x AggregateProductStatus_ItemLevelIssue_Severity) Number() protoreflect.EnumNumber
func (AggregateProductStatus_ItemLevelIssue_Severity) String ¶ added in v0.22.0
func (x AggregateProductStatus_ItemLevelIssue_Severity) String() string
type AggregateProductStatus_Stats ¶ added in v0.22.0
type AggregateProductStatus_Stats struct {
// The number of products that are active.
ActiveCount int64 `protobuf:"varint,1,opt,name=active_count,json=activeCount,proto3" json:"active_count,omitempty"`
// The number of products that are pending.
PendingCount int64 `protobuf:"varint,2,opt,name=pending_count,json=pendingCount,proto3" json:"pending_count,omitempty"`
// The number of products that are disapproved.
DisapprovedCount int64 `protobuf:"varint,3,opt,name=disapproved_count,json=disapprovedCount,proto3" json:"disapproved_count,omitempty"`
// The number of products that are expiring.
ExpiringCount int64 `protobuf:"varint,4,opt,name=expiring_count,json=expiringCount,proto3" json:"expiring_count,omitempty"`
// contains filtered or unexported fields
}
Products statistics.
func (*AggregateProductStatus_Stats) Descriptor
deprecated
added in
v0.22.0
func (*AggregateProductStatus_Stats) Descriptor() ([]byte, []int)
Deprecated: Use AggregateProductStatus_Stats.ProtoReflect.Descriptor instead.
func (*AggregateProductStatus_Stats) GetActiveCount ¶ added in v0.22.0
func (x *AggregateProductStatus_Stats) GetActiveCount() int64
func (*AggregateProductStatus_Stats) GetDisapprovedCount ¶ added in v0.22.0
func (x *AggregateProductStatus_Stats) GetDisapprovedCount() int64
func (*AggregateProductStatus_Stats) GetExpiringCount ¶ added in v0.22.0
func (x *AggregateProductStatus_Stats) GetExpiringCount() int64
func (*AggregateProductStatus_Stats) GetPendingCount ¶ added in v0.22.0
func (x *AggregateProductStatus_Stats) GetPendingCount() int64
func (*AggregateProductStatus_Stats) ProtoMessage ¶ added in v0.22.0
func (*AggregateProductStatus_Stats) ProtoMessage()
func (*AggregateProductStatus_Stats) ProtoReflect ¶ added in v0.22.0
func (x *AggregateProductStatus_Stats) ProtoReflect() protoreflect.Message
func (*AggregateProductStatus_Stats) Reset ¶ added in v0.22.0
func (x *AggregateProductStatus_Stats) Reset()
func (*AggregateProductStatus_Stats) String ¶ added in v0.22.0
func (x *AggregateProductStatus_Stats) String() string
type AggregateProductStatusesServiceClient ¶ added in v0.22.0
type AggregateProductStatusesServiceClient interface {
// Lists the `AggregateProductStatuses` resources for your merchant account.
// The response might contain fewer items than specified by `pageSize`.
// If `pageToken` was returned in previous request, it can be used to obtain
// additional results.
ListAggregateProductStatuses(ctx context.Context, in *ListAggregateProductStatusesRequest, opts ...grpc.CallOption) (*ListAggregateProductStatusesResponse, error)
}
AggregateProductStatusesServiceClient is the client API for AggregateProductStatusesService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAggregateProductStatusesServiceClient ¶ added in v0.22.0
func NewAggregateProductStatusesServiceClient(cc grpc.ClientConnInterface) AggregateProductStatusesServiceClient
type AggregateProductStatusesServiceServer ¶ added in v0.22.0
type AggregateProductStatusesServiceServer interface {
// Lists the `AggregateProductStatuses` resources for your merchant account.
// The response might contain fewer items than specified by `pageSize`.
// If `pageToken` was returned in previous request, it can be used to obtain
// additional results.
ListAggregateProductStatuses(context.Context, *ListAggregateProductStatusesRequest) (*ListAggregateProductStatusesResponse, error)
}
AggregateProductStatusesServiceServer is the server API for AggregateProductStatusesService service. All implementations should embed UnimplementedAggregateProductStatusesServiceServer for forward compatibility
type Breakdown ¶
type Breakdown struct {
// Lists of regions. Should be rendered as a title for this group of details.
// The full list should be shown to the business. If the list is too long, it
// is recommended to make it expandable.
Regions []*Breakdown_Region `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"`
// Human readable, localized description of issue's effect on different
// targets. Should be rendered as a list.
//
// For example:
//
// * "Products not showing in ads"
// * "Products not showing organically"
Details []string `protobuf:"bytes,4,rep,name=details,proto3" json:"details,omitempty"`
// contains filtered or unexported fields
}
A detailed impact breakdown for a group of regions where the impact of the issue on different shopping destinations is the same.
func (*Breakdown) Descriptor
deprecated
func (*Breakdown) GetDetails ¶
func (*Breakdown) GetRegions ¶
func (x *Breakdown) GetRegions() []*Breakdown_Region
func (*Breakdown) ProtoMessage ¶
func (*Breakdown) ProtoMessage()
func (*Breakdown) ProtoReflect ¶
func (x *Breakdown) ProtoReflect() protoreflect.Message
type Breakdown_Region ¶
type Breakdown_Region struct {
// The [CLDR territory code]
// (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
// The localized name of the region.
// For region with code='001' the value is 'All countries' or the equivalent
// in other languages.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Region with code and localized name.
func (*Breakdown_Region) Descriptor
deprecated
func (*Breakdown_Region) Descriptor() ([]byte, []int)
Deprecated: Use Breakdown_Region.ProtoReflect.Descriptor instead.
func (*Breakdown_Region) GetCode ¶
func (x *Breakdown_Region) GetCode() string
func (*Breakdown_Region) GetName ¶
func (x *Breakdown_Region) GetName() string
func (*Breakdown_Region) ProtoMessage ¶
func (*Breakdown_Region) ProtoMessage()
func (*Breakdown_Region) ProtoReflect ¶
func (x *Breakdown_Region) ProtoReflect() protoreflect.Message
func (*Breakdown_Region) Reset ¶
func (x *Breakdown_Region) Reset()
func (*Breakdown_Region) String ¶
func (x *Breakdown_Region) String() string
type BuiltInSimpleAction ¶
type BuiltInSimpleAction struct {
// The type of action that represents a functionality that is expected to be
// available in third-party application.
Type BuiltInSimpleAction_BuiltInSimpleActionType `` /* 159-byte string literal not displayed */
// The attribute that needs to be updated. Present when the
// [type][google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.type]
// is `EDIT_ITEM_ATTRIBUTE`.
//
// This field contains a code for attribute, represented in snake_case. You
// can find a list of product's attributes, with their codes
// [here](https://support.google.com/merchants/answer/7052112).
AttributeCode *string `protobuf:"bytes,2,opt,name=attribute_code,json=attributeCode,proto3,oneof" json:"attribute_code,omitempty"`
// Long text from an external source that should be available to the business.
// Present when the
// [type][google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.type]
// is `SHOW_ADDITIONAL_CONTENT`.
AdditionalContent *BuiltInSimpleAction_AdditionalContent `protobuf:"bytes,3,opt,name=additional_content,json=additionalContent,proto3,oneof" json:"additional_content,omitempty"`
// contains filtered or unexported fields
}
Action that is implemented and performed in (your) third-party application. Represents various functionality that is expected to be available to business and will help them with resolving the issue. The application should point the business to the place, where they can access the corresponding functionality. If the functionality is not supported, it is recommended to explain the situation to the business and provide them with instructions how to solve the issue.
func (*BuiltInSimpleAction) Descriptor
deprecated
func (*BuiltInSimpleAction) Descriptor() ([]byte, []int)
Deprecated: Use BuiltInSimpleAction.ProtoReflect.Descriptor instead.
func (*BuiltInSimpleAction) GetAdditionalContent ¶
func (x *BuiltInSimpleAction) GetAdditionalContent() *BuiltInSimpleAction_AdditionalContent
func (*BuiltInSimpleAction) GetAttributeCode ¶
func (x *BuiltInSimpleAction) GetAttributeCode() string
func (*BuiltInSimpleAction) GetType ¶
func (x *BuiltInSimpleAction) GetType() BuiltInSimpleAction_BuiltInSimpleActionType
func (*BuiltInSimpleAction) ProtoMessage ¶
func (*BuiltInSimpleAction) ProtoMessage()
func (*BuiltInSimpleAction) ProtoReflect ¶
func (x *BuiltInSimpleAction) ProtoReflect() protoreflect.Message
func (*BuiltInSimpleAction) Reset ¶
func (x *BuiltInSimpleAction) Reset()
func (*BuiltInSimpleAction) String ¶
func (x *BuiltInSimpleAction) String() string
type BuiltInSimpleAction_AdditionalContent ¶
type BuiltInSimpleAction_AdditionalContent struct {
// Title of the additional content;
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
// Long text organized into paragraphs.
Paragraphs []string `protobuf:"bytes,2,rep,name=paragraphs,proto3" json:"paragraphs,omitempty"`
// contains filtered or unexported fields
}
Long text from external source.
func (*BuiltInSimpleAction_AdditionalContent) Descriptor
deprecated
func (*BuiltInSimpleAction_AdditionalContent) Descriptor() ([]byte, []int)
Deprecated: Use BuiltInSimpleAction_AdditionalContent.ProtoReflect.Descriptor instead.
func (*BuiltInSimpleAction_AdditionalContent) GetParagraphs ¶
func (x *BuiltInSimpleAction_AdditionalContent) GetParagraphs() []string
func (*BuiltInSimpleAction_AdditionalContent) GetTitle ¶
func (x *BuiltInSimpleAction_AdditionalContent) GetTitle() string
func (*BuiltInSimpleAction_AdditionalContent) ProtoMessage ¶
func (*BuiltInSimpleAction_AdditionalContent) ProtoMessage()
func (*BuiltInSimpleAction_AdditionalContent) ProtoReflect ¶
func (x *BuiltInSimpleAction_AdditionalContent) ProtoReflect() protoreflect.Message
func (*BuiltInSimpleAction_AdditionalContent) Reset ¶
func (x *BuiltInSimpleAction_AdditionalContent) Reset()
func (*BuiltInSimpleAction_AdditionalContent) String ¶
func (x *BuiltInSimpleAction_AdditionalContent) String() string
type BuiltInSimpleAction_BuiltInSimpleActionType ¶
type BuiltInSimpleAction_BuiltInSimpleActionType int32
Enum specifying the type of action in third-party application.
const ( // Default value. Will never be provided by the API. BuiltInSimpleAction_BUILT_IN_SIMPLE_ACTION_TYPE_UNSPECIFIED BuiltInSimpleAction_BuiltInSimpleActionType = 0 // Redirect the business to the part of your application where they can // verify their phone. BuiltInSimpleAction_VERIFY_PHONE BuiltInSimpleAction_BuiltInSimpleActionType = 1 // Redirect the business to the part of your application where they can // claim their website. BuiltInSimpleAction_CLAIM_WEBSITE BuiltInSimpleAction_BuiltInSimpleActionType = 2 // Redirect the business to the part of your application where they can add // products. BuiltInSimpleAction_ADD_PRODUCTS BuiltInSimpleAction_BuiltInSimpleActionType = 3 // Open a form where the business can edit their contact information. BuiltInSimpleAction_ADD_CONTACT_INFO BuiltInSimpleAction_BuiltInSimpleActionType = 4 // Redirect the business to the part of your application where they can link // ads account. BuiltInSimpleAction_LINK_ADS_ACCOUNT BuiltInSimpleAction_BuiltInSimpleActionType = 5 // Open a form where the business can add their business registration // number. BuiltInSimpleAction_ADD_BUSINESS_REGISTRATION_NUMBER BuiltInSimpleAction_BuiltInSimpleActionType = 6 // Open a form where the business can edit an attribute. The attribute that // needs to be updated is specified in // [attribute_code][google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.attribute_code] // field of the action. BuiltInSimpleAction_EDIT_ITEM_ATTRIBUTE BuiltInSimpleAction_BuiltInSimpleActionType = 7 // Redirect the business from the product issues to the diagnostic page with // their account issues in your application. // // This action will be returned only for product issues that are caused by // an account issue and thus the business should resolve the problem on the // account level. BuiltInSimpleAction_FIX_ACCOUNT_ISSUE BuiltInSimpleAction_BuiltInSimpleActionType = 8 // Show [additional // content][google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.additional_content] // to the business. // // This action will be used for example to deliver a justification from // national authority. BuiltInSimpleAction_SHOW_ADDITIONAL_CONTENT BuiltInSimpleAction_BuiltInSimpleActionType = 9 )
func (BuiltInSimpleAction_BuiltInSimpleActionType) Descriptor ¶
func (BuiltInSimpleAction_BuiltInSimpleActionType) Descriptor() protoreflect.EnumDescriptor
func (BuiltInSimpleAction_BuiltInSimpleActionType) EnumDescriptor
deprecated
func (BuiltInSimpleAction_BuiltInSimpleActionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BuiltInSimpleAction_BuiltInSimpleActionType.Descriptor instead.
func (BuiltInSimpleAction_BuiltInSimpleActionType) Number ¶
func (x BuiltInSimpleAction_BuiltInSimpleActionType) Number() protoreflect.EnumNumber
func (BuiltInSimpleAction_BuiltInSimpleActionType) String ¶
func (x BuiltInSimpleAction_BuiltInSimpleActionType) String() string
func (BuiltInSimpleAction_BuiltInSimpleActionType) Type ¶
func (BuiltInSimpleAction_BuiltInSimpleActionType) Type() protoreflect.EnumType
type BuiltInUserInputAction ¶
type BuiltInUserInputAction struct {
// Contains the action's context that must be included as part of the
// [TriggerActionPayload.action_context][google.shopping.merchant.issueresolution.v1beta.TriggerActionPayload.action_context]
// in
// [TriggerActionRequest.payload][google.shopping.merchant.issueresolution.v1beta.TriggerActionRequest.payload]
// to call the `triggeraction` method. The content should be treated as opaque
// and must not be modified.
ActionContext string `protobuf:"bytes,1,opt,name=action_context,json=actionContext,proto3" json:"action_context,omitempty"`
// Actions may provide multiple different flows. Business selects one that
// fits best to their intent. Selecting the flow is the first step in user's
// interaction with the action. It affects what input fields will be available
// and required and also how the request will be processed.
Flows []*ActionFlow `protobuf:"bytes,3,rep,name=flows,proto3" json:"flows,omitempty"`
// contains filtered or unexported fields
}
Action that is implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the business. They can start the action only when they provided all required inputs. The application will request processing of the action by calling the [triggeraction method](https://developers.google.com/merchant/api/reference/rest/issueresolution_v1beta/issueresolution/triggeraction).
func (*BuiltInUserInputAction) Descriptor
deprecated
func (*BuiltInUserInputAction) Descriptor() ([]byte, []int)
Deprecated: Use BuiltInUserInputAction.ProtoReflect.Descriptor instead.
func (*BuiltInUserInputAction) GetActionContext ¶
func (x *BuiltInUserInputAction) GetActionContext() string
func (*BuiltInUserInputAction) GetFlows ¶
func (x *BuiltInUserInputAction) GetFlows() []*ActionFlow
func (*BuiltInUserInputAction) ProtoMessage ¶
func (*BuiltInUserInputAction) ProtoMessage()
func (*BuiltInUserInputAction) ProtoReflect ¶
func (x *BuiltInUserInputAction) ProtoReflect() protoreflect.Message
func (*BuiltInUserInputAction) Reset ¶
func (x *BuiltInUserInputAction) Reset()
func (*BuiltInUserInputAction) String ¶
func (x *BuiltInUserInputAction) String() string
type Callout ¶
type Callout struct {
// Can be used to render messages with different severity in different styles.
// Snippets off all types contain important information that should be
// displayed to the business.
StyleHint Callout_CalloutStyleHint `` /* 167-byte string literal not displayed */
// A full message that needs to be shown to the business.
FullMessage *TextWithTooltip `protobuf:"bytes,3,opt,name=full_message,json=fullMessage,proto3" json:"full_message,omitempty"`
// contains filtered or unexported fields
}
An important message that should be highlighted. Usually displayed as a banner.
func (*Callout) Descriptor
deprecated
func (*Callout) GetFullMessage ¶
func (x *Callout) GetFullMessage() *TextWithTooltip
func (*Callout) GetStyleHint ¶
func (x *Callout) GetStyleHint() Callout_CalloutStyleHint
func (*Callout) ProtoMessage ¶
func (*Callout) ProtoMessage()
func (*Callout) ProtoReflect ¶
func (x *Callout) ProtoReflect() protoreflect.Message
type Callout_CalloutStyleHint ¶
type Callout_CalloutStyleHint int32
Enum specifying the suggested style, how the message should be rendered.
const ( // Default value. Will never be provided by the API. Callout_CALLOUT_STYLE_HINT_UNSPECIFIED Callout_CalloutStyleHint = 0 // The most important type of information highlighting problems, like an // unsuccessful outcome of previously requested actions. Callout_ERROR Callout_CalloutStyleHint = 1 // Information warning about pending problems, risks or deadlines. Callout_WARNING Callout_CalloutStyleHint = 2 // Default severity for important information like pending status of // previously requested action or cooldown for re-review. Callout_INFO Callout_CalloutStyleHint = 3 )
func (Callout_CalloutStyleHint) Descriptor ¶
func (Callout_CalloutStyleHint) Descriptor() protoreflect.EnumDescriptor
func (Callout_CalloutStyleHint) Enum ¶
func (x Callout_CalloutStyleHint) Enum() *Callout_CalloutStyleHint
func (Callout_CalloutStyleHint) EnumDescriptor
deprecated
func (Callout_CalloutStyleHint) EnumDescriptor() ([]byte, []int)
Deprecated: Use Callout_CalloutStyleHint.Descriptor instead.
func (Callout_CalloutStyleHint) Number ¶
func (x Callout_CalloutStyleHint) Number() protoreflect.EnumNumber
func (Callout_CalloutStyleHint) String ¶
func (x Callout_CalloutStyleHint) String() string
func (Callout_CalloutStyleHint) Type ¶
func (Callout_CalloutStyleHint) Type() protoreflect.EnumType
type ContentOption ¶
type ContentOption int32
Enum specifying how is the content returned.
const ( // Default value. Will never be provided by the API. ContentOption_CONTENT_OPTION_UNSPECIFIED ContentOption = 0 // Returns the detail of the issue as a pre-rendered HTML text. ContentOption_PRE_RENDERED_HTML ContentOption = 1 )
func (ContentOption) Descriptor ¶
func (ContentOption) Descriptor() protoreflect.EnumDescriptor
func (ContentOption) Enum ¶
func (x ContentOption) Enum() *ContentOption
func (ContentOption) EnumDescriptor
deprecated
func (ContentOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContentOption.Descriptor instead.
func (ContentOption) Number ¶
func (x ContentOption) Number() protoreflect.EnumNumber
func (ContentOption) String ¶
func (x ContentOption) String() string
func (ContentOption) Type ¶
func (ContentOption) Type() protoreflect.EnumType
type ExternalAction ¶
type ExternalAction struct {
// The type of external action.
Type ExternalAction_ExternalActionType `` /* 149-byte string literal not displayed */
// URL to external system, for example Merchant Center, where the business can
// perform the action.
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
// contains filtered or unexported fields
}
Action that is implemented and performed outside of the third-party application. It should redirect the business to the provided URL of an external system where they can perform the action. For example to request a review in the Merchant Center.
func (*ExternalAction) Descriptor
deprecated
func (*ExternalAction) Descriptor() ([]byte, []int)
Deprecated: Use ExternalAction.ProtoReflect.Descriptor instead.
func (*ExternalAction) GetType ¶
func (x *ExternalAction) GetType() ExternalAction_ExternalActionType
func (*ExternalAction) GetUri ¶
func (x *ExternalAction) GetUri() string
func (*ExternalAction) ProtoMessage ¶
func (*ExternalAction) ProtoMessage()
func (*ExternalAction) ProtoReflect ¶
func (x *ExternalAction) ProtoReflect() protoreflect.Message
func (*ExternalAction) Reset ¶
func (x *ExternalAction) Reset()
func (*ExternalAction) String ¶
func (x *ExternalAction) String() string
type ExternalAction_ExternalActionType ¶
type ExternalAction_ExternalActionType int32
Enum specifying the type of action that requires to redirect the business to an external location.
const ( // Default value. Will never be provided by the API. ExternalAction_EXTERNAL_ACTION_TYPE_UNSPECIFIED ExternalAction_ExternalActionType = 0 // Redirect to Merchant Center where the business can request a review for // issue related to their product. ExternalAction_REVIEW_PRODUCT_ISSUE_IN_MERCHANT_CENTER ExternalAction_ExternalActionType = 1 // Redirect to Merchant Center where the business can request a review for // issue related to their account. ExternalAction_REVIEW_ACCOUNT_ISSUE_IN_MERCHANT_CENTER ExternalAction_ExternalActionType = 2 // Redirect to the form in Help Center where the business can request a // legal appeal for the issue. ExternalAction_LEGAL_APPEAL_IN_HELP_CENTER ExternalAction_ExternalActionType = 3 // Redirect to Merchant Center where the business can perform identity // verification. ExternalAction_VERIFY_IDENTITY_IN_MERCHANT_CENTER ExternalAction_ExternalActionType = 4 )
func (ExternalAction_ExternalActionType) Descriptor ¶
func (ExternalAction_ExternalActionType) Descriptor() protoreflect.EnumDescriptor
func (ExternalAction_ExternalActionType) Enum ¶
func (x ExternalAction_ExternalActionType) Enum() *ExternalAction_ExternalActionType
func (ExternalAction_ExternalActionType) EnumDescriptor
deprecated
func (ExternalAction_ExternalActionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExternalAction_ExternalActionType.Descriptor instead.
func (ExternalAction_ExternalActionType) Number ¶
func (x ExternalAction_ExternalActionType) Number() protoreflect.EnumNumber
func (ExternalAction_ExternalActionType) String ¶
func (x ExternalAction_ExternalActionType) String() string
func (ExternalAction_ExternalActionType) Type ¶
func (ExternalAction_ExternalActionType) Type() protoreflect.EnumType
type Impact ¶
type Impact struct {
// Optional. Message summarizing the overall impact of the issue. If present,
// it should be rendered to the business. For example: "Disapproves 90k offers
// in 25 countries"
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// The severity of the issue.
Severity Severity `` /* 132-byte string literal not displayed */
// Detailed impact breakdown. Explains the types of restriction the issue has
// in different shopping destinations and territory. If present, it should be
// rendered to the business. Can be shown as a mouse over dropdown or a
// dialog. Each breakdown item represents a group of regions with the same
// impact details.
Breakdowns []*Breakdown `protobuf:"bytes,3,rep,name=breakdowns,proto3" json:"breakdowns,omitempty"`
// contains filtered or unexported fields
}
Overall impact of the issue.
func (*Impact) Descriptor
deprecated
func (*Impact) GetBreakdowns ¶
func (*Impact) GetMessage ¶
func (*Impact) GetSeverity ¶
func (*Impact) ProtoMessage ¶
func (*Impact) ProtoMessage()
func (*Impact) ProtoReflect ¶
func (x *Impact) ProtoReflect() protoreflect.Message
type InputField ¶
type InputField struct {
// Specific type of the input field.
//
// Types that are valid to be assigned to ValueInput:
//
// *InputField_TextInput_
// *InputField_ChoiceInput_
// *InputField_CheckboxInput_
ValueInput isInputField_ValueInput `protobuf_oneof:"value_input"`
// Not for display but need to be sent back for the given input field.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Input field label. There may be more information to be shown in a tooltip.
Label *TextWithTooltip `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
// Whether the field is required. The action button needs to stay disabled
// till values for all required fields are provided.
Required bool `protobuf:"varint,3,opt,name=required,proto3" json:"required,omitempty"`
// contains filtered or unexported fields
}
Input field that needs to be available to the business. If the field is marked as required, then a value needs to be provided for a successful processing of the request.
func (*InputField) Descriptor
deprecated
func (*InputField) Descriptor() ([]byte, []int)
Deprecated: Use InputField.ProtoReflect.Descriptor instead.
func (*InputField) GetCheckboxInput ¶
func (x *InputField) GetCheckboxInput() *InputField_CheckboxInput
func (*InputField) GetChoiceInput ¶
func (x *InputField) GetChoiceInput() *InputField_ChoiceInput
func (*InputField) GetId ¶
func (x *InputField) GetId() string
func (*InputField) GetLabel ¶
func (x *InputField) GetLabel() *TextWithTooltip
func (*InputField) GetRequired ¶
func (x *InputField) GetRequired() bool
func (*InputField) GetTextInput ¶
func (x *InputField) GetTextInput() *InputField_TextInput
func (*InputField) GetValueInput ¶
func (x *InputField) GetValueInput() isInputField_ValueInput
func (*InputField) ProtoMessage ¶
func (*InputField) ProtoMessage()
func (*InputField) ProtoReflect ¶
func (x *InputField) ProtoReflect() protoreflect.Message
func (*InputField) Reset ¶
func (x *InputField) Reset()
func (*InputField) String ¶
func (x *InputField) String() string
type InputField_CheckboxInput ¶
type InputField_CheckboxInput struct {
// contains filtered or unexported fields
}
Checkbox input allows the business to provide a boolean value. Corresponds to the [html input type=checkbox](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html#input.checkbox).
If the business checks the box, the input value for the field is `true`, otherwise it is `false`.
This type of input is often used as a confirmation that the business completed required steps before they are allowed to start the action. In such a case, the input field is marked as [required][google.shopping.merchant.issueresolution.v1beta.InputField.required] and the button to trigger the action should stay disabled until the business checks the box.
func (*InputField_CheckboxInput) Descriptor
deprecated
func (*InputField_CheckboxInput) Descriptor() ([]byte, []int)
Deprecated: Use InputField_CheckboxInput.ProtoReflect.Descriptor instead.
func (*InputField_CheckboxInput) ProtoMessage ¶
func (*InputField_CheckboxInput) ProtoMessage()
func (*InputField_CheckboxInput) ProtoReflect ¶
func (x *InputField_CheckboxInput) ProtoReflect() protoreflect.Message
func (*InputField_CheckboxInput) Reset ¶
func (x *InputField_CheckboxInput) Reset()
func (*InputField_CheckboxInput) String ¶
func (x *InputField_CheckboxInput) String() string
type InputField_CheckboxInput_ ¶
type InputField_CheckboxInput_ struct {
// Input field to provide a boolean value.
// Corresponds to the [html input
// type=checkbox](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html#input.checkbox).
CheckboxInput *InputField_CheckboxInput `protobuf:"bytes,6,opt,name=checkbox_input,json=checkboxInput,proto3,oneof"`
}
type InputField_ChoiceInput ¶
type InputField_ChoiceInput struct {
// A list of choices. Only one option can be selected.
Options []*InputField_ChoiceInput_ChoiceInputOption `protobuf:"bytes,1,rep,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
Choice input allows the business to select one of the offered choices. Some choices may be linked to additional input fields that should be displayed under or next to the choice option. The value for the additional input field needs to be provided only when the specific choice is selected by the the business. For example, additional input field can be hidden or disabled until the business selects the specific choice.
func (*InputField_ChoiceInput) Descriptor
deprecated
func (*InputField_ChoiceInput) Descriptor() ([]byte, []int)
Deprecated: Use InputField_ChoiceInput.ProtoReflect.Descriptor instead.
func (*InputField_ChoiceInput) GetOptions ¶
func (x *InputField_ChoiceInput) GetOptions() []*InputField_ChoiceInput_ChoiceInputOption
func (*InputField_ChoiceInput) ProtoMessage ¶
func (*InputField_ChoiceInput) ProtoMessage()
func (*InputField_ChoiceInput) ProtoReflect ¶
func (x *InputField_ChoiceInput) ProtoReflect() protoreflect.Message
func (*InputField_ChoiceInput) Reset ¶
func (x *InputField_ChoiceInput) Reset()
func (*InputField_ChoiceInput) String ¶
func (x *InputField_ChoiceInput) String() string
type InputField_ChoiceInput_ ¶
type InputField_ChoiceInput_ struct {
// Input field to select one of the offered choices.
// Corresponds to the [html input
// type=radio](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.radio.html#input.radio).
ChoiceInput *InputField_ChoiceInput `protobuf:"bytes,5,opt,name=choice_input,json=choiceInput,proto3,oneof"`
}
type InputField_ChoiceInput_ChoiceInputOption ¶
type InputField_ChoiceInput_ChoiceInputOption struct {
// Not for display but need to be sent back for the selected choice
// option.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Short description of the choice option. There may be more information
// to be shown as a tooltip.
Label *TextWithTooltip `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
// Input that should be displayed when this option is selected.
// The additional input will not contain a `ChoiceInput`.
AdditionalInput *InputField `protobuf:"bytes,3,opt,name=additional_input,json=additionalInput,proto3,oneof" json:"additional_input,omitempty"`
// contains filtered or unexported fields
}
A choice that the business can select.
func (*InputField_ChoiceInput_ChoiceInputOption) Descriptor
deprecated
func (*InputField_ChoiceInput_ChoiceInputOption) Descriptor() ([]byte, []int)
Deprecated: Use InputField_ChoiceInput_ChoiceInputOption.ProtoReflect.Descriptor instead.
func (*InputField_ChoiceInput_ChoiceInputOption) GetAdditionalInput ¶
func (x *InputField_ChoiceInput_ChoiceInputOption) GetAdditionalInput() *InputField
func (*InputField_ChoiceInput_ChoiceInputOption) GetId ¶
func (x *InputField_ChoiceInput_ChoiceInputOption) GetId() string
func (*InputField_ChoiceInput_ChoiceInputOption) GetLabel ¶
func (x *InputField_ChoiceInput_ChoiceInputOption) GetLabel() *TextWithTooltip
func (*InputField_ChoiceInput_ChoiceInputOption) ProtoMessage ¶
func (*InputField_ChoiceInput_ChoiceInputOption) ProtoMessage()
func (*InputField_ChoiceInput_ChoiceInputOption) ProtoReflect ¶
func (x *InputField_ChoiceInput_ChoiceInputOption) ProtoReflect() protoreflect.Message
func (*InputField_ChoiceInput_ChoiceInputOption) Reset ¶
func (x *InputField_ChoiceInput_ChoiceInputOption) Reset()
func (*InputField_ChoiceInput_ChoiceInputOption) String ¶
func (x *InputField_ChoiceInput_ChoiceInputOption) String() string
type InputField_TextInput ¶
type InputField_TextInput struct {
// Type of the text input
Type InputField_TextInput_TextInputType `` /* 150-byte string literal not displayed */
// Additional info regarding the field to be displayed to the business. For
// example, warning to not include personal identifiable information. There
// may be more information to be shown in a tooltip.
AdditionalInfo *TextWithTooltip `protobuf:"bytes,2,opt,name=additional_info,json=additionalInfo,proto3,oneof" json:"additional_info,omitempty"`
// Information about the required format. If present, it should be shown
// close to the input field to help the business to provide a correct value.
// For example: "VAT numbers should be in a format similar to SK9999999999"
FormatInfo *string `protobuf:"bytes,3,opt,name=format_info,json=formatInfo,proto3,oneof" json:"format_info,omitempty"`
// Text to be used as the
// [aria-label](https://www.w3.org/TR/WCAG20-TECHS/ARIA14.html) for the
// input.
AriaLabel *string `protobuf:"bytes,4,opt,name=aria_label,json=ariaLabel,proto3,oneof" json:"aria_label,omitempty"`
// contains filtered or unexported fields
}
Text input allows the business to provide a text value.
func (*InputField_TextInput) Descriptor
deprecated
func (*InputField_TextInput) Descriptor() ([]byte, []int)
Deprecated: Use InputField_TextInput.ProtoReflect.Descriptor instead.
func (*InputField_TextInput) GetAdditionalInfo ¶
func (x *InputField_TextInput) GetAdditionalInfo() *TextWithTooltip
func (*InputField_TextInput) GetAriaLabel ¶
func (x *InputField_TextInput) GetAriaLabel() string
func (*InputField_TextInput) GetFormatInfo ¶
func (x *InputField_TextInput) GetFormatInfo() string
func (*InputField_TextInput) GetType ¶
func (x *InputField_TextInput) GetType() InputField_TextInput_TextInputType
func (*InputField_TextInput) ProtoMessage ¶
func (*InputField_TextInput) ProtoMessage()
func (*InputField_TextInput) ProtoReflect ¶
func (x *InputField_TextInput) ProtoReflect() protoreflect.Message
func (*InputField_TextInput) Reset ¶
func (x *InputField_TextInput) Reset()
func (*InputField_TextInput) String ¶
func (x *InputField_TextInput) String() string
type InputField_TextInput_ ¶
type InputField_TextInput_ struct {
// Input field to provide text information.
// Corresponds to the [html input
// type=text](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.text.html#input.text)
// or [html
// textarea](https://www.w3.org/TR/2012/WD-html-markup-20121025/textarea.html#textarea).
TextInput *InputField_TextInput `protobuf:"bytes,4,opt,name=text_input,json=textInput,proto3,oneof"`
}
type InputField_TextInput_TextInputType ¶
type InputField_TextInput_TextInputType int32
Enum specifying the type of the text input and how it should be rendered.
const ( // Default value. Will never be provided by the API. InputField_TextInput_TEXT_INPUT_TYPE_UNSPECIFIED InputField_TextInput_TextInputType = 0 // Used when a short text is expected. The field can be rendered as a // [text // field](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.text.html#input.text). InputField_TextInput_GENERIC_SHORT_TEXT InputField_TextInput_TextInputType = 1 // Used when a longer text is expected. The field should be rendered as a // [textarea](https://www.w3.org/TR/2012/WD-html-markup-20121025/textarea.html#textarea). InputField_TextInput_GENERIC_LONG_TEXT InputField_TextInput_TextInputType = 2 )
func (InputField_TextInput_TextInputType) Descriptor ¶
func (InputField_TextInput_TextInputType) Descriptor() protoreflect.EnumDescriptor
func (InputField_TextInput_TextInputType) Enum ¶
func (x InputField_TextInput_TextInputType) Enum() *InputField_TextInput_TextInputType
func (InputField_TextInput_TextInputType) EnumDescriptor
deprecated
func (InputField_TextInput_TextInputType) EnumDescriptor() ([]byte, []int)
Deprecated: Use InputField_TextInput_TextInputType.Descriptor instead.
func (InputField_TextInput_TextInputType) Number ¶
func (x InputField_TextInput_TextInputType) Number() protoreflect.EnumNumber
func (InputField_TextInput_TextInputType) String ¶
func (x InputField_TextInput_TextInputType) String() string
func (InputField_TextInput_TextInputType) Type ¶
func (InputField_TextInput_TextInputType) Type() protoreflect.EnumType
type InputValue ¶
type InputValue struct {
// Value provided by the business.
//
// Types that are valid to be assigned to Value:
//
// *InputValue_TextInputValue_
// *InputValue_ChoiceInputValue_
// *InputValue_CheckboxInputValue_
Value isInputValue_Value `protobuf_oneof:"value"`
// Required.
// [Id][google.shopping.merchant.issueresolution.v1beta.InputField.id] of the
// corresponding input field.
InputFieldId string `protobuf:"bytes,1,opt,name=input_field_id,json=inputFieldId,proto3" json:"input_field_id,omitempty"`
// contains filtered or unexported fields
}
Input provided by the business for input field.
func (*InputValue) Descriptor
deprecated
func (*InputValue) Descriptor() ([]byte, []int)
Deprecated: Use InputValue.ProtoReflect.Descriptor instead.
func (*InputValue) GetCheckboxInputValue ¶
func (x *InputValue) GetCheckboxInputValue() *InputValue_CheckboxInputValue
func (*InputValue) GetChoiceInputValue ¶
func (x *InputValue) GetChoiceInputValue() *InputValue_ChoiceInputValue
func (*InputValue) GetInputFieldId ¶
func (x *InputValue) GetInputFieldId() string
func (*InputValue) GetTextInputValue ¶
func (x *InputValue) GetTextInputValue() *InputValue_TextInputValue
func (*InputValue) GetValue ¶
func (x *InputValue) GetValue() isInputValue_Value
func (*InputValue) ProtoMessage ¶
func (*InputValue) ProtoMessage()
func (*InputValue) ProtoReflect ¶
func (x *InputValue) ProtoReflect() protoreflect.Message
func (*InputValue) Reset ¶
func (x *InputValue) Reset()
func (*InputValue) String ¶
func (x *InputValue) String() string
type InputValue_CheckboxInputValue ¶
type InputValue_CheckboxInputValue struct {
// Required. True if the business checked the box field. False otherwise.
Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
Value for [checkbox input][google.shopping.merchant.issueresolution.v1beta.InputField.CheckboxInput] field.
func (*InputValue_CheckboxInputValue) Descriptor
deprecated
func (*InputValue_CheckboxInputValue) Descriptor() ([]byte, []int)
Deprecated: Use InputValue_CheckboxInputValue.ProtoReflect.Descriptor instead.
func (*InputValue_CheckboxInputValue) GetValue ¶
func (x *InputValue_CheckboxInputValue) GetValue() bool
func (*InputValue_CheckboxInputValue) ProtoMessage ¶
func (*InputValue_CheckboxInputValue) ProtoMessage()
func (*InputValue_CheckboxInputValue) ProtoReflect ¶
func (x *InputValue_CheckboxInputValue) ProtoReflect() protoreflect.Message
func (*InputValue_CheckboxInputValue) Reset ¶
func (x *InputValue_CheckboxInputValue) Reset()
func (*InputValue_CheckboxInputValue) String ¶
func (x *InputValue_CheckboxInputValue) String() string
type InputValue_CheckboxInputValue_ ¶
type InputValue_CheckboxInputValue_ struct {
// Value for [checkbox
// input][google.shopping.merchant.issueresolution.v1beta.InputField.CheckboxInput]
// field.
CheckboxInputValue *InputValue_CheckboxInputValue `protobuf:"bytes,4,opt,name=checkbox_input_value,json=checkboxInputValue,proto3,oneof"`
}
type InputValue_ChoiceInputValue ¶
type InputValue_ChoiceInputValue struct {
// Required. [Id][InputField.ChoiceInput.id] of the option that was selected
// by the business.
ChoiceInputOptionId string `protobuf:"bytes,1,opt,name=choice_input_option_id,json=choiceInputOptionId,proto3" json:"choice_input_option_id,omitempty"`
// contains filtered or unexported fields
}
Value for [choice input][google.shopping.merchant.issueresolution.v1beta.InputField.ChoiceInput] field.
func (*InputValue_ChoiceInputValue) Descriptor
deprecated
func (*InputValue_ChoiceInputValue) Descriptor() ([]byte, []int)
Deprecated: Use InputValue_ChoiceInputValue.ProtoReflect.Descriptor instead.
func (*InputValue_ChoiceInputValue) GetChoiceInputOptionId ¶
func (x *InputValue_ChoiceInputValue) GetChoiceInputOptionId() string
func (*InputValue_ChoiceInputValue) ProtoMessage ¶
func (*InputValue_ChoiceInputValue) ProtoMessage()
func (*InputValue_ChoiceInputValue) ProtoReflect ¶
func (x *InputValue_ChoiceInputValue) ProtoReflect() protoreflect.Message
func (*InputValue_ChoiceInputValue) Reset ¶
func (x *InputValue_ChoiceInputValue) Reset()
func (*InputValue_ChoiceInputValue) String ¶
func (x *InputValue_ChoiceInputValue) String() string
type InputValue_ChoiceInputValue_ ¶
type InputValue_ChoiceInputValue_ struct {
// Value for [choice
// input][google.shopping.merchant.issueresolution.v1beta.InputField.ChoiceInput]
// field.
ChoiceInputValue *InputValue_ChoiceInputValue `protobuf:"bytes,3,opt,name=choice_input_value,json=choiceInputValue,proto3,oneof"`
}
type InputValue_TextInputValue ¶
type InputValue_TextInputValue struct {
// Required. Text provided by the business.
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
Value for [text input][google.shopping.merchant.issueresolution.v1beta.InputField.TextInput] field.
func (*InputValue_TextInputValue) Descriptor
deprecated
func (*InputValue_TextInputValue) Descriptor() ([]byte, []int)
Deprecated: Use InputValue_TextInputValue.ProtoReflect.Descriptor instead.
func (*InputValue_TextInputValue) GetValue ¶
func (x *InputValue_TextInputValue) GetValue() string
func (*InputValue_TextInputValue) ProtoMessage ¶
func (*InputValue_TextInputValue) ProtoMessage()
func (*InputValue_TextInputValue) ProtoReflect ¶
func (x *InputValue_TextInputValue) ProtoReflect() protoreflect.Message
func (*InputValue_TextInputValue) Reset ¶
func (x *InputValue_TextInputValue) Reset()
func (*InputValue_TextInputValue) String ¶
func (x *InputValue_TextInputValue) String() string
type InputValue_TextInputValue_ ¶
type InputValue_TextInputValue_ struct {
// Value for [text
// input][google.shopping.merchant.issueresolution.v1beta.InputField.TextInput]
// field.
TextInputValue *InputValue_TextInputValue `protobuf:"bytes,2,opt,name=text_input_value,json=textInputValue,proto3,oneof"`
}
type IssueResolutionServiceClient ¶
type IssueResolutionServiceClient interface {
// Provide a list of business's account issues with an issue resolution
// content and available actions. This content and actions are meant to be
// rendered and shown in third-party applications.
RenderAccountIssues(ctx context.Context, in *RenderAccountIssuesRequest, opts ...grpc.CallOption) (*RenderAccountIssuesResponse, error)
// Provide a list of issues for business's product with an issue resolution
// content and available actions. This content and actions are meant to be
// rendered and shown in third-party applications.
RenderProductIssues(ctx context.Context, in *RenderProductIssuesRequest, opts ...grpc.CallOption) (*RenderProductIssuesResponse, error)
// Start an action. The action can be requested by a business in
// third-party application. Before the business can request the action, the
// third-party application needs to show them action specific content and
// display a user input form.
//
// The action can be successfully started only once all `required` inputs are
// provided. If any `required` input is missing, or invalid value was
// provided, the service will return 400 error. Validation errors will contain
// [Ids][google.shopping.merchant.issueresolution.v1beta.InputField.id] for
// all problematic field together with translated, human readable error
// messages that can be shown to the user.
TriggerAction(ctx context.Context, in *TriggerActionRequest, opts ...grpc.CallOption) (*TriggerActionResponse, error)
}
IssueResolutionServiceClient is the client API for IssueResolutionService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewIssueResolutionServiceClient ¶
func NewIssueResolutionServiceClient(cc grpc.ClientConnInterface) IssueResolutionServiceClient
type IssueResolutionServiceServer ¶
type IssueResolutionServiceServer interface {
// Provide a list of business's account issues with an issue resolution
// content and available actions. This content and actions are meant to be
// rendered and shown in third-party applications.
RenderAccountIssues(context.Context, *RenderAccountIssuesRequest) (*RenderAccountIssuesResponse, error)
// Provide a list of issues for business's product with an issue resolution
// content and available actions. This content and actions are meant to be
// rendered and shown in third-party applications.
RenderProductIssues(context.Context, *RenderProductIssuesRequest) (*RenderProductIssuesResponse, error)
// Start an action. The action can be requested by a business in
// third-party application. Before the business can request the action, the
// third-party application needs to show them action specific content and
// display a user input form.
//
// The action can be successfully started only once all `required` inputs are
// provided. If any `required` input is missing, or invalid value was
// provided, the service will return 400 error. Validation errors will contain
// [Ids][google.shopping.merchant.issueresolution.v1beta.InputField.id] for
// all problematic field together with translated, human readable error
// messages that can be shown to the user.
TriggerAction(context.Context, *TriggerActionRequest) (*TriggerActionResponse, error)
}
IssueResolutionServiceServer is the server API for IssueResolutionService service. All implementations should embed UnimplementedIssueResolutionServiceServer for forward compatibility
type ListAggregateProductStatusesRequest ¶ added in v0.22.0
type ListAggregateProductStatusesRequest struct {
// Required. The account to list aggregate product statuses for.
// Format: `accounts/{account}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of aggregate product statuses to return. The
// service may return fewer than this value. If unspecified, at most 25
// aggregate product statuses are returned. The maximum value is 250; values
// above 250 are coerced to 250.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous
// `ListAggregateProductStatuses` call. Provide this to retrieve the
// subsequent page.
//
// When paginating, all other parameters provided to
// `ListAggregateProductStatuses` must match the call that provided the page
// token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. A filter expression that filters the aggregate product statuses.
// Filtering is only supported by the `reporting_context` and `country` field.
// For example: `reporting_context = "SHOPPING_ADS" AND country = "US"`.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
Request message for the `ListAggregateProductStatuses` method.
func (*ListAggregateProductStatusesRequest) Descriptor
deprecated
added in
v0.22.0
func (*ListAggregateProductStatusesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAggregateProductStatusesRequest.ProtoReflect.Descriptor instead.
func (*ListAggregateProductStatusesRequest) GetFilter ¶ added in v0.22.0
func (x *ListAggregateProductStatusesRequest) GetFilter() string
func (*ListAggregateProductStatusesRequest) GetPageSize ¶ added in v0.22.0
func (x *ListAggregateProductStatusesRequest) GetPageSize() int32
func (*ListAggregateProductStatusesRequest) GetPageToken ¶ added in v0.22.0
func (x *ListAggregateProductStatusesRequest) GetPageToken() string
func (*ListAggregateProductStatusesRequest) GetParent ¶ added in v0.22.0
func (x *ListAggregateProductStatusesRequest) GetParent() string
func (*ListAggregateProductStatusesRequest) ProtoMessage ¶ added in v0.22.0
func (*ListAggregateProductStatusesRequest) ProtoMessage()
func (*ListAggregateProductStatusesRequest) ProtoReflect ¶ added in v0.22.0
func (x *ListAggregateProductStatusesRequest) ProtoReflect() protoreflect.Message
func (*ListAggregateProductStatusesRequest) Reset ¶ added in v0.22.0
func (x *ListAggregateProductStatusesRequest) Reset()
func (*ListAggregateProductStatusesRequest) String ¶ added in v0.22.0
func (x *ListAggregateProductStatusesRequest) String() string
type ListAggregateProductStatusesResponse ¶ added in v0.22.0
type ListAggregateProductStatusesResponse struct {
// The `AggregateProductStatuses` resources for the given account.
AggregateProductStatuses []*AggregateProductStatus `` /* 135-byte string literal not displayed */
// A token, which can be sent as `pageToken` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message for the `ListAggregateProductStatuses` method.
func (*ListAggregateProductStatusesResponse) Descriptor
deprecated
added in
v0.22.0
func (*ListAggregateProductStatusesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAggregateProductStatusesResponse.ProtoReflect.Descriptor instead.
func (*ListAggregateProductStatusesResponse) GetAggregateProductStatuses ¶ added in v0.22.0
func (x *ListAggregateProductStatusesResponse) GetAggregateProductStatuses() []*AggregateProductStatus
func (*ListAggregateProductStatusesResponse) GetNextPageToken ¶ added in v0.22.0
func (x *ListAggregateProductStatusesResponse) GetNextPageToken() string
func (*ListAggregateProductStatusesResponse) ProtoMessage ¶ added in v0.22.0
func (*ListAggregateProductStatusesResponse) ProtoMessage()
func (*ListAggregateProductStatusesResponse) ProtoReflect ¶ added in v0.22.0
func (x *ListAggregateProductStatusesResponse) ProtoReflect() protoreflect.Message
func (*ListAggregateProductStatusesResponse) Reset ¶ added in v0.22.0
func (x *ListAggregateProductStatusesResponse) Reset()
func (*ListAggregateProductStatusesResponse) String ¶ added in v0.22.0
func (x *ListAggregateProductStatusesResponse) String() string
type RenderAccountIssuesRequest ¶
type RenderAccountIssuesRequest struct {
// Required. The account to fetch issues for.
// Format: `accounts/{account}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The [IETF BCP-47](https://tools.ietf.org/html/bcp47) language
// code used to localize issue resolution content. If not set, the result will
// be in default language `en-US`.
LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// Optional. The [IANA](https://www.iana.org/time-zones) timezone used to
// localize times in an issue resolution content. For example
// 'America/Los_Angeles'. If not set, results will use as a default UTC.
TimeZone string `protobuf:"bytes,3,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
// Optional. The payload for configuring how the content should be rendered.
Payload *RenderIssuesRequestPayload `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
// contains filtered or unexported fields
}
Request to provide issue resolution content and actions for business's account issues.
func (*RenderAccountIssuesRequest) Descriptor
deprecated
func (*RenderAccountIssuesRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenderAccountIssuesRequest.ProtoReflect.Descriptor instead.
func (*RenderAccountIssuesRequest) GetLanguageCode ¶
func (x *RenderAccountIssuesRequest) GetLanguageCode() string
func (*RenderAccountIssuesRequest) GetName ¶
func (x *RenderAccountIssuesRequest) GetName() string
func (*RenderAccountIssuesRequest) GetPayload ¶
func (x *RenderAccountIssuesRequest) GetPayload() *RenderIssuesRequestPayload
func (*RenderAccountIssuesRequest) GetTimeZone ¶
func (x *RenderAccountIssuesRequest) GetTimeZone() string
func (*RenderAccountIssuesRequest) ProtoMessage ¶
func (*RenderAccountIssuesRequest) ProtoMessage()
func (*RenderAccountIssuesRequest) ProtoReflect ¶
func (x *RenderAccountIssuesRequest) ProtoReflect() protoreflect.Message
func (*RenderAccountIssuesRequest) Reset ¶
func (x *RenderAccountIssuesRequest) Reset()
func (*RenderAccountIssuesRequest) String ¶
func (x *RenderAccountIssuesRequest) String() string
type RenderAccountIssuesResponse ¶
type RenderAccountIssuesResponse struct {
// List of account issues for a given account.
//
// This list can be shown with compressed, expandable items. In the compressed
// form, the title and impact should be shown for each issue. Once the issue
// is expanded, the detailed
// [content][google.shopping.merchant.issueresolution.v1beta.RenderedIssue.prerendered_content]
// and available
// [actions][google.shopping.merchant.issueresolution.v1beta.RenderedIssue.actions]
// should be rendered.
RenderedIssues []*RenderedIssue `protobuf:"bytes,1,rep,name=rendered_issues,json=renderedIssues,proto3" json:"rendered_issues,omitempty"`
// contains filtered or unexported fields
}
Response containing an issue resolution content and actions for listed account issues.
func (*RenderAccountIssuesResponse) Descriptor
deprecated
func (*RenderAccountIssuesResponse) Descriptor() ([]byte, []int)
Deprecated: Use RenderAccountIssuesResponse.ProtoReflect.Descriptor instead.
func (*RenderAccountIssuesResponse) GetRenderedIssues ¶
func (x *RenderAccountIssuesResponse) GetRenderedIssues() []*RenderedIssue
func (*RenderAccountIssuesResponse) ProtoMessage ¶
func (*RenderAccountIssuesResponse) ProtoMessage()
func (*RenderAccountIssuesResponse) ProtoReflect ¶
func (x *RenderAccountIssuesResponse) ProtoReflect() protoreflect.Message
func (*RenderAccountIssuesResponse) Reset ¶
func (x *RenderAccountIssuesResponse) Reset()
func (*RenderAccountIssuesResponse) String ¶
func (x *RenderAccountIssuesResponse) String() string
type RenderIssuesRequestPayload ¶
type RenderIssuesRequestPayload struct {
// Optional. How the detailed content should be returned. Default option is to
// return the content as a pre-rendered HTML text.
ContentOption *ContentOption `` /* 174-byte string literal not displayed */
// Optional. How actions with user input form should be handled. If not
// provided, actions will be returned as links that points the business to
// Merchant Center where they can request the action.
UserInputActionOption *UserInputActionRenderingOption `` /* 219-byte string literal not displayed */
// contains filtered or unexported fields
}
The payload for configuring how the content should be rendered.
func (*RenderIssuesRequestPayload) Descriptor
deprecated
func (*RenderIssuesRequestPayload) Descriptor() ([]byte, []int)
Deprecated: Use RenderIssuesRequestPayload.ProtoReflect.Descriptor instead.
func (*RenderIssuesRequestPayload) GetContentOption ¶
func (x *RenderIssuesRequestPayload) GetContentOption() ContentOption
func (*RenderIssuesRequestPayload) GetUserInputActionOption ¶
func (x *RenderIssuesRequestPayload) GetUserInputActionOption() UserInputActionRenderingOption
func (*RenderIssuesRequestPayload) ProtoMessage ¶
func (*RenderIssuesRequestPayload) ProtoMessage()
func (*RenderIssuesRequestPayload) ProtoReflect ¶
func (x *RenderIssuesRequestPayload) ProtoReflect() protoreflect.Message
func (*RenderIssuesRequestPayload) Reset ¶
func (x *RenderIssuesRequestPayload) Reset()
func (*RenderIssuesRequestPayload) String ¶
func (x *RenderIssuesRequestPayload) String() string
type RenderProductIssuesRequest ¶
type RenderProductIssuesRequest struct {
// Required. The name of the product to fetch issues for.
// Format: `accounts/{account}/products/{product}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The [IETF BCP-47](https://tools.ietf.org/html/bcp47) language
// code used to localize an issue resolution content. If not set, the result
// will be in default language `en-US`.
LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// Optional. The [IANA](https://www.iana.org/time-zones) timezone used to
// localize times in an issue resolution content. For example
// 'America/Los_Angeles'. If not set, results will use as a default UTC.
TimeZone string `protobuf:"bytes,3,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
// Optional. The payload for configuring how the content should be rendered.
Payload *RenderIssuesRequestPayload `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
// contains filtered or unexported fields
}
Request to provide an issue resolution content and actions for product issues of business's product.
func (*RenderProductIssuesRequest) Descriptor
deprecated
func (*RenderProductIssuesRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenderProductIssuesRequest.ProtoReflect.Descriptor instead.
func (*RenderProductIssuesRequest) GetLanguageCode ¶
func (x *RenderProductIssuesRequest) GetLanguageCode() string
func (*RenderProductIssuesRequest) GetName ¶
func (x *RenderProductIssuesRequest) GetName() string
func (*RenderProductIssuesRequest) GetPayload ¶
func (x *RenderProductIssuesRequest) GetPayload() *RenderIssuesRequestPayload
func (*RenderProductIssuesRequest) GetTimeZone ¶
func (x *RenderProductIssuesRequest) GetTimeZone() string
func (*RenderProductIssuesRequest) ProtoMessage ¶
func (*RenderProductIssuesRequest) ProtoMessage()
func (*RenderProductIssuesRequest) ProtoReflect ¶
func (x *RenderProductIssuesRequest) ProtoReflect() protoreflect.Message
func (*RenderProductIssuesRequest) Reset ¶
func (x *RenderProductIssuesRequest) Reset()
func (*RenderProductIssuesRequest) String ¶
func (x *RenderProductIssuesRequest) String() string
type RenderProductIssuesResponse ¶
type RenderProductIssuesResponse struct {
// List of issues for a given product.
//
// This list can be shown with compressed, expandable items. In the compressed
// form, the
// [title][google.shopping.merchant.issueresolution.v1beta.RenderedIssue.title]
// and
// [impact][google.shopping.merchant.issueresolution.v1beta.RenderedIssue.impact]
// should be shown for each issue. Once the issue is expanded, the detailed
// [content][google.shopping.merchant.issueresolution.v1beta.RenderedIssue.prerendered_content]
// and available
// [actions][google.shopping.merchant.issueresolution.v1beta.RenderedIssue.actions]
// should be rendered.
RenderedIssues []*RenderedIssue `protobuf:"bytes,1,rep,name=rendered_issues,json=renderedIssues,proto3" json:"rendered_issues,omitempty"`
// contains filtered or unexported fields
}
Response containing an issue resolution content and actions for listed product issues.
func (*RenderProductIssuesResponse) Descriptor
deprecated
func (*RenderProductIssuesResponse) Descriptor() ([]byte, []int)
Deprecated: Use RenderProductIssuesResponse.ProtoReflect.Descriptor instead.
func (*RenderProductIssuesResponse) GetRenderedIssues ¶
func (x *RenderProductIssuesResponse) GetRenderedIssues() []*RenderedIssue
func (*RenderProductIssuesResponse) ProtoMessage ¶
func (*RenderProductIssuesResponse) ProtoMessage()
func (*RenderProductIssuesResponse) ProtoReflect ¶
func (x *RenderProductIssuesResponse) ProtoReflect() protoreflect.Message
func (*RenderProductIssuesResponse) Reset ¶
func (x *RenderProductIssuesResponse) Reset()
func (*RenderProductIssuesResponse) String ¶
func (x *RenderProductIssuesResponse) String() string
type RenderedIssue ¶
type RenderedIssue struct {
// Detailed content of the issue. Should be shown to the business when they
// expand the issue. The form in which is the content returned is specified
// with the [content
// option][google.shopping.merchant.issueresolution.v1beta.RenderIssuesRequestPayload.content_option]
// request field.
//
// Types that are valid to be assigned to Content:
//
// *RenderedIssue_PrerenderedContent
Content isRenderedIssue_Content `protobuf_oneof:"content"`
// Out-of-court dispute settlement (ODS) contains a link to a page where
// the business can bring their appeal to an [external
// body](https://support.google.com/european-union-digital-services-act-redress-options/answer/13535501).
// It may contains a detailed instructions and any values needed for the
// business to proceed with their request.
//
// The ODS is a part of the EU's Digital Service ACT (DSA). If present, it
// should be shown to the business.
//
// The ODS may differ for individual issues and thus it should be by default
// shown in the detail of the issue. It could be shown next to
// [actions][google.shopping.merchant.issueresolution.v1beta.RenderedIssue.actions]
// for the issue.
//
// In some cases the ODS could be the same for all issues in the list. If the
// values for individual issues do not differ, then the ODS could be shown
// only once. For example under the list with issues. This is an optional UX
// improvement. If values differ, then ODS needs to be shown in details of
// individual issues.
//
// Types that are valid to be assigned to OutOfCourtDisputeSettlement:
//
// *RenderedIssue_PrerenderedOutOfCourtDisputeSettlement
OutOfCourtDisputeSettlement isRenderedIssue_OutOfCourtDisputeSettlement `protobuf_oneof:"out_of_court_dispute_settlement"`
// Title of the issue.
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
// Clarifies the severity of the issue.
//
// The [summarizing
// message][google.shopping.merchant.issueresolution.v1beta.Impact.message],
// if present, should be shown right under the title for each issue. It helps
// business to quickly understand the impact of the issue.
//
// The detailed
// [breakdown][google.shopping.merchant.issueresolution.v1beta.Impact.breakdowns]
// helps the business to fully understand the impact of the issue. It can be
// rendered as dialog that opens when the business mouse over the summarized
// impact statement.
//
// Issues with different
// [severity][google.shopping.merchant.issueresolution.v1beta.Impact.severity]
// can be styled differently. They may use a different color or icon to signal
// the difference between `ERROR`, `WARNING` and `INFO`.
Impact *Impact `protobuf:"bytes,2,opt,name=impact,proto3" json:"impact,omitempty"`
// A list of actionable steps that can be executed to solve the issue. An
// example is requesting a re-review or providing arguments when business
// disagrees with the issue.
//
// Actions that are supported in (your) third-party application can be
// rendered as buttons and should be available to the business when they
// expand the issue.
Actions []*Action `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"`
// contains filtered or unexported fields
}
An issue affecting specific business or their product.
func (*RenderedIssue) Descriptor
deprecated
func (*RenderedIssue) Descriptor() ([]byte, []int)
Deprecated: Use RenderedIssue.ProtoReflect.Descriptor instead.
func (*RenderedIssue) GetActions ¶
func (x *RenderedIssue) GetActions() []*Action
func (*RenderedIssue) GetContent ¶
func (x *RenderedIssue) GetContent() isRenderedIssue_Content
func (*RenderedIssue) GetImpact ¶
func (x *RenderedIssue) GetImpact() *Impact
func (*RenderedIssue) GetOutOfCourtDisputeSettlement ¶
func (x *RenderedIssue) GetOutOfCourtDisputeSettlement() isRenderedIssue_OutOfCourtDisputeSettlement
func (*RenderedIssue) GetPrerenderedContent ¶
func (x *RenderedIssue) GetPrerenderedContent() string
func (*RenderedIssue) GetPrerenderedOutOfCourtDisputeSettlement ¶
func (x *RenderedIssue) GetPrerenderedOutOfCourtDisputeSettlement() string
func (*RenderedIssue) GetTitle ¶
func (x *RenderedIssue) GetTitle() string
func (*RenderedIssue) ProtoMessage ¶
func (*RenderedIssue) ProtoMessage()
func (*RenderedIssue) ProtoReflect ¶
func (x *RenderedIssue) ProtoReflect() protoreflect.Message
func (*RenderedIssue) Reset ¶
func (x *RenderedIssue) Reset()
func (*RenderedIssue) String ¶
func (x *RenderedIssue) String() string
type RenderedIssue_PrerenderedContent ¶
type RenderedIssue_PrerenderedContent struct {
// Details of the issue as a pre-rendered HTML. HTML elements contain CSS
// classes that can be used to customize the style of the content.
//
// Always sanitize the HTML before embedding it directly to your
// application. The sanitizer needs to allow basic HTML tags, such as:
// `div`, `span`, `p`, `a`, `ul`, `li`, `table`, `tr`, `td`. For example,
// you can use [DOMPurify](https://www.npmjs.com/package/dompurify).
//
// CSS classes:
//
// * `issue-detail` - top level container for the detail of the issue
// * `callout-banners` - section of the `issue-detail` with callout banners
// * `callout-banner` - single callout banner, inside `callout-banners`
// * `callout-banner-info` - callout with important information (default)
// * `callout-banner-warning` - callout with a warning
// * `callout-banner-error` - callout informing about an error (most severe)
// * `issue-content` - section of the `issue-detail`, contains multiple
// `content-element`
// * `content-element` - content element such as a list, link or paragraph,
// inside `issue-content`
// * `root-causes` - unordered list with items describing root causes of the
// issue, inside `issue-content`
// * `root-causes-intro` - intro text before the `root-causes` list, inside
// `issue-content`
// * `segment` - section of the text, `span` inside paragraph
// * `segment-attribute` - section of the text that represents a product
// attribute, for example 'image\_link'
// * `segment-literal` - section of the text that contains a special value,
// for example '0-1000 kg'
// * `segment-bold` - section of the text that should be rendered as bold
// * `segment-italic` - section of the text that should be rendered as
// italic
// * `tooltip` - used on paragraphs that should be rendered with a tooltip.
// A section of the text in such a paragraph will have a class
// `tooltip-text` and is intended to be shown in a mouse over dialog. If the
// style is not used, the `tooltip-text` section would be shown on a new
// line, after the main part of the text.
// * `tooltip-text` - marks a section of the text within a `tooltip`, that
// is intended to be shown in a mouse over dialog.
// * `tooltip-icon` - marks a section of the text within a `tooltip`, that
// can be replaced with a tooltip icon, for example '?' or 'i'. By default,
// this section contains a `br` tag, that is separating the main text and
// the tooltip text when the style is not used.
// * `tooltip-style-question` - the tooltip shows helpful information,
// can use the '?' as an icon.
// * `tooltip-style-info` - the tooltip adds additional information fitting
// to the context, can use the 'i' as an icon.
// * `content-moderation` - marks the paragraph that explains how the issue
// was identified.
// * `new-element` - Present for new elements added to the pre-rendered
// content in the future. To make sure that a new content element does not
// break your style, you can hide everything with this class.
PrerenderedContent string `protobuf:"bytes,3,opt,name=prerendered_content,json=prerenderedContent,proto3,oneof"`
}
type RenderedIssue_PrerenderedOutOfCourtDisputeSettlement ¶
type RenderedIssue_PrerenderedOutOfCourtDisputeSettlement struct {
// Pre-rendered HTML that contains a link to the external location where the
// ODS can be requested and instructions for how to request it. HTML
// elements contain CSS classes that can be used to customize the style of
// this snippet.
//
// Always sanitize the HTML before embedding it directly to your
// application. The sanitizer needs to allow basic HTML tags, such as:
// `div`, `span`, `p`, `a`, `ul`, `li`, `table`, `tr`, `td`. For example,
// you can use [DOMPurify](https://www.npmjs.com/package/dompurify).
//
// CSS classes:
//
// * `ods-section`* - wrapper around the out-of-court dispute resolution
// section
// * `ods-description`* - intro text for the out-of-court dispute
// resolution. It may contain multiple segments and a link.
// * `ods-param`* - wrapper around the header-value pair for parameters that
// the business may need to provide during the ODS process.
// * `ods-routing-id`* - ods param for the Routing ID.
// * `ods-reference-id`* - ods param for the Routing ID.
// * `ods-param-header`* - header for the ODS parameter
// * `ods-param-value`* - value of the ODS parameter. This value should be
// rendered in a way that it is easy for the user to identify and copy.
// * `segment` - section of the text, `span` inside paragraph
// * `segment-attribute` - section of the text that represents a product
// attribute, for example 'image\_link'
// * `segment-literal` - section of the text that contains a special value,
// for example '0-1000 kg'
// * `segment-bold` - section of the text that should be rendered as bold
// * `segment-italic` - section of the text that should be rendered as
// italic
// * `tooltip` - used on paragraphs that should be rendered with a tooltip.
// A section of the text in such a paragraph will have a class
// `tooltip-text` and is intended to be shown in a mouse over dialog. If the
// style is not used, the `tooltip-text` section would be shown on a new
// line, after the main part of the text.
// * `tooltip-text` - marks a section of the text within a `tooltip`, that
// is intended to be shown in a mouse over dialog.
// * `tooltip-icon` - marks a section of the text within a `tooltip`, that
// can be replaced with a tooltip icon, for example '?' or 'i'. By default,
// this section contains a `br` tag, that is separating the main text and
// the tooltip text when the style is not used.
// * `tooltip-style-question` - the tooltip shows helpful information,
// can use the '?' as an icon.
// * `tooltip-style-info` - the tooltip adds additional information fitting
// to the context, can use the 'i' as an icon.
PrerenderedOutOfCourtDisputeSettlement string `` /* 128-byte string literal not displayed */
}
type Severity ¶
type Severity int32
Enum specifying the severity of the issue.
const ( // Default value. Will never be provided by the API. Severity_SEVERITY_UNSPECIFIED Severity = 0 // Causes either an account suspension or an item disapproval. Errors should // be resolved as soon as possible to ensure items are eligible to appear in // results again. Severity_ERROR Severity = 1 // Warnings can negatively impact the performance of ads and can lead to item // or account suspensions in the future unless the issue is resolved. Severity_WARNING Severity = 2 // Infos are suggested optimizations to increase data quality. Resolving these // issues is recommended, but not required. Severity_INFO Severity = 3 )
func (Severity) Descriptor ¶
func (Severity) Descriptor() protoreflect.EnumDescriptor
func (Severity) EnumDescriptor
deprecated
func (Severity) Number ¶
func (x Severity) Number() protoreflect.EnumNumber
func (Severity) Type ¶
func (Severity) Type() protoreflect.EnumType
type TextWithTooltip ¶
type TextWithTooltip struct {
// Value of the text message. The form in which the value is returned is
// specified with the content option request field.
//
// Types that are valid to be assigned to Value:
//
// *TextWithTooltip_SimpleValue
Value isTextWithTooltip_Value `protobuf_oneof:"value"`
// Text that is meant to be shown in a tooltip for the main message. The
// tooltip is present when there is additional content needed to be available
// to the business. The form in which the value is returned is specified with
// the content option request field.
//
// Types that are valid to be assigned to TooltipValue:
//
// *TextWithTooltip_SimpleTooltipValue
TooltipValue isTextWithTooltip_TooltipValue `protobuf_oneof:"tooltip_value"`
// The suggested type of an icon for tooltip, if a tooltip is present.
TooltipIconStyle TextWithTooltip_TooltipIconStyle `` /* 198-byte string literal not displayed */
// contains filtered or unexported fields
}
Block of text that may contain a tooltip with more information.
func (*TextWithTooltip) Descriptor
deprecated
func (*TextWithTooltip) Descriptor() ([]byte, []int)
Deprecated: Use TextWithTooltip.ProtoReflect.Descriptor instead.
func (*TextWithTooltip) GetSimpleTooltipValue ¶
func (x *TextWithTooltip) GetSimpleTooltipValue() string
func (*TextWithTooltip) GetSimpleValue ¶
func (x *TextWithTooltip) GetSimpleValue() string
func (*TextWithTooltip) GetTooltipIconStyle ¶
func (x *TextWithTooltip) GetTooltipIconStyle() TextWithTooltip_TooltipIconStyle
func (*TextWithTooltip) GetTooltipValue ¶
func (x *TextWithTooltip) GetTooltipValue() isTextWithTooltip_TooltipValue
func (*TextWithTooltip) GetValue ¶
func (x *TextWithTooltip) GetValue() isTextWithTooltip_Value
func (*TextWithTooltip) ProtoMessage ¶
func (*TextWithTooltip) ProtoMessage()
func (*TextWithTooltip) ProtoReflect ¶
func (x *TextWithTooltip) ProtoReflect() protoreflect.Message
func (*TextWithTooltip) Reset ¶
func (x *TextWithTooltip) Reset()
func (*TextWithTooltip) String ¶
func (x *TextWithTooltip) String() string
type TextWithTooltip_SimpleTooltipValue ¶
type TextWithTooltip_SimpleTooltipValue struct {
// Value of the tooltip as a simple text.
SimpleTooltipValue string `protobuf:"bytes,2,opt,name=simple_tooltip_value,json=simpleTooltipValue,proto3,oneof"`
}
type TextWithTooltip_SimpleValue ¶
type TextWithTooltip_SimpleValue struct {
// Value of the message as a simple text.
SimpleValue string `protobuf:"bytes,1,opt,name=simple_value,json=simpleValue,proto3,oneof"`
}
type TextWithTooltip_TooltipIconStyle ¶
type TextWithTooltip_TooltipIconStyle int32
Enum specifying the type of an icon that is being used to display a corresponding tooltip in the Merchant Center.
const ( // Default value. Will never be provided by the API. TextWithTooltip_TOOLTIP_ICON_STYLE_UNSPECIFIED TextWithTooltip_TooltipIconStyle = 0 // Used when the tooltip adds additional information to the context, // the 'i' can be used as an icon. TextWithTooltip_INFO TextWithTooltip_TooltipIconStyle = 1 // Used when the tooltip shows helpful information, the '?' can be used as // an icon. TextWithTooltip_QUESTION TextWithTooltip_TooltipIconStyle = 2 )
func (TextWithTooltip_TooltipIconStyle) Descriptor ¶
func (TextWithTooltip_TooltipIconStyle) Descriptor() protoreflect.EnumDescriptor
func (TextWithTooltip_TooltipIconStyle) Enum ¶
func (x TextWithTooltip_TooltipIconStyle) Enum() *TextWithTooltip_TooltipIconStyle
func (TextWithTooltip_TooltipIconStyle) EnumDescriptor
deprecated
func (TextWithTooltip_TooltipIconStyle) EnumDescriptor() ([]byte, []int)
Deprecated: Use TextWithTooltip_TooltipIconStyle.Descriptor instead.
func (TextWithTooltip_TooltipIconStyle) Number ¶
func (x TextWithTooltip_TooltipIconStyle) Number() protoreflect.EnumNumber
func (TextWithTooltip_TooltipIconStyle) String ¶
func (x TextWithTooltip_TooltipIconStyle) String() string
func (TextWithTooltip_TooltipIconStyle) Type ¶
func (TextWithTooltip_TooltipIconStyle) Type() protoreflect.EnumType
type TriggerActionPayload ¶
type TriggerActionPayload struct {
// Required. The
// [context][google.shopping.merchant.issueresolution.v1beta.BuiltInUserInputAction.action_context]
// from the selected action. The value is obtained from rendered issues and
// needs to be sent back to identify the
// [action][google.shopping.merchant.issueresolution.v1beta.Action.builtin_user_input_action]
// that is being triggered.
ActionContext string `protobuf:"bytes,1,opt,name=action_context,json=actionContext,proto3" json:"action_context,omitempty"`
// Required. Input provided by the business.
ActionInput *ActionInput `protobuf:"bytes,2,opt,name=action_input,json=actionInput,proto3" json:"action_input,omitempty"`
// contains filtered or unexported fields
}
The payload for the triggered action.
func (*TriggerActionPayload) Descriptor
deprecated
func (*TriggerActionPayload) Descriptor() ([]byte, []int)
Deprecated: Use TriggerActionPayload.ProtoReflect.Descriptor instead.
func (*TriggerActionPayload) GetActionContext ¶
func (x *TriggerActionPayload) GetActionContext() string
func (*TriggerActionPayload) GetActionInput ¶
func (x *TriggerActionPayload) GetActionInput() *ActionInput
func (*TriggerActionPayload) ProtoMessage ¶
func (*TriggerActionPayload) ProtoMessage()
func (*TriggerActionPayload) ProtoReflect ¶
func (x *TriggerActionPayload) ProtoReflect() protoreflect.Message
func (*TriggerActionPayload) Reset ¶
func (x *TriggerActionPayload) Reset()
func (*TriggerActionPayload) String ¶
func (x *TriggerActionPayload) String() string
type TriggerActionRequest ¶
type TriggerActionRequest struct {
// Required. The business's account that is triggering the action.
// Format: `accounts/{account}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The payload for the triggered action.
Payload *TriggerActionPayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
// Optional. Language code [IETF BCP 47
// syntax](https://tools.ietf.org/html/bcp47) used to localize the response.
// If not set, the result will be in default language `en-US`.
LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// contains filtered or unexported fields
}
Request to start the selected action
func (*TriggerActionRequest) Descriptor
deprecated
func (*TriggerActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use TriggerActionRequest.ProtoReflect.Descriptor instead.
func (*TriggerActionRequest) GetLanguageCode ¶
func (x *TriggerActionRequest) GetLanguageCode() string
func (*TriggerActionRequest) GetName ¶
func (x *TriggerActionRequest) GetName() string
func (*TriggerActionRequest) GetPayload ¶
func (x *TriggerActionRequest) GetPayload() *TriggerActionPayload
func (*TriggerActionRequest) ProtoMessage ¶
func (*TriggerActionRequest) ProtoMessage()
func (*TriggerActionRequest) ProtoReflect ¶
func (x *TriggerActionRequest) ProtoReflect() protoreflect.Message
func (*TriggerActionRequest) Reset ¶
func (x *TriggerActionRequest) Reset()
func (*TriggerActionRequest) String ¶
func (x *TriggerActionRequest) String() string
type TriggerActionResponse ¶
type TriggerActionResponse struct {
// The message for the business.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
Response informing about the started action.
func (*TriggerActionResponse) Descriptor
deprecated
func (*TriggerActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use TriggerActionResponse.ProtoReflect.Descriptor instead.
func (*TriggerActionResponse) GetMessage ¶
func (x *TriggerActionResponse) GetMessage() string
func (*TriggerActionResponse) ProtoMessage ¶
func (*TriggerActionResponse) ProtoMessage()
func (*TriggerActionResponse) ProtoReflect ¶
func (x *TriggerActionResponse) ProtoReflect() protoreflect.Message
func (*TriggerActionResponse) Reset ¶
func (x *TriggerActionResponse) Reset()
func (*TriggerActionResponse) String ¶
func (x *TriggerActionResponse) String() string
type UnimplementedAggregateProductStatusesServiceServer ¶ added in v0.22.0
type UnimplementedAggregateProductStatusesServiceServer struct {
}
UnimplementedAggregateProductStatusesServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedAggregateProductStatusesServiceServer) ListAggregateProductStatuses ¶ added in v0.22.0
func (UnimplementedAggregateProductStatusesServiceServer) ListAggregateProductStatuses(context.Context, *ListAggregateProductStatusesRequest) (*ListAggregateProductStatusesResponse, error)
type UnimplementedIssueResolutionServiceServer ¶
type UnimplementedIssueResolutionServiceServer struct {
}
UnimplementedIssueResolutionServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedIssueResolutionServiceServer) RenderAccountIssues ¶
func (UnimplementedIssueResolutionServiceServer) RenderAccountIssues(context.Context, *RenderAccountIssuesRequest) (*RenderAccountIssuesResponse, error)
func (UnimplementedIssueResolutionServiceServer) RenderProductIssues ¶
func (UnimplementedIssueResolutionServiceServer) RenderProductIssues(context.Context, *RenderProductIssuesRequest) (*RenderProductIssuesResponse, error)
func (UnimplementedIssueResolutionServiceServer) TriggerAction ¶
func (UnimplementedIssueResolutionServiceServer) TriggerAction(context.Context, *TriggerActionRequest) (*TriggerActionResponse, error)
type UnsafeAggregateProductStatusesServiceServer ¶ added in v0.22.0
type UnsafeAggregateProductStatusesServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAggregateProductStatusesServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AggregateProductStatusesServiceServer will result in compilation errors.
type UnsafeIssueResolutionServiceServer ¶ added in v0.21.0
type UnsafeIssueResolutionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIssueResolutionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IssueResolutionServiceServer will result in compilation errors.
type UserInputActionRenderingOption ¶
type UserInputActionRenderingOption int32
Enum specifying how actions with user input forms, such as requesting re-review, are handled.
const ( // Default value. Will never be provided by the API. UserInputActionRenderingOption_USER_INPUT_ACTION_RENDERING_OPTION_UNSPECIFIED UserInputActionRenderingOption = 0 // Actions that require user input are represented only as links that points // the business to Merchant Center where they can request the action. Provides // easier to implement alternative to `BUILT_IN_USER_INPUT_ACTIONS`. UserInputActionRenderingOption_REDIRECT_TO_MERCHANT_CENTER UserInputActionRenderingOption = 1 // Returns content and input form definition for each complex action. Your // application needs to display this content and input form to the business // before they can request processing of the action. To start the action, your // application needs to call the `triggeraction` method. UserInputActionRenderingOption_BUILT_IN_USER_INPUT_ACTIONS UserInputActionRenderingOption = 2 )
func (UserInputActionRenderingOption) Descriptor ¶
func (UserInputActionRenderingOption) Descriptor() protoreflect.EnumDescriptor
func (UserInputActionRenderingOption) Enum ¶
func (x UserInputActionRenderingOption) Enum() *UserInputActionRenderingOption
func (UserInputActionRenderingOption) EnumDescriptor
deprecated
func (UserInputActionRenderingOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserInputActionRenderingOption.Descriptor instead.
func (UserInputActionRenderingOption) Number ¶
func (x UserInputActionRenderingOption) Number() protoreflect.EnumNumber
func (UserInputActionRenderingOption) String ¶
func (x UserInputActionRenderingOption) String() string
func (UserInputActionRenderingOption) Type ¶
func (UserInputActionRenderingOption) Type() protoreflect.EnumType