Package cloud.google.com/go/shopping/merchant/issueresolution/apiv1beta/issueresolutionpb (v0.22.0)

Constants

IssueResolutionService_RenderAccountIssues_FullMethodName, IssueResolutionService_RenderProductIssues_FullMethodName, IssueResolutionService_TriggerAction_FullMethodName

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

AggregateProductStatusesService_ListAggregateProductStatuses_FullMethodName

const (
	AggregateProductStatusesService_ListAggregateProductStatuses_FullMethodName = "/google.shopping.merchant.issueresolution.v1beta.AggregateProductStatusesService/ListAggregateProductStatuses"
)

Variables

AggregateProductStatus_ItemLevelIssue_Severity_name, AggregateProductStatus_ItemLevelIssue_Severity_value

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.

AggregateProductStatus_ItemLevelIssue_Resolution_name, AggregateProductStatus_ItemLevelIssue_Resolution_value

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.

Severity_name, Severity_value

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.

ContentOption_name, ContentOption_value

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.

UserInputActionRenderingOption_name, UserInputActionRenderingOption_value

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.

BuiltInSimpleAction_BuiltInSimpleActionType_name, BuiltInSimpleAction_BuiltInSimpleActionType_value

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.

InputField_TextInput_TextInputType_name, InputField_TextInput_TextInputType_value

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.

TextWithTooltip_TooltipIconStyle_name, TextWithTooltip_TooltipIconStyle_value

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.

Callout_CalloutStyleHint_name, Callout_CalloutStyleHint_value

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.

ExternalAction_ExternalActionType_name, ExternalAction_ExternalActionType_value

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.

AggregateProductStatusesService_ServiceDesc

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)

File_google_shopping_merchant_issueresolution_v1beta_aggregateproductstatuses_proto

var File_google_shopping_merchant_issueresolution_v1beta_aggregateproductstatuses_proto protoreflect.FileDescriptor

File_google_shopping_merchant_issueresolution_v1beta_issueresolution_proto

var File_google_shopping_merchant_issueresolution_v1beta_issueresolution_proto protoreflect.FileDescriptor

IssueResolutionService_ServiceDesc

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

func RegisterAggregateProductStatusesServiceServer(s grpc.ServiceRegistrar, srv AggregateProductStatusesServiceServer)

func RegisterIssueResolutionServiceServer

func RegisterIssueResolutionServiceServer(s grpc.ServiceRegistrar, srv IssueResolutionServiceServer)

Action

type Action struct {

	// An actionable step that can be executed to solve the issue.
	//
	// Types that are assignable 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

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

Deprecated: Use Action.ProtoReflect.Descriptor instead.

func (*Action) GetAction

func (m *Action) GetAction() isAction_Action

func (*Action) GetBuiltinSimpleAction

func (x *Action) GetBuiltinSimpleAction() *BuiltInSimpleAction

func (*Action) GetBuiltinUserInputAction

func (x *Action) GetBuiltinUserInputAction() *BuiltInUserInputAction

func (*Action) GetButtonLabel

func (x *Action) GetButtonLabel() string

func (*Action) GetExternalAction

func (x *Action) GetExternalAction() *ExternalAction

func (*Action) GetIsAvailable

func (x *Action) GetIsAvailable() bool

func (*Action) GetReasons

func (x *Action) GetReasons() []*Action_Reason

func (*Action) ProtoMessage

func (*Action) ProtoMessage()

func (*Action) ProtoReflect

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

func (*Action) Reset

func (x *Action) Reset()

func (*Action) String

func (x *Action) String() string

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

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

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

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

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

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

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

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

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

AggregateProductStatus

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 `protobuf:"varint,3,opt,name=reporting_context,json=reportingContext,proto3,enum=google.shopping.type.ReportingContext_ReportingContextEnum" json:"reporting_context,omitempty"`
	// 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

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

Deprecated: Use AggregateProductStatus.ProtoReflect.Descriptor instead.

func (*AggregateProductStatus) GetCountry

func (x *AggregateProductStatus) GetCountry() string

func (*AggregateProductStatus) GetItemLevelIssues

func (*AggregateProductStatus) GetName

func (x *AggregateProductStatus) GetName() string

func (*AggregateProductStatus) GetReportingContext

func (*AggregateProductStatus) GetStats

func (*AggregateProductStatus) ProtoMessage

func (*AggregateProductStatus) ProtoMessage()

func (*AggregateProductStatus) ProtoReflect

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

func (*AggregateProductStatus) Reset

func (x *AggregateProductStatus) Reset()

func (*AggregateProductStatus) String

func (x *AggregateProductStatus) String() string

AggregateProductStatus_ItemLevelIssue

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 `protobuf:"varint,2,opt,name=severity,proto3,enum=google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus_ItemLevelIssue_Severity" json:"severity,omitempty"`
	// Whether the issue can be resolved by the merchant.
	Resolution AggregateProductStatus_ItemLevelIssue_Resolution `protobuf:"varint,3,opt,name=resolution,proto3,enum=google.shopping.merchant.issueresolution.v1beta.AggregateProductStatus_ItemLevelIssue_Resolution" json:"resolution,omitempty"`
	// 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

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

Deprecated: Use AggregateProductStatus_ItemLevelIssue.ProtoReflect.Descriptor instead.

func (*AggregateProductStatus_ItemLevelIssue) GetAttribute

func (*AggregateProductStatus_ItemLevelIssue) GetCode

func (*AggregateProductStatus_ItemLevelIssue) GetDescription

func (x *AggregateProductStatus_ItemLevelIssue) GetDescription() string

func (*AggregateProductStatus_ItemLevelIssue) GetDetail

func (*AggregateProductStatus_ItemLevelIssue) GetDocumentationUri

func (x *AggregateProductStatus_ItemLevelIssue) GetDocumentationUri() string

func (*AggregateProductStatus_ItemLevelIssue) GetProductCount

func (x *AggregateProductStatus_ItemLevelIssue) GetProductCount() int64

func (*AggregateProductStatus_ItemLevelIssue) GetResolution

func (*AggregateProductStatus_ItemLevelIssue) GetSeverity

func (*AggregateProductStatus_ItemLevelIssue) ProtoMessage

func (*AggregateProductStatus_ItemLevelIssue) ProtoMessage()

func (*AggregateProductStatus_ItemLevelIssue) ProtoReflect

func (*AggregateProductStatus_ItemLevelIssue) Reset

func (*AggregateProductStatus_ItemLevelIssue) String

AggregateProductStatus_ItemLevelIssue_Resolution

type AggregateProductStatus_ItemLevelIssue_Resolution int32

How the issue can be resolved.

AggregateProductStatus_ItemLevelIssue_RESOLUTION_UNSPECIFIED, AggregateProductStatus_ItemLevelIssue_MERCHANT_ACTION, AggregateProductStatus_ItemLevelIssue_PENDING_PROCESSING

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

func (AggregateProductStatus_ItemLevelIssue_Resolution) Enum

func (AggregateProductStatus_ItemLevelIssue_Resolution) EnumDescriptor

Deprecated: Use AggregateProductStatus_ItemLevelIssue_Resolution.Descriptor instead.

func (AggregateProductStatus_ItemLevelIssue_Resolution) Number

func (AggregateProductStatus_ItemLevelIssue_Resolution) String

func (AggregateProductStatus_ItemLevelIssue_Resolution) Type

AggregateProductStatus_ItemLevelIssue_Severity

type AggregateProductStatus_ItemLevelIssue_Severity int32

How the issue affects the serving of the product.

AggregateProductStatus_ItemLevelIssue_SEVERITY_UNSPECIFIED, AggregateProductStatus_ItemLevelIssue_NOT_IMPACTED, AggregateProductStatus_ItemLevelIssue_DEMOTED, AggregateProductStatus_ItemLevelIssue_DISAPPROVED

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

func (AggregateProductStatus_ItemLevelIssue_Severity) Enum

func (AggregateProductStatus_ItemLevelIssue_Severity) EnumDescriptor

Deprecated: Use AggregateProductStatus_ItemLevelIssue_Severity.Descriptor instead.

func (AggregateProductStatus_ItemLevelIssue_Severity) Number

func (AggregateProductStatus_ItemLevelIssue_Severity) String

func (AggregateProductStatus_ItemLevelIssue_Severity) Type

AggregateProductStatus_Stats

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

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

Deprecated: Use AggregateProductStatus_Stats.ProtoReflect.Descriptor instead.

func (*AggregateProductStatus_Stats) GetActiveCount

func (x *AggregateProductStatus_Stats) GetActiveCount() int64

func (*AggregateProductStatus_Stats) GetDisapprovedCount

func (x *AggregateProductStatus_Stats) GetDisapprovedCount() int64

func (*AggregateProductStatus_Stats) GetExpiringCount

func (x *AggregateProductStatus_Stats) GetExpiringCount() int64

func (*AggregateProductStatus_Stats) GetPendingCount

func (x *AggregateProductStatus_Stats) GetPendingCount() int64

func (*AggregateProductStatus_Stats) ProtoMessage

func (*AggregateProductStatus_Stats) ProtoMessage()

func (*AggregateProductStatus_Stats) ProtoReflect

func (*AggregateProductStatus_Stats) Reset

func (x *AggregateProductStatus_Stats) Reset()

func (*AggregateProductStatus_Stats) String

AggregateProductStatusesServiceClient

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

func NewAggregateProductStatusesServiceClient(cc grpc.ClientConnInterface) AggregateProductStatusesServiceClient

AggregateProductStatusesServiceServer

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

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

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

Deprecated: Use Breakdown.ProtoReflect.Descriptor instead.

func (*Breakdown) GetDetails

func (x *Breakdown) GetDetails() []string

func (*Breakdown) GetRegions

func (x *Breakdown) GetRegions() []*Breakdown_Region

func (*Breakdown) ProtoMessage

func (*Breakdown) ProtoMessage()

func (*Breakdown) ProtoReflect

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

func (*Breakdown) Reset

func (x *Breakdown) Reset()

func (*Breakdown) String

func (x *Breakdown) String() string

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

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

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 `protobuf:"varint,1,opt,name=type,proto3,enum=google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction_BuiltInSimpleActionType" json:"type,omitempty"`
	// 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

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

Deprecated: Use BuiltInSimpleAction.ProtoReflect.Descriptor instead.

func (*BuiltInSimpleAction) GetAdditionalContent

func (*BuiltInSimpleAction) GetAttributeCode

func (x *BuiltInSimpleAction) GetAttributeCode() string

func (*BuiltInSimpleAction) GetType

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

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

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 (*BuiltInSimpleAction_AdditionalContent) ProtoMessage

func (*BuiltInSimpleAction_AdditionalContent) ProtoMessage()

func (*BuiltInSimpleAction_AdditionalContent) ProtoReflect

func (*BuiltInSimpleAction_AdditionalContent) Reset

func (*BuiltInSimpleAction_AdditionalContent) String

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

func (BuiltInSimpleAction_BuiltInSimpleActionType) EnumDescriptor

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

Deprecated: Use BuiltInSimpleAction_BuiltInSimpleActionType.Descriptor instead.

func (BuiltInSimpleAction_BuiltInSimpleActionType) Number

func (BuiltInSimpleAction_BuiltInSimpleActionType) String

func (BuiltInSimpleAction_BuiltInSimpleActionType) 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.

func (*BuiltInUserInputAction) Descriptor

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

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 `protobuf:"varint,1,opt,name=style_hint,json=styleHint,proto3,enum=google.shopping.merchant.issueresolution.v1beta.Callout_CalloutStyleHint" json:"style_hint,omitempty"`
	// 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

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

Deprecated: Use Callout.ProtoReflect.Descriptor instead.

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

func (*Callout) Reset

func (x *Callout) Reset()

func (*Callout) String

func (x *Callout) String() string

Callout_CalloutStyleHint

type Callout_CalloutStyleHint int32

Enum specifying the suggested style, how the message should be rendered.

Callout_CALLOUT_STYLE_HINT_UNSPECIFIED, Callout_ERROR, Callout_WARNING, Callout_INFO

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

func (Callout_CalloutStyleHint) EnumDescriptor

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

Deprecated: Use Callout_CalloutStyleHint.Descriptor instead.

func (Callout_CalloutStyleHint) Number

func (Callout_CalloutStyleHint) String

func (x Callout_CalloutStyleHint) String() string

func (Callout_CalloutStyleHint) Type

ContentOption

type ContentOption int32

Enum specifying how is the content returned.

ContentOption_CONTENT_OPTION_UNSPECIFIED, ContentOption_PRE_RENDERED_HTML

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

func (x ContentOption) Enum() *ContentOption

func (ContentOption) EnumDescriptor

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

Deprecated: Use ContentOption.Descriptor instead.

func (ContentOption) Number

func (ContentOption) String

func (x ContentOption) String() string

func (ContentOption) Type

ExternalAction

type ExternalAction struct {

	// The type of external action.
	Type ExternalAction_ExternalActionType `protobuf:"varint,1,opt,name=type,proto3,enum=google.shopping.merchant.issueresolution.v1beta.ExternalAction_ExternalActionType" json:"type,omitempty"`
	// 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

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

Deprecated: Use ExternalAction.ProtoReflect.Descriptor instead.

func (*ExternalAction) GetType

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

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

func (ExternalAction_ExternalActionType) EnumDescriptor

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

Deprecated: Use ExternalAction_ExternalActionType.Descriptor instead.

func (ExternalAction_ExternalActionType) Number

func (ExternalAction_ExternalActionType) String

func (ExternalAction_ExternalActionType) 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 `protobuf:"varint,2,opt,name=severity,proto3,enum=google.shopping.merchant.issueresolution.v1beta.Severity" json:"severity,omitempty"`
	// 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

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

Deprecated: Use Impact.ProtoReflect.Descriptor instead.

func (*Impact) GetBreakdowns

func (x *Impact) GetBreakdowns() []*Breakdown

func (*Impact) GetMessage

func (x *Impact) GetMessage() string

func (*Impact) GetSeverity

func (x *Impact) GetSeverity() Severity

func (*Impact) ProtoMessage

func (*Impact) ProtoMessage()

func (*Impact) ProtoReflect

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

func (*Impact) Reset

func (x *Impact) Reset()

func (*Impact) String

func (x *Impact) String() string

InputField

type InputField struct {

	// Specific type of the input field.
	//
	// Types that are assignable 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

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 (m *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

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.

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

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

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

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

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

Deprecated: Use InputField_ChoiceInput.ProtoReflect.Descriptor instead.

func (*InputField_ChoiceInput) GetOptions

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

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

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

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 (*InputField_ChoiceInput_ChoiceInputOption) GetLabel

func (*InputField_ChoiceInput_ChoiceInputOption) ProtoMessage

func (*InputField_ChoiceInput_ChoiceInputOption) ProtoReflect

func (*InputField_ChoiceInput_ChoiceInputOption) Reset

func (*InputField_ChoiceInput_ChoiceInputOption) String

InputField_TextInput

type InputField_TextInput struct {

	// Type of the text input
	Type InputField_TextInput_TextInputType `protobuf:"varint,1,opt,name=type,proto3,enum=google.shopping.merchant.issueresolution.v1beta.InputField_TextInput_TextInputType" json:"type,omitempty"`
	// 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

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 *