Package cloud.google.com/go/shopping/merchant/issueresolution/apiv1/issueresolutionpb (v1.0.0)

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.

File_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto

var File_google_shopping_merchant_issueresolution_v1_aggregateproductstatuses_proto protoreflect.FileDescriptor

File_google_shopping_merchant_issueresolution_v1_issueresolution_proto

var File_google_shopping_merchant_issueresolution_v1_issueresolution_proto protoreflect.FileDescriptor

Functions

func RegisterAggregateProductStatusesServiceServer

func RegisterAggregateProductStatusesServiceServer(s *grpc.Server, srv AggregateProductStatusesServiceServer)

func RegisterIssueResolutionServiceServer

func RegisterIssueResolutionServiceServer(s *grpc.Server, 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.v1.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.v1.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.v1.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.v1.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://godoc.org/google.golang.org/grpc#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.

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.v1.BuiltInSimpleAction_BuiltInSimpleActionType" json:"type,omitempty"`
	// The attribute that needs to be updated. Present when the
	// [type][google.shopping.merchant.issueresolution.v1.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.v1.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.v1.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.v1.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.v1.TriggerActionPayload.action_context]
	// in
	// [TriggerActionRequest.payload][google.shopping.merchant.issueresolution.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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 *InputField_TextInput) GetFormatInfo() string

func (*InputField_TextInput) GetType

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

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

InputField_TextInput_TextInputType

type InputField_TextInput_TextInputType int32

Enum specifying the type of the text input and how it should be rendered.

InputField_TextInput_TEXT_INPUT_TYPE_UNSPECIFIED, InputField_TextInput_GENERIC_SHORT_TEXT, InputField_TextInput_GENERIC_LONG_TEXT

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

func (InputField_TextInput_TextInputType) EnumDescriptor

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

Deprecated: Use InputField_TextInput_TextInputType.Descriptor instead.

func (InputField_TextInput_TextInputType) Number

func (InputField_TextInput_TextInputType) String

func (InputField_TextInput_TextInputType) Type

InputValue

type InputValue struct {

	// Value provided by the business.
	//
	// Types that are assignable to Value:
	//
	//	*InputValue_TextInputValue_
	//	*InputValue_ChoiceInputValue_
	//	*InputValue_CheckboxInputValue_
	Value isInputValue_Value `protobuf_oneof:"value"`
	// Required. [Id][google.shopping.merchant.issueresolution.v1.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

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

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.v1.InputField.CheckboxInput] field.

func (*InputValue_CheckboxInputValue) Descriptor

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

func (x *InputValue_CheckboxInputValue) Reset()

func (*InputValue_CheckboxInputValue) String

InputValue_CheckboxInputValue_

type InputValue_CheckboxInputValue_ struct {
	// Value for [checkbox
	// input][google.shopping.merchant.issueresolution.v1.InputField.CheckboxInput]
	// field.
	CheckboxInputValue *InputValue_CheckboxInputValue `protobuf:"bytes,4,opt,name=checkbox_input_value,json=checkboxInputValue,proto3,oneof"`
}

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.v1.InputField.ChoiceInput] field.

func (*InputValue_ChoiceInputValue) Descriptor

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

func (x *InputValue_ChoiceInputValue) Reset()

func (*InputValue_ChoiceInputValue) String

func (x *InputValue_ChoiceInputValue) String() string

InputValue_ChoiceInputValue_

type InputValue_ChoiceInputValue_ struct {
	// Value for [choice
	// input][google.shopping.merchant.issueresolution.v1.InputField.ChoiceInput]
	// field.
	ChoiceInputValue *InputValue_ChoiceInputValue `protobuf:"bytes,3,opt,name=choice_input_value,json=choiceInputValue,proto3,oneof"`
}

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.v1.InputField.TextInput] field.

func (*InputValue_TextInputValue) Descriptor

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

func (x *InputValue_TextInputValue) Reset()

func (*InputValue_TextInputValue) String

func (x *InputValue_TextInputValue) String() string

InputValue_TextInputValue_

type InputValue_TextInputValue_ struct {
	// Value for [text
	// input][google.shopping.merchant.issueresolution.v1.InputField.TextInput]
	// field.
	TextInputValue *InputValue_TextInputValue `protobuf:"bytes,2,opt,name=text_input_value,json=textInputValue,proto3,oneof"`
}

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.v1.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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewIssueResolutionServiceClient

func NewIssueResolutionServiceClient(cc grpc.ClientConnInterface) IssueResolutionServiceClient

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

ListAggregateProductStatusesRequest

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

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

Deprecated: Use ListAggregateProductStatusesRequest.ProtoReflect.Descriptor instead.

func (*ListAggregateProductStatusesRequest) GetFilter

func (*ListAggregateProductStatusesRequest) GetPageSize

func (x *ListAggregateProductStatusesRequest) GetPageSize() int32

func (*ListAggregateProductStatusesRequest) GetPageToken

func (x *ListAggregateProductStatusesRequest) GetPageToken() string

func (*ListAggregateProductStatusesRequest) GetParent

func (*ListAggregateProductStatusesRequest) ProtoMessage

func (*ListAggregateProductStatusesRequest) ProtoMessage()

func (*ListAggregateProductStatusesRequest) ProtoReflect

func (*ListAggregateProductStatusesRequest) Reset

func (*ListAggregateProductStatusesRequest) String

ListAggregateProductStatusesResponse

type ListAggregateProductStatusesResponse struct {

	// The `AggregateProductStatuses` resources for the given account.
	AggregateProductStatuses []*AggregateProductStatus `protobuf:"bytes,1,rep,name=aggregate_product_statuses,json=aggregateProductStatuses,proto3" json:"aggregate_product_statuses,omitempty"`
	// 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

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

Deprecated: Use ListAggregateProductStatusesResponse.ProtoReflect.Descriptor instead.

func (*ListAggregateProductStatusesResponse) GetAggregateProductStatuses

func (x *ListAggregateProductStatusesResponse) GetAggregateProductStatuses() []*AggregateProductStatus

func (*ListAggregateProductStatusesResponse) GetNextPageToken

func (x *ListAggregateProductStatusesResponse) GetNextPageToken() string

func (*ListAggregateProductStatusesResponse) ProtoMessage

func (*ListAggregateProductStatusesResponse) ProtoMessage()

func (*ListAggregateProductStatusesResponse) ProtoReflect

func (*ListAggregateProductStatusesResponse) Reset

func (*ListAggregateProductStatusesResponse) String

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

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 (*RenderAccountIssuesRequest) GetTimeZone

func (x *RenderAccountIssuesRequest) GetTimeZone() string

func (*RenderAccountIssuesRequest) ProtoMessage

func (*RenderAccountIssuesRequest) ProtoMessage()

func (*RenderAccountIssuesRequest) ProtoReflect

func (*RenderAccountIssuesRequest) Reset

func (x *RenderAccountIssuesRequest) Reset()

func (*RenderAccountIssuesRequest) String

func (x *RenderAccountIssuesRequest) String() string

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.v1.RenderedIssue.prerendered_content]
	// and available
	// [actions][google.shopping.merchant.issueresolution.v1.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

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

func (x *RenderAccountIssuesResponse) Reset()

func (*RenderAccountIssuesResponse) String

func (x *RenderAccountIssuesResponse) String() string

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 `protobuf:"varint,1,opt,name=content_option,json=contentOption,proto3,enum=google.shopping.merchant.issueresolution.v1.ContentOption,oneof" json:"content_option,omitempty"`
	// 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 `protobuf:"varint,2,opt,name=user_input_action_option,json=userInputActionOption,proto3,enum=google.shopping.merchant.issueresolution.v1.UserInputActionRenderingOption,oneof" json:"user_input_action_option,omitempty"`
	// contains filtered or unexported fields
}

The payload for configuring how the content should be rendered.

func (*RenderIssuesRequestPayload) Descriptor

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

func (x *RenderIssuesRequestPayload) Reset()

func (*RenderIssuesRequestPayload) String

func (x *RenderIssuesRequestPayload) String() string

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

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 (*RenderProductIssuesRequest) GetTimeZone

func (x *RenderProductIssuesRequest) GetTimeZone() string

func (*RenderProductIssuesRequest) ProtoMessage

func (*RenderProductIssuesRequest) ProtoMessage()

func (*RenderProductIssuesRequest) ProtoReflect

func (*RenderProductIssuesRequest) Reset

func (x *RenderProductIssuesRequest) Reset()

func (*RenderProductIssuesRequest) String

func (x *RenderProductIssuesRequest) String() string

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.v1.RenderedIssue.title]
	// and
	// [impact][google.shopping.merchant.issueresolution.v1.RenderedIssue.impact]
	// should be shown for each issue. Once the issue is expanded, the detailed
	// [content][google.shopping.merchant.issueresolution.v1.RenderedIssue.prerendered_content]
	// and available
	// [actions][google.shopping.merchant.issueresolution.v1.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

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

func (x *RenderProductIssuesResponse) Reset()

func (*RenderProductIssuesResponse) String

func (x *RenderProductIssuesResponse) String() string

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.v1.RenderIssuesRequestPayload.content_option]
	// request field.
	//
	// Types that are assignable 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.v1.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 assignable 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.v1.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.v1.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.v1.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

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

Deprecated: Use RenderedIssue.ProtoReflect.Descriptor instead.

func (*RenderedIssue) GetActions

func (x *RenderedIssue) GetActions() []*Action

func (*RenderedIssue) GetContent

func (m *RenderedIssue) GetContent() isRenderedIssue_Content

func (*RenderedIssue) GetImpact

func (x *RenderedIssue) GetImpact() *Impact

func (*RenderedIssue) GetOutOfCourtDisputeSettlement

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

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

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 `protobuf:"bytes,5,opt,name=prerendered_out_of_court_dispute_settlement,json=prerenderedOutOfCourtDisputeSettlement,proto3,oneof"`
}

Severity

type Severity int32

Enum specifying the severity of the issue.

Severity_SEVERITY_UNSPECIFIED, Severity_ERROR, Severity_WARNING, Severity_INFO

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

func (x Severity) Enum() *Severity

func (Severity) EnumDescriptor

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

Deprecated: Use Severity.Descriptor instead.

func (Severity) Number

func (x Severity) Number() protoreflect.EnumNumber

func (Severity) String

func (x Severity) String() string

func (Severity) 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 assignable 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 assignable 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 `protobuf:"varint,3,opt,name=tooltip_icon_style,json=tooltipIconStyle,proto3,enum=google.shopping.merchant.issueresolution.v1.TextWithTooltip_TooltipIconStyle" json:"tooltip_icon_style,omitempty"`
	// contains filtered or unexported fields
}

Block of text that may contain a tooltip with more information.

func (*TextWithTooltip) Descriptor

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 (m *TextWithTooltip) GetTooltipValue() isTextWithTooltip_TooltipValue

func (*TextWithTooltip) GetValue

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

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

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

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.

TextWithTooltip_TOOLTIP_ICON_STYLE_UNSPECIFIED, TextWithTooltip_INFO, TextWithTooltip_QUESTION

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

func (TextWithTooltip_TooltipIconStyle) EnumDescriptor

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

Deprecated: Use TextWithTooltip_TooltipIconStyle.Descriptor instead.

func (TextWithTooltip_TooltipIconStyle) Number

func (TextWithTooltip_TooltipIconStyle) String

func (TextWithTooltip_TooltipIconStyle) Type

TriggerActionPayload

type TriggerActionPayload struct {

	// Required. The
	// [context][google.shopping.merchant.issueresolution.v1.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.v1.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

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

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

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

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

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

UnimplementedAggregateProductStatusesServiceServer

type UnimplementedAggregateProductStatusesServiceServer struct {
}

UnimplementedAggregateProductStatusesServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAggregateProductStatusesServiceServer) ListAggregateProductStatuses

UnimplementedIssueResolutionServiceServer

type UnimplementedIssueResolutionServiceServer struct {
}

UnimplementedIssueResolutionServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedIssueResolutionServiceServer) RenderAccountIssues

func (*UnimplementedIssueResolutionServiceServer) RenderProductIssues

func (*UnimplementedIssueResolutionServiceServer) TriggerAction

UserInputActionRenderingOption

type UserInputActionRenderingOption int32

Enum specifying how actions with user input forms, such as requesting re-review, are handled.

UserInputActionRenderingOption_USER_INPUT_ACTION_RENDERING_OPTION_UNSPECIFIED, UserInputActionRenderingOption_REDIRECT_TO_MERCHANT_CENTER, UserInputActionRenderingOption_BUILT_IN_USER_INPUT_ACTIONS

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

func (UserInputActionRenderingOption) EnumDescriptor

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

Deprecated: Use UserInputActionRenderingOption.Descriptor instead.

func (UserInputActionRenderingOption) Number

func (UserInputActionRenderingOption) String

func (UserInputActionRenderingOption) Type