Package cloud.google.com/go/shopping/merchant/accounts/apiv1/accountspb (v1.2.1)

Constants

AccountRelationshipsService_GetAccountRelationship_FullMethodName, AccountRelationshipsService_UpdateAccountRelationship_FullMethodName, AccountRelationshipsService_ListAccountRelationships_FullMethodName

const (
	AccountRelationshipsService_GetAccountRelationship_FullMethodName    = "/google.shopping.merchant.accounts.v1.AccountRelationshipsService/GetAccountRelationship"
	AccountRelationshipsService_UpdateAccountRelationship_FullMethodName = "/google.shopping.merchant.accounts.v1.AccountRelationshipsService/UpdateAccountRelationship"
	AccountRelationshipsService_ListAccountRelationships_FullMethodName  = "/google.shopping.merchant.accounts.v1.AccountRelationshipsService/ListAccountRelationships"
)

AccountsService_GetAccount_FullMethodName, AccountsService_CreateAndConfigureAccount_FullMethodName, AccountsService_DeleteAccount_FullMethodName, AccountsService_UpdateAccount_FullMethodName, AccountsService_ListAccounts_FullMethodName, AccountsService_ListSubAccounts_FullMethodName

const (
	AccountsService_GetAccount_FullMethodName                = "/google.shopping.merchant.accounts.v1.AccountsService/GetAccount"
	AccountsService_CreateAndConfigureAccount_FullMethodName = "/google.shopping.merchant.accounts.v1.AccountsService/CreateAndConfigureAccount"
	AccountsService_DeleteAccount_FullMethodName             = "/google.shopping.merchant.accounts.v1.AccountsService/DeleteAccount"
	AccountsService_UpdateAccount_FullMethodName             = "/google.shopping.merchant.accounts.v1.AccountsService/UpdateAccount"
	AccountsService_ListAccounts_FullMethodName              = "/google.shopping.merchant.accounts.v1.AccountsService/ListAccounts"
	AccountsService_ListSubAccounts_FullMethodName           = "/google.shopping.merchant.accounts.v1.AccountsService/ListSubAccounts"
)

AccountServicesService_GetAccountService_FullMethodName, AccountServicesService_ListAccountServices_FullMethodName, AccountServicesService_ProposeAccountService_FullMethodName, AccountServicesService_ApproveAccountService_FullMethodName, AccountServicesService_RejectAccountService_FullMethodName

const (
	AccountServicesService_GetAccountService_FullMethodName     = "/google.shopping.merchant.accounts.v1.AccountServicesService/GetAccountService"
	AccountServicesService_ListAccountServices_FullMethodName   = "/google.shopping.merchant.accounts.v1.AccountServicesService/ListAccountServices"
	AccountServicesService_ProposeAccountService_FullMethodName = "/google.shopping.merchant.accounts.v1.AccountServicesService/ProposeAccountService"
	AccountServicesService_ApproveAccountService_FullMethodName = "/google.shopping.merchant.accounts.v1.AccountServicesService/ApproveAccountService"
	AccountServicesService_RejectAccountService_FullMethodName  = "/google.shopping.merchant.accounts.v1.AccountServicesService/RejectAccountService"
)

AutofeedSettingsService_GetAutofeedSettings_FullMethodName, AutofeedSettingsService_UpdateAutofeedSettings_FullMethodName

const (
	AutofeedSettingsService_GetAutofeedSettings_FullMethodName    = "/google.shopping.merchant.accounts.v1.AutofeedSettingsService/GetAutofeedSettings"
	AutofeedSettingsService_UpdateAutofeedSettings_FullMethodName = "/google.shopping.merchant.accounts.v1.AutofeedSettingsService/UpdateAutofeedSettings"
)

AutomaticImprovementsService_GetAutomaticImprovements_FullMethodName, AutomaticImprovementsService_UpdateAutomaticImprovements_FullMethodName

const (
	AutomaticImprovementsService_GetAutomaticImprovements_FullMethodName    = "/google.shopping.merchant.accounts.v1.AutomaticImprovementsService/GetAutomaticImprovements"
	AutomaticImprovementsService_UpdateAutomaticImprovements_FullMethodName = "/google.shopping.merchant.accounts.v1.AutomaticImprovementsService/UpdateAutomaticImprovements"
)

BusinessIdentityService_GetBusinessIdentity_FullMethodName, BusinessIdentityService_UpdateBusinessIdentity_FullMethodName

const (
	BusinessIdentityService_GetBusinessIdentity_FullMethodName    = "/google.shopping.merchant.accounts.v1.BusinessIdentityService/GetBusinessIdentity"
	BusinessIdentityService_UpdateBusinessIdentity_FullMethodName = "/google.shopping.merchant.accounts.v1.BusinessIdentityService/UpdateBusinessIdentity"
)

BusinessInfoService_GetBusinessInfo_FullMethodName, BusinessInfoService_UpdateBusinessInfo_FullMethodName

const (
	BusinessInfoService_GetBusinessInfo_FullMethodName    = "/google.shopping.merchant.accounts.v1.BusinessInfoService/GetBusinessInfo"
	BusinessInfoService_UpdateBusinessInfo_FullMethodName = "/google.shopping.merchant.accounts.v1.BusinessInfoService/UpdateBusinessInfo"
)

CheckoutSettingsService_GetCheckoutSettings_FullMethodName, CheckoutSettingsService_CreateCheckoutSettings_FullMethodName, CheckoutSettingsService_UpdateCheckoutSettings_FullMethodName, CheckoutSettingsService_DeleteCheckoutSettings_FullMethodName

const (
	CheckoutSettingsService_GetCheckoutSettings_FullMethodName    = "/google.shopping.merchant.accounts.v1.CheckoutSettingsService/GetCheckoutSettings"
	CheckoutSettingsService_CreateCheckoutSettings_FullMethodName = "/google.shopping.merchant.accounts.v1.CheckoutSettingsService/CreateCheckoutSettings"
	CheckoutSettingsService_UpdateCheckoutSettings_FullMethodName = "/google.shopping.merchant.accounts.v1.CheckoutSettingsService/UpdateCheckoutSettings"
	CheckoutSettingsService_DeleteCheckoutSettings_FullMethodName = "/google.shopping.merchant.accounts.v1.CheckoutSettingsService/DeleteCheckoutSettings"
)

DeveloperRegistrationService_RegisterGcp_FullMethodName, DeveloperRegistrationService_GetDeveloperRegistration_FullMethodName, DeveloperRegistrationService_UnregisterGcp_FullMethodName

const (
	DeveloperRegistrationService_RegisterGcp_FullMethodName              = "/google.shopping.merchant.accounts.v1.DeveloperRegistrationService/RegisterGcp"
	DeveloperRegistrationService_GetDeveloperRegistration_FullMethodName = "/google.shopping.merchant.accounts.v1.DeveloperRegistrationService/GetDeveloperRegistration"
	DeveloperRegistrationService_UnregisterGcp_FullMethodName            = "/google.shopping.merchant.accounts.v1.DeveloperRegistrationService/UnregisterGcp"
)

EmailPreferencesService_GetEmailPreferences_FullMethodName, EmailPreferencesService_UpdateEmailPreferences_FullMethodName

const (
	EmailPreferencesService_GetEmailPreferences_FullMethodName    = "/google.shopping.merchant.accounts.v1.EmailPreferencesService/GetEmailPreferences"
	EmailPreferencesService_UpdateEmailPreferences_FullMethodName = "/google.shopping.merchant.accounts.v1.EmailPreferencesService/UpdateEmailPreferences"
)

GbpAccountsService_ListGbpAccounts_FullMethodName, GbpAccountsService_LinkGbpAccount_FullMethodName

const (
	GbpAccountsService_ListGbpAccounts_FullMethodName = "/google.shopping.merchant.accounts.v1.GbpAccountsService/ListGbpAccounts"
	GbpAccountsService_LinkGbpAccount_FullMethodName  = "/google.shopping.merchant.accounts.v1.GbpAccountsService/LinkGbpAccount"
)

HomepageService_GetHomepage_FullMethodName, HomepageService_UpdateHomepage_FullMethodName, HomepageService_ClaimHomepage_FullMethodName, HomepageService_UnclaimHomepage_FullMethodName

const (
	HomepageService_GetHomepage_FullMethodName     = "/google.shopping.merchant.accounts.v1.HomepageService/GetHomepage"
	HomepageService_UpdateHomepage_FullMethodName  = "/google.shopping.merchant.accounts.v1.HomepageService/UpdateHomepage"
	HomepageService_ClaimHomepage_FullMethodName   = "/google.shopping.merchant.accounts.v1.HomepageService/ClaimHomepage"
	HomepageService_UnclaimHomepage_FullMethodName = "/google.shopping.merchant.accounts.v1.HomepageService/UnclaimHomepage"
)

LfpProvidersService_FindLfpProviders_FullMethodName, LfpProvidersService_LinkLfpProvider_FullMethodName

const (
	LfpProvidersService_FindLfpProviders_FullMethodName = "/google.shopping.merchant.accounts.v1.LfpProvidersService/FindLfpProviders"
	LfpProvidersService_LinkLfpProvider_FullMethodName  = "/google.shopping.merchant.accounts.v1.LfpProvidersService/LinkLfpProvider"
)

OmnichannelSettingsService_GetOmnichannelSetting_FullMethodName, OmnichannelSettingsService_ListOmnichannelSettings_FullMethodName, OmnichannelSettingsService_CreateOmnichannelSetting_FullMethodName, OmnichannelSettingsService_UpdateOmnichannelSetting_FullMethodName, OmnichannelSettingsService_RequestInventoryVerification_FullMethodName

const (
	OmnichannelSettingsService_GetOmnichannelSetting_FullMethodName        = "/google.shopping.merchant.accounts.v1.OmnichannelSettingsService/GetOmnichannelSetting"
	OmnichannelSettingsService_ListOmnichannelSettings_FullMethodName      = "/google.shopping.merchant.accounts.v1.OmnichannelSettingsService/ListOmnichannelSettings"
	OmnichannelSettingsService_CreateOmnichannelSetting_FullMethodName     = "/google.shopping.merchant.accounts.v1.OmnichannelSettingsService/CreateOmnichannelSetting"
	OmnichannelSettingsService_UpdateOmnichannelSetting_FullMethodName     = "/google.shopping.merchant.accounts.v1.OmnichannelSettingsService/UpdateOmnichannelSetting"
	OmnichannelSettingsService_RequestInventoryVerification_FullMethodName = "/google.shopping.merchant.accounts.v1.OmnichannelSettingsService/RequestInventoryVerification"
)

OnlineReturnPolicyService_GetOnlineReturnPolicy_FullMethodName, OnlineReturnPolicyService_ListOnlineReturnPolicies_FullMethodName, OnlineReturnPolicyService_CreateOnlineReturnPolicy_FullMethodName, OnlineReturnPolicyService_DeleteOnlineReturnPolicy_FullMethodName

const (
	OnlineReturnPolicyService_GetOnlineReturnPolicy_FullMethodName    = "/google.shopping.merchant.accounts.v1.OnlineReturnPolicyService/GetOnlineReturnPolicy"
	OnlineReturnPolicyService_ListOnlineReturnPolicies_FullMethodName = "/google.shopping.merchant.accounts.v1.OnlineReturnPolicyService/ListOnlineReturnPolicies"
	OnlineReturnPolicyService_CreateOnlineReturnPolicy_FullMethodName = "/google.shopping.merchant.accounts.v1.OnlineReturnPolicyService/CreateOnlineReturnPolicy"
	OnlineReturnPolicyService_DeleteOnlineReturnPolicy_FullMethodName = "/google.shopping.merchant.accounts.v1.OnlineReturnPolicyService/DeleteOnlineReturnPolicy"
)

ProgramsService_GetProgram_FullMethodName, ProgramsService_ListPrograms_FullMethodName, ProgramsService_EnableProgram_FullMethodName, ProgramsService_DisableProgram_FullMethodName

const (
	ProgramsService_GetProgram_FullMethodName     = "/google.shopping.merchant.accounts.v1.ProgramsService/GetProgram"
	ProgramsService_ListPrograms_FullMethodName   = "/google.shopping.merchant.accounts.v1.ProgramsService/ListPrograms"
	ProgramsService_EnableProgram_FullMethodName  = "/google.shopping.merchant.accounts.v1.ProgramsService/EnableProgram"
	ProgramsService_DisableProgram_FullMethodName = "/google.shopping.merchant.accounts.v1.ProgramsService/DisableProgram"
)

RegionsService_GetRegion_FullMethodName, RegionsService_CreateRegion_FullMethodName, RegionsService_BatchCreateRegions_FullMethodName, RegionsService_UpdateRegion_FullMethodName, RegionsService_BatchUpdateRegions_FullMethodName, RegionsService_DeleteRegion_FullMethodName, RegionsService_BatchDeleteRegions_FullMethodName, RegionsService_ListRegions_FullMethodName

const (
	RegionsService_GetRegion_FullMethodName          = "/google.shopping.merchant.accounts.v1.RegionsService/GetRegion"
	RegionsService_CreateRegion_FullMethodName       = "/google.shopping.merchant.accounts.v1.RegionsService/CreateRegion"
	RegionsService_BatchCreateRegions_FullMethodName = "/google.shopping.merchant.accounts.v1.RegionsService/BatchCreateRegions"
	RegionsService_UpdateRegion_FullMethodName       = "/google.shopping.merchant.accounts.v1.RegionsService/UpdateRegion"
	RegionsService_BatchUpdateRegions_FullMethodName = "/google.shopping.merchant.accounts.v1.RegionsService/BatchUpdateRegions"
	RegionsService_DeleteRegion_FullMethodName       = "/google.shopping.merchant.accounts.v1.RegionsService/DeleteRegion"
	RegionsService_BatchDeleteRegions_FullMethodName = "/google.shopping.merchant.accounts.v1.RegionsService/BatchDeleteRegions"
	RegionsService_ListRegions_FullMethodName        = "/google.shopping.merchant.accounts.v1.RegionsService/ListRegions"
)

ShippingSettingsService_GetShippingSettings_FullMethodName, ShippingSettingsService_InsertShippingSettings_FullMethodName

const (
	ShippingSettingsService_GetShippingSettings_FullMethodName    = "/google.shopping.merchant.accounts.v1.ShippingSettingsService/GetShippingSettings"
	ShippingSettingsService_InsertShippingSettings_FullMethodName = "/google.shopping.merchant.accounts.v1.ShippingSettingsService/InsertShippingSettings"
)

TermsOfServiceService_GetTermsOfService_FullMethodName, TermsOfServiceService_RetrieveLatestTermsOfService_FullMethodName, TermsOfServiceService_AcceptTermsOfService_FullMethodName

const (
	TermsOfServiceService_GetTermsOfService_FullMethodName            = "/google.shopping.merchant.accounts.v1.TermsOfServiceService/GetTermsOfService"
	TermsOfServiceService_RetrieveLatestTermsOfService_FullMethodName = "/google.shopping.merchant.accounts.v1.TermsOfServiceService/RetrieveLatestTermsOfService"
	TermsOfServiceService_AcceptTermsOfService_FullMethodName         = "/google.shopping.merchant.accounts.v1.TermsOfServiceService/AcceptTermsOfService"
)

TermsOfServiceAgreementStateService_GetTermsOfServiceAgreementState_FullMethodName, TermsOfServiceAgreementStateService_RetrieveForApplicationTermsOfServiceAgreementState_FullMethodName

const (
	TermsOfServiceAgreementStateService_GetTermsOfServiceAgreementState_FullMethodName                    = "/google.shopping.merchant.accounts.v1.TermsOfServiceAgreementStateService/GetTermsOfServiceAgreementState"
	TermsOfServiceAgreementStateService_RetrieveForApplicationTermsOfServiceAgreementState_FullMethodName = "/google.shopping.merchant.accounts.v1.TermsOfServiceAgreementStateService/RetrieveForApplicationTermsOfServiceAgreementState"
)

UserService_GetUser_FullMethodName, UserService_CreateUser_FullMethodName, UserService_DeleteUser_FullMethodName, UserService_UpdateUser_FullMethodName, UserService_ListUsers_FullMethodName

const (
	UserService_GetUser_FullMethodName    = "/google.shopping.merchant.accounts.v1.UserService/GetUser"
	UserService_CreateUser_FullMethodName = "/google.shopping.merchant.accounts.v1.UserService/CreateUser"
	UserService_DeleteUser_FullMethodName = "/google.shopping.merchant.accounts.v1.UserService/DeleteUser"
	UserService_UpdateUser_FullMethodName = "/google.shopping.merchant.accounts.v1.UserService/UpdateUser"
	UserService_ListUsers_FullMethodName  = "/google.shopping.merchant.accounts.v1.UserService/ListUsers"
)

AccountIssueService_ListAccountIssues_FullMethodName

const (
	AccountIssueService_ListAccountIssues_FullMethodName = "/google.shopping.merchant.accounts.v1.AccountIssueService/ListAccountIssues"
)

Variables

AccessRight_name, AccessRight_value

var (
	AccessRight_name = map[int32]string{
		0: "ACCESS_RIGHT_UNSPECIFIED",
		1: "STANDARD",
		4: "READ_ONLY",
		2: "ADMIN",
		3: "PERFORMANCE_REPORTING",
		5: "API_DEVELOPER",
	}
	AccessRight_value = map[string]int32{
		"ACCESS_RIGHT_UNSPECIFIED": 0,
		"STANDARD":                 1,
		"READ_ONLY":                4,
		"ADMIN":                    2,
		"PERFORMANCE_REPORTING":    3,
		"API_DEVELOPER":            5,
	}
)

Enum value maps for AccessRight.

AccountIssue_Severity_name, AccountIssue_Severity_value

var (
	AccountIssue_Severity_name = map[int32]string{
		0: "SEVERITY_UNSPECIFIED",
		1: "CRITICAL",
		2: "ERROR",
		3: "SUGGESTION",
	}
	AccountIssue_Severity_value = map[string]int32{
		"SEVERITY_UNSPECIFIED": 0,
		"CRITICAL":             1,
		"ERROR":                2,
		"SUGGESTION":           3,
	}
)

Enum value maps for AccountIssue_Severity.

AccountService_Mutability_name, AccountService_Mutability_value

var (
	AccountService_Mutability_name = map[int32]string{
		0: "MUTABILITY_UNSPECIFIED",
		1: "MUTABLE",
		2: "IMMUTABLE",
	}
	AccountService_Mutability_value = map[string]int32{
		"MUTABILITY_UNSPECIFIED": 0,
		"MUTABLE":                1,
		"IMMUTABLE":              2,
	}
)

Enum value maps for AccountService_Mutability.

Handshake_ApprovalState_name, Handshake_ApprovalState_value

var (
	Handshake_ApprovalState_name = map[int32]string{
		0: "APPROVAL_STATE_UNSPECIFIED",
		1: "PENDING",
		2: "ESTABLISHED",
		3: "REJECTED",
	}
	Handshake_ApprovalState_value = map[string]int32{
		"APPROVAL_STATE_UNSPECIFIED": 0,
		"PENDING":                    1,
		"ESTABLISHED":                2,
		"REJECTED":                   3,
	}
)

Enum value maps for Handshake_ApprovalState.

Handshake_Actor_name, Handshake_Actor_value

var (
	Handshake_Actor_name = map[int32]string{
		0: "ACTOR_UNSPECIFIED",
		1: "ACCOUNT",
		2: "OTHER_PARTY",
	}
	Handshake_Actor_value = map[string]int32{
		"ACTOR_UNSPECIFIED": 0,
		"ACCOUNT":           1,
		"OTHER_PARTY":       2,
	}
)

Enum value maps for Handshake_Actor.

BusinessIdentity_PromotionsConsent_name, BusinessIdentity_PromotionsConsent_value

var (
	BusinessIdentity_PromotionsConsent_name = map[int32]string{
		0: "PROMOTIONS_CONSENT_UNSPECIFIED",
		1: "PROMOTIONS_CONSENT_GIVEN",
		2: "PROMOTIONS_CONSENT_DENIED",
	}
	BusinessIdentity_PromotionsConsent_value = map[string]int32{
		"PROMOTIONS_CONSENT_UNSPECIFIED": 0,
		"PROMOTIONS_CONSENT_GIVEN":       1,
		"PROMOTIONS_CONSENT_DENIED":      2,
	}
)

Enum value maps for BusinessIdentity_PromotionsConsent.

BusinessIdentity_IdentityAttribute_IdentityDeclaration_name, BusinessIdentity_IdentityAttribute_IdentityDeclaration_value

var (
	BusinessIdentity_IdentityAttribute_IdentityDeclaration_name = map[int32]string{
		0: "IDENTITY_DECLARATION_UNSPECIFIED",
		1: "SELF_IDENTIFIES_AS",
		2: "DOES_NOT_SELF_IDENTIFY_AS",
	}
	BusinessIdentity_IdentityAttribute_IdentityDeclaration_value = map[string]int32{
		"IDENTITY_DECLARATION_UNSPECIFIED": 0,
		"SELF_IDENTIFIES_AS":               1,
		"DOES_NOT_SELF_IDENTIFY_AS":        2,
	}
)

Enum value maps for BusinessIdentity_IdentityAttribute_IdentityDeclaration.

CheckoutSettings_CheckoutEnrollmentState_name, CheckoutSettings_CheckoutEnrollmentState_value

var (
	CheckoutSettings_CheckoutEnrollmentState_name = map[int32]string{
		0: "CHECKOUT_ENROLLMENT_STATE_UNSPECIFIED",
		1: "INACTIVE",
		2: "ENROLLED",
		3: "OPTED_OUT",
	}
	CheckoutSettings_CheckoutEnrollmentState_value = map[string]int32{
		"CHECKOUT_ENROLLMENT_STATE_UNSPECIFIED": 0,
		"INACTIVE":                              1,
		"ENROLLED":                              2,
		"OPTED_OUT":                             3,
	}
)

Enum value maps for CheckoutSettings_CheckoutEnrollmentState.

CheckoutSettings_CheckoutReviewState_name, CheckoutSettings_CheckoutReviewState_value

var (
	CheckoutSettings_CheckoutReviewState_name = map[int32]string{
		0: "CHECKOUT_REVIEW_STATE_UNSPECIFIED",
		1: "IN_REVIEW",
		2: "APPROVED",
		3: "DISAPPROVED",
	}
	CheckoutSettings_CheckoutReviewState_value = map[string]int32{
		"CHECKOUT_REVIEW_STATE_UNSPECIFIED": 0,
		"IN_REVIEW":                         1,
		"APPROVED":                          2,
		"DISAPPROVED":                       3,
	}
)

Enum value maps for CheckoutSettings_CheckoutReviewState.

EmailPreferences_OptInState_name, EmailPreferences_OptInState_value

var (
	EmailPreferences_OptInState_name = map[int32]string{
		0: "OPT_IN_STATE_UNSPECIFIED",
		1: "OPTED_OUT",
		2: "OPTED_IN",
		3: "UNCONFIRMED",
	}
	EmailPreferences_OptInState_value = map[string]int32{
		"OPT_IN_STATE_UNSPECIFIED": 0,
		"OPTED_OUT":                1,
		"OPTED_IN":                 2,
		"UNCONFIRMED":              3,
	}
)

Enum value maps for EmailPreferences_OptInState.

GbpAccount_Type_name, GbpAccount_Type_value

var (
	GbpAccount_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "USER",
		2: "BUSINESS_ACCOUNT",
	}
	GbpAccount_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"USER":             1,
		"BUSINESS_ACCOUNT": 2,
	}
)

Enum value maps for GbpAccount_Type.

OmnichannelSetting_LsfType_name, OmnichannelSetting_LsfType_value

var (
	OmnichannelSetting_LsfType_name = map[int32]string{
		0: "LSF_TYPE_UNSPECIFIED",
		1: "GHLSF",
		2: "MHLSF_BASIC",
		3: "MHLSF_FULL",
	}
	OmnichannelSetting_LsfType_value = map[string]int32{
		"LSF_TYPE_UNSPECIFIED": 0,
		"GHLSF":                1,
		"MHLSF_BASIC":          2,
		"MHLSF_FULL":           3,
	}
)

Enum value maps for OmnichannelSetting_LsfType.

ReviewState_State_name, ReviewState_State_value

var (
	ReviewState_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "ACTIVE",
		2: "FAILED",
		3: "RUNNING",
		4: "ACTION_REQUIRED",
	}
	ReviewState_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"ACTIVE":            1,
		"FAILED":            2,
		"RUNNING":           3,
		"ACTION_REQUIRED":   4,
	}
)

Enum value maps for ReviewState_State.

InventoryVerification_State_name, InventoryVerification_State_value

var (
	InventoryVerification_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "ACTION_REQUIRED",
		5: "INACTIVE",
		2: "RUNNING",
		3: "SUCCEEDED",
		4: "SUSPENDED",
	}
	InventoryVerification_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"ACTION_REQUIRED":   1,
		"INACTIVE":          5,
		"RUNNING":           2,
		"SUCCEEDED":         3,
		"SUSPENDED":         4,
	}
)

Enum value maps for InventoryVerification_State.

OnlineReturnPolicy_ReturnMethod_name, OnlineReturnPolicy_ReturnMethod_value

var (
	OnlineReturnPolicy_ReturnMethod_name = map[int32]string{
		0: "RETURN_METHOD_UNSPECIFIED",
		1: "BY_MAIL",
		2: "IN_STORE",
		3: "AT_A_KIOSK",
	}
	OnlineReturnPolicy_ReturnMethod_value = map[string]int32{
		"RETURN_METHOD_UNSPECIFIED": 0,
		"BY_MAIL":                   1,
		"IN_STORE":                  2,
		"AT_A_KIOSK":                3,
	}
)

Enum value maps for OnlineReturnPolicy_ReturnMethod.

OnlineReturnPolicy_ItemCondition_name, OnlineReturnPolicy_ItemCondition_value

var (
	OnlineReturnPolicy_ItemCondition_name = map[int32]string{
		0: "ITEM_CONDITION_UNSPECIFIED",
		1: "NEW",
		2: "USED",
	}
	OnlineReturnPolicy_ItemCondition_value = map[string]int32{
		"ITEM_CONDITION_UNSPECIFIED": 0,
		"NEW":                        1,
		"USED":                       2,
	}
)

Enum value maps for OnlineReturnPolicy_ItemCondition.

OnlineReturnPolicy_ReturnLabelSource_name, OnlineReturnPolicy_ReturnLabelSource_value

var (
	OnlineReturnPolicy_ReturnLabelSource_name = map[int32]string{
		0: "RETURN_LABEL_SOURCE_UNSPECIFIED",
		1: "DOWNLOAD_AND_PRINT",
		2: "IN_THE_PACKAGE",
		3: "CUSTOMER_RESPONSIBILITY",
	}
	OnlineReturnPolicy_ReturnLabelSource_value = map[string]int32{
		"RETURN_LABEL_SOURCE_UNSPECIFIED": 0,
		"DOWNLOAD_AND_PRINT":              1,
		"IN_THE_PACKAGE":                  2,
		"CUSTOMER_RESPONSIBILITY":         3,
	}
)

Enum value maps for OnlineReturnPolicy_ReturnLabelSource.

OnlineReturnPolicy_ReturnShippingFee_Type_name, OnlineReturnPolicy_ReturnShippingFee_Type_value

var (
	OnlineReturnPolicy_ReturnShippingFee_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "FIXED",
		2: "CUSTOMER_PAYING_ACTUAL_FEE",
	}
	OnlineReturnPolicy_ReturnShippingFee_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":           0,
		"FIXED":                      1,
		"CUSTOMER_PAYING_ACTUAL_FEE": 2,
	}
)

Enum value maps for OnlineReturnPolicy_ReturnShippingFee_Type.

OnlineReturnPolicy_Policy_Type_name, OnlineReturnPolicy_Policy_Type_value

var (
	OnlineReturnPolicy_Policy_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "NUMBER_OF_DAYS_AFTER_DELIVERY",
		2: "NO_RETURNS",
		3: "LIFETIME_RETURNS",
	}
	OnlineReturnPolicy_Policy_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":              0,
		"NUMBER_OF_DAYS_AFTER_DELIVERY": 1,
		"NO_RETURNS":                    2,
		"LIFETIME_RETURNS":              3,
	}
)

Enum value maps for OnlineReturnPolicy_Policy_Type.

PhoneVerificationState_name, PhoneVerificationState_value

var (
	PhoneVerificationState_name = map[int32]string{
		0: "PHONE_VERIFICATION_STATE_UNSPECIFIED",
		1: "PHONE_VERIFICATION_STATE_VERIFIED",
		2: "PHONE_VERIFICATION_STATE_UNVERIFIED",
	}
	PhoneVerificationState_value = map[string]int32{
		"PHONE_VERIFICATION_STATE_UNSPECIFIED": 0,
		"PHONE_VERIFICATION_STATE_VERIFIED":    1,
		"PHONE_VERIFICATION_STATE_UNVERIFIED":  2,
	}
)

Enum value maps for PhoneVerificationState.

Program_State_name, Program_State_value

var (
	Program_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "NOT_ELIGIBLE",
		2: "ELIGIBLE",
		3: "ENABLED",
	}
	Program_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"NOT_ELIGIBLE":      1,
		"ELIGIBLE":          2,
		"ENABLED":           3,
	}
)

Enum value maps for Program_State.

Service_ShipmentType_name, Service_ShipmentType_value

var (
	Service_ShipmentType_name = map[int32]string{
		0: "SHIPMENT_TYPE_UNSPECIFIED",
		1: "DELIVERY",
		2: "LOCAL_DELIVERY",
		3: "COLLECTION_POINT",
	}
	Service_ShipmentType_value = map[string]int32{
		"SHIPMENT_TYPE_UNSPECIFIED": 0,
		"DELIVERY":                  1,
		"LOCAL_DELIVERY":            2,
		"COLLECTION_POINT":          3,
	}
)

Enum value maps for Service_ShipmentType.

Service_StoreConfig_StoreServiceType_name, Service_StoreConfig_StoreServiceType_value

var (
	Service_StoreConfig_StoreServiceType_name = map[int32]string{
		0: "STORE_SERVICE_TYPE_UNSPECIFIED",
		1: "ALL_STORES",
		2: "SELECTED_STORES",
	}
	Service_StoreConfig_StoreServiceType_value = map[string]int32{
		"STORE_SERVICE_TYPE_UNSPECIFIED": 0,
		"ALL_STORES":                     1,
		"SELECTED_STORES":                2,
	}
)

Enum value maps for Service_StoreConfig_StoreServiceType.

Distance_Unit_name, Distance_Unit_value

var (
	Distance_Unit_name = map[int32]string{
		0: "UNIT_UNSPECIFIED",
		1: "MILES",
		2: "KILOMETERS",
	}
	Distance_Unit_value = map[string]int32{
		"UNIT_UNSPECIFIED": 0,
		"MILES":            1,
		"KILOMETERS":       2,
	}
)

Enum value maps for Distance_Unit.

BusinessDayConfig_Weekday_name, BusinessDayConfig_Weekday_value

var (
	BusinessDayConfig_Weekday_name = map[int32]string{
		0: "WEEKDAY_UNSPECIFIED",
		1: "MONDAY",
		2: "TUESDAY",
		3: "WEDNESDAY",
		4: "THURSDAY",
		5: "FRIDAY",
		6: "SATURDAY",
		7: "SUNDAY",
	}
	BusinessDayConfig_Weekday_value = map[string]int32{
		"WEEKDAY_UNSPECIFIED": 0,
		"MONDAY":              1,
		"TUESDAY":             2,
		"WEDNESDAY":           3,
		"THURSDAY":            4,
		"FRIDAY":              5,
		"SATURDAY":            6,
		"SUNDAY":              7,
	}
)

Enum value maps for BusinessDayConfig_Weekday.

TermsOfServiceKind_name, TermsOfServiceKind_value

var (
	TermsOfServiceKind_name = map[int32]string{
		0: "TERMS_OF_SERVICE_KIND_UNSPECIFIED",
		1: "MERCHANT_CENTER",
	}
	TermsOfServiceKind_value = map[string]int32{
		"TERMS_OF_SERVICE_KIND_UNSPECIFIED": 0,
		"MERCHANT_CENTER":                   1,
	}
)

Enum value maps for TermsOfServiceKind.

User_State_name, User_State_value

var (
	User_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PENDING",
		2: "VERIFIED",
	}
	User_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PENDING":           1,
		"VERIFIED":          2,
	}
)

Enum value maps for User_State.

AccountIssueService_ServiceDesc

var AccountIssueService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.shopping.merchant.accounts.v1.AccountIssueService",
	HandlerType: (*AccountIssueServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListAccountIssues",
			Handler:    _AccountIssueService_ListAccountIssues_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/shopping/merchant/accounts/v1/accountissue.proto",
}

AccountIssueService_ServiceDesc is the grpc.ServiceDesc for AccountIssueService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

AccountRelationshipsService_ServiceDesc

var AccountRelationshipsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.shopping.merchant.accounts.v1.AccountRelationshipsService",
	HandlerType: (*AccountRelationshipsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAccountRelationship",
			Handler:    _AccountRelationshipsService_GetAccountRelationship_Handler,
		},
		{
			MethodName: "UpdateAccountRelationship",
			Handler:    _AccountRelationshipsService_UpdateAccountRelationship_Handler,
		},
		{
			MethodName: "ListAccountRelationships",
			Handler:    _AccountRelationshipsService_ListAccountRelationships_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/shopping/merchant/accounts/v1/accountrelationships.proto",
}

AccountRelationshipsService_ServiceDesc is the grpc.ServiceDesc for AccountRelationshipsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

AccountServicesService_ServiceDesc

var AccountServicesService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.shopping.merchant.accounts.v1.AccountServicesService",
	HandlerType: (*AccountServicesServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAccountService",
			Handler:    _AccountServicesService_GetAccountService_Handler,
		},
		{
			MethodName: "ListAccountServices",
			Handler:    _AccountServicesService_ListAccountServices_Handler,
		},
		{
			MethodName: "ProposeAccountService",
			Handler:    _AccountServicesService_ProposeAccountService_Handler,
		},
		{
			MethodName: "ApproveAccountService",
			Handler:    _AccountServicesService_ApproveAccountService_Handler,
		},
		{
			MethodName: "RejectAccountService",
			Handler:    _AccountServicesService_RejectAccountService_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/shopping/merchant/accounts/v1/accountservices.proto",
}

AccountServicesService_ServiceDesc is the grpc.ServiceDesc for AccountServicesService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

AccountsService_ServiceDesc

var AccountsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.shopping.merchant.accounts.v1.AccountsService",
	HandlerType: (*AccountsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAccount",
			Handler:    _AccountsService_GetAccount_Handler,
		},
		{
			MethodName: "CreateAndConfigureAccount",
			Handler:    _AccountsService_CreateAndConfigureAccount_Handler,
		},
		{
			MethodName: "DeleteAccount",
			Handler:    _AccountsService_DeleteAccount_Handler,
		},
		{
			MethodName: "UpdateAccount",
			Handler:    _AccountsService_UpdateAccount_Handler,
		},
		{
			MethodName: "ListAccounts",
			Handler:    _AccountsService_ListAccounts_Handler,
		},
		{
			MethodName: "ListSubAccounts",
			Handler:    _AccountsService_ListSubAccounts_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/shopping/merchant/accounts/v1/accounts.proto",
}

AccountsService_ServiceDesc is the grpc.ServiceDesc for AccountsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

AutofeedSettingsService_ServiceDesc

var AutofeedSettingsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.shopping.merchant.accounts.v1.AutofeedSettingsService",
	HandlerType: (*AutofeedSettingsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAutofeedSettings",
			Handler:    _AutofeedSettingsService_GetAutofeedSettings_Handler,
		},
		{
			MethodName: "UpdateAutofeedSettings",
			Handler:    _AutofeedSettingsService_UpdateAutofeedSettings_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/shopping/merchant/accounts/v1/autofeedsettings.proto",
}

AutofeedSettingsService_ServiceDesc is the grpc.ServiceDesc for AutofeedSettingsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

AutomaticImprovementsService_ServiceDesc

var AutomaticImprovementsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.shopping.merchant.accounts.v1.AutomaticImprovementsService",
	HandlerType: (*AutomaticImprovementsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAutomaticImprovements",
			Handler:    _AutomaticImprovementsService_GetAutomaticImprovements_Handler,
		},
		{
			MethodName: "UpdateAutomaticImprovements",
			Handler:    _AutomaticImprovementsService_UpdateAutomaticImprovements_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/shopping/merchant/accounts/v1/automaticimprovements.proto",
}

AutomaticImprovementsService_ServiceDesc is the grpc.ServiceDesc for AutomaticImprovementsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

BusinessIdentityService_ServiceDesc

var BusinessIdentityService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.shopping.merchant.accounts.v1.BusinessIdentityService",
	HandlerType: (*BusinessIdentityServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetBusinessIdentity",
			Handler:    _BusinessIdentityService_GetBusinessIdentity_Handler,
		},
		{
			MethodName: "UpdateBusinessIdentity",
			Handler:    _BusinessIdentityService_UpdateBusinessIdentity_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/shopping/merchant/accounts/v1/businessidentity.proto",
}

BusinessIdentityService_ServiceDesc is the grpc.ServiceDesc for BusinessIdentityService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

BusinessInfoService_ServiceDesc

var BusinessInfoService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.shopping.merchant.accounts.v1.BusinessInfoService",
	HandlerType: (*BusinessInfoServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetBusinessInfo",
			Handler:    _BusinessInfoService_GetBusinessInfo_Handler,
		},
		{
			MethodName: "UpdateBusinessInfo",
			Handler:    _BusinessInfoService_UpdateBusinessInfo_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/shopping/merchant/accounts/v1/businessinfo.proto",
}

BusinessInfoService_ServiceDesc is the grpc.ServiceDesc for BusinessInfoService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

CheckoutSettingsService_ServiceDesc

var CheckoutSettingsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.shopping.merchant.accounts.v1.CheckoutSettingsService",
	HandlerType: (*CheckoutSettingsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetCheckoutSettings",
			Handler:    _CheckoutSettingsService_GetCheckoutSettings_Handler,
		},
		{
			MethodName: "CreateCheckoutSettings",
			Handler:    _CheckoutSettingsService_CreateCheckoutSettings_Handler,
		},
		{
			MethodName: "UpdateCheckoutSettings",
			Handler:    _CheckoutSettingsService_UpdateCheckoutSettings_Handler,
		},
		{
			MethodName: "DeleteCheckoutSettings",
			Handler:    _CheckoutSettingsService_DeleteCheckoutSettings_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/shopping/merchant/accounts/v1/checkoutsettings.proto",
}

CheckoutSettingsService_ServiceDesc is the grpc.ServiceDesc for CheckoutSettingsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

DeveloperRegistrationService_ServiceDesc

var DeveloperRegistrationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.shopping.merchant.accounts.v1.DeveloperRegistrationService",
	HandlerType: (*DeveloperRegistrationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RegisterGcp",
			Handler:    _DeveloperRegistrationService_RegisterGcp_Handler,
		},
		{
			MethodName: "GetDeveloperRegistration",
			Handler:    _DeveloperRegistrationService_GetDeveloperRegistration_Handler,
		},
		{
			MethodName: "UnregisterGcp",
			Handler:    _DeveloperRegistrationService_UnregisterGcp_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/shopping/merchant/accounts/v1/developerregistration.proto",
}

DeveloperRegistrationService_ServiceDesc is the grpc.ServiceDesc for DeveloperRegistrationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

EmailPreferencesService_ServiceDesc

var EmailPreferencesService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.shopping.merchant.accounts.v1.EmailPreferencesService",
	HandlerType: (*EmailPreferencesServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetEmailPreferences",
			Handler:    _EmailPreferencesService_GetEmailPreferences_Handler,
		},
		{
			MethodName: "UpdateEmailPreferences",
			Handler:    _EmailPreferencesService_UpdateEmailPreferences_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/shopping/merchant/accounts/v1/emailpreferences.proto",
}

EmailPreferencesService_ServiceDesc is the grpc.ServiceDesc for EmailPreferencesService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

File_google_shopping_merchant_accounts_v1_accessright_proto

var File_google_shopping_merchant_accounts_v1_accessright_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_accountissue_proto

var File_google_shopping_merchant_accounts_v1_accountissue_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_accountrelationships_proto

var File_google_shopping_merchant_accounts_v1_accountrelationships_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_accounts_proto

var File_google_shopping_merchant_accounts_v1_accounts_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_accountservices_proto

var File_google_shopping_merchant_accounts_v1_accountservices_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_autofeedsettings_proto

var File_google_shopping_merchant_accounts_v1_autofeedsettings_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_automaticimprovements_proto

var File_google_shopping_merchant_accounts_v1_automaticimprovements_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_businessidentity_proto

var File_google_shopping_merchant_accounts_v1_businessidentity_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_businessinfo_proto

var File_google_shopping_merchant_accounts_v1_businessinfo_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_checkoutsettings_proto

var File_google_shopping_merchant_accounts_v1_checkoutsettings_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_customerservice_proto

var File_google_shopping_merchant_accounts_v1_customerservice_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_developerregistration_proto

var File_google_shopping_merchant_accounts_v1_developerregistration_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_emailpreferences_proto

var File_google_shopping_merchant_accounts_v1_emailpreferences_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_gbpaccounts_proto

var File_google_shopping_merchant_accounts_v1_gbpaccounts_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_homepage_proto

var File_google_shopping_merchant_accounts_v1_homepage_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_lfpproviders_proto

var File_google_shopping_merchant_accounts_v1_lfpproviders_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_omnichannelsettings_proto

var File_google_shopping_merchant_accounts_v1_omnichannelsettings_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_online_return_policy_proto

var File_google_shopping_merchant_accounts_v1_online_return_policy_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_phoneverificationstate_proto

var File_google_shopping_merchant_accounts_v1_phoneverificationstate_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_programs_proto

var File_google_shopping_merchant_accounts_v1_programs_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_regions_proto

var File_google_shopping_merchant_accounts_v1_regions_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_shippingsettings_proto

var File_google_shopping_merchant_accounts_v1_shippingsettings_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_termsofservice_proto

var File_google_shopping_merchant_accounts_v1_termsofservice_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_termsofserviceagreementstate_proto

var File_google_shopping_merchant_accounts_v1_termsofserviceagreementstate_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_termsofservicekind_proto

var File_google_shopping_merchant_accounts_v1_termsofservicekind_proto protoreflect.FileDescriptor

File_google_shopping_merchant_accounts_v1_user_proto

var File_google_shopping_merchant_accounts_v1_user_proto protoreflect.FileDescriptor

GbpAccountsService_ServiceDesc

var GbpAccountsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.shopping.merchant.accounts.v1.GbpAccountsService",
	HandlerType: (*GbpAccountsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListGbpAccounts",
			Handler:    _GbpAccountsService_ListGbpAccounts_Handler,
		},
		{
			MethodName: "LinkGbpAccount",
			Handler:    _GbpAccountsService_LinkGbpAccount_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/shopping/merchant/accounts/v1/gbpaccounts.proto",
}

GbpAccountsService_ServiceDesc is the grpc.ServiceDesc for GbpAccountsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

HomepageService_ServiceDesc

var HomepageService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.shopping.merchant.accounts.v1.HomepageService",
	HandlerType: (*HomepageServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetHomepage",
			Handler:    _HomepageService_GetHomepage_Handler,
		},
		{
			MethodName: "UpdateHomepage",
			Handler:    _HomepageService_UpdateHomepage_Handler,
		},
		{
			MethodName: "ClaimHomepage",
			Handler:    _HomepageService_ClaimHomepage_Handler,
		},
		{
			MethodName: "UnclaimHomepage",
			Handler:    _HomepageService_UnclaimHomepage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/shopping/merchant/accounts/v1/homepage.proto",
}

HomepageService_ServiceDesc is the grpc.ServiceDesc for HomepageService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

LfpProvidersService_ServiceDesc

var LfpProvidersService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.shopping.merchant.accounts.v1.LfpProvidersService",
	HandlerType: (*LfpProvidersServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "FindLfpProviders",
			Handler:    _LfpProvidersService_FindLfpProviders_Handler,
		},
		{
			MethodName: "LinkLfpProvider",
			Handler:    _LfpProvidersService_LinkLfpProvider_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/shopping/merchant/accounts/v1/lfpproviders.proto",
}

LfpProvidersService_ServiceDesc is the grpc.ServiceDesc for LfpProvidersService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

OmnichannelSettingsService_ServiceDesc

var OmnichannelSettingsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.shopping.merchant.accounts.v1.OmnichannelSettingsService",
	HandlerType: (*OmnichannelSettingsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetOmnichannelSetting",
			Handler:    _OmnichannelSettingsService_GetOmnichannelSetting_Handler,
		},
		{
			MethodName: "ListOmnichannelSettings",
			Handler:    _OmnichannelSettingsService_ListOmnichannelSettings_Handler,
		},
		{
			MethodName: "CreateOmnichannelSetting",
			Handler:    _OmnichannelSettingsService_CreateOmnichannelSetting_Handler,
		},
		{
			MethodName: "UpdateOmnichannelSetting",
			Handler:    _OmnichannelSettingsService_UpdateOmnichannelSetting_Handler,
		},
		{
			MethodName: "RequestInventoryVerification",
			Handler:    _OmnichannelSettingsService_RequestInventoryVerification_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/shopping/merchant/accounts/v1/omnichannelsettings.proto",
}

OmnichannelSettingsService_ServiceDesc is the grpc.ServiceDesc for OmnichannelSettingsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

OnlineReturnPolicyService_ServiceDesc

var OnlineReturnPolicyService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.shopping.merchant.accounts.v1.OnlineReturnPolicyService",
	HandlerType: (*OnlineReturnPolicyServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetOnlineReturnPolicy",
			Handler:    _OnlineReturnPolicyService_GetOnlineReturnPolicy_Handler,
		},
		{
			MethodName: "ListOnlineReturnPolicies",
			Handler:    _OnlineReturnPolicyService_ListOnlineReturnPolicies_Handler,
		},
		{
			MethodName: "CreateOnlineReturnPolicy",
			Handler:    _OnlineReturnPolicyService_CreateOnlineReturnPolicy_Handler,
		},
		{
			MethodName: "DeleteOnlineReturnPolicy",
			Handler:    _OnlineReturnPolicyService_DeleteOnlineReturnPolicy_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/shopping/merchant/accounts/v1/online_return_policy.proto",
}

OnlineReturnPolicyService_ServiceDesc is the grpc.ServiceDesc for OnlineReturnPolicyService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

ProgramsService_ServiceDesc

var ProgramsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.shopping.merchant.accounts.v1.ProgramsService",
	HandlerType: (*ProgramsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetProgram",
			Handler:    _ProgramsService_GetProgram_Handler,
		},
		{
			MethodName: "ListPrograms",
			Handler:    _ProgramsService_ListPrograms_Handler,
		},
		{
			MethodName: "EnableProgram",
			Handler:    _ProgramsService_EnableProgram_Handler,
		},
		{
			MethodName: "DisableProgram",
			Handler:    _ProgramsService_DisableProgram_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/shopping/merchant/accounts/v1/programs.proto",
}

ProgramsService_ServiceDesc is the grpc.ServiceDesc for ProgramsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

RegionsService_ServiceDesc

var RegionsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.shopping.merchant.accounts.v1.RegionsService",
	HandlerType: (*RegionsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetRegion",
			Handler:    _RegionsService_GetRegion_Handler,
		},
		{
			MethodName: "CreateRegion",
			Handler:    _RegionsService_CreateRegion_Handler,
		},
		{
			MethodName: "BatchCreateRegions",
			Handler:    _RegionsService_BatchCreateRegions_Handler,
		},
		{
			MethodName: "UpdateRegion",
			Handler:    _RegionsService_UpdateRegion_Handler,
		},
		{
			MethodName: "BatchUpdateRegions",
			Handler:    _RegionsService_BatchUpdateRegions_Handler,
		},
		{
			MethodName: "DeleteRegion",
			Handler:    _RegionsService_DeleteRegion_Handler,
		},
		{
			MethodName: "BatchDeleteRegions",
			Handler:    _RegionsService_BatchDeleteRegions_Handler,
		},
		{
			MethodName: "ListRegions",
			Handler:    _RegionsService_ListRegions_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/shopping/merchant/accounts/v1/regions.proto",
}

RegionsService_ServiceDesc is the grpc.ServiceDesc for RegionsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

ShippingSettingsService_ServiceDesc

var ShippingSettingsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.shopping.merchant.accounts.v1.ShippingSettingsService",
	HandlerType: (*ShippingSettingsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetShippingSettings",
			Handler:    _ShippingSettingsService_GetShippingSettings_Handler,
		},
		{
			MethodName: "InsertShippingSettings",
			Handler:    _ShippingSettingsService_InsertShippingSettings_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/shopping/merchant/accounts/v1/shippingsettings.proto",
}

ShippingSettingsService_ServiceDesc is the grpc.ServiceDesc for ShippingSettingsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

TermsOfServiceAgreementStateService_ServiceDesc

var TermsOfServiceAgreementStateService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.shopping.merchant.accounts.v1.TermsOfServiceAgreementStateService",
	HandlerType: (*TermsOfServiceAgreementStateServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetTermsOfServiceAgreementState",
			Handler:    _TermsOfServiceAgreementStateService_GetTermsOfServiceAgreementState_Handler,
		},
		{
			MethodName: "RetrieveForApplicationTermsOfServiceAgreementState",
			Handler:    _TermsOfServiceAgreementStateService_RetrieveForApplicationTermsOfServiceAgreementState_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/shopping/merchant/accounts/v1/termsofserviceagreementstate.proto",
}

TermsOfServiceAgreementStateService_ServiceDesc is the grpc.ServiceDesc for TermsOfServiceAgreementStateService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

TermsOfServiceService_ServiceDesc

var TermsOfServiceService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.shopping.merchant.accounts.v1.TermsOfServiceService",
	HandlerType: (*TermsOfServiceServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetTermsOfService",
			Handler:    _TermsOfServiceService_GetTermsOfService_Handler,
		},
		{
			MethodName: "RetrieveLatestTermsOfService",
			Handler:    _TermsOfServiceService_RetrieveLatestTermsOfService_Handler,
		},
		{
			MethodName: "AcceptTermsOfService",
			Handler:    _TermsOfServiceService_AcceptTermsOfService_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/shopping/merchant/accounts/v1/termsofservice.proto",
}

TermsOfServiceService_ServiceDesc is the grpc.ServiceDesc for TermsOfServiceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

UserService_ServiceDesc

var UserService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.shopping.merchant.accounts.v1.UserService",
	HandlerType: (*UserServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetUser",
			Handler:    _UserService_GetUser_Handler,
		},
		{
			MethodName: "CreateUser",
			Handler:    _UserService_CreateUser_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _UserService_DeleteUser_Handler,
		},
		{
			MethodName: "UpdateUser",
			Handler:    _UserService_UpdateUser_Handler,
		},
		{
			MethodName: "ListUsers",
			Handler:    _UserService_ListUsers_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/shopping/merchant/accounts/v1/user.proto",
}

UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterAccountIssueServiceServer

func RegisterAccountIssueServiceServer(s grpc.ServiceRegistrar, srv AccountIssueServiceServer)

func RegisterAccountRelationshipsServiceServer

func RegisterAccountRelationshipsServiceServer(s grpc.ServiceRegistrar, srv AccountRelationshipsServiceServer)

func RegisterAccountServicesServiceServer

func RegisterAccountServicesServiceServer(s grpc.ServiceRegistrar, srv AccountServicesServiceServer)

func RegisterAccountsServiceServer

func RegisterAccountsServiceServer(s grpc.ServiceRegistrar, srv AccountsServiceServer)

func RegisterAutofeedSettingsServiceServer

func RegisterAutofeedSettingsServiceServer(s grpc.ServiceRegistrar, srv AutofeedSettingsServiceServer)

func RegisterAutomaticImprovementsServiceServer

func RegisterAutomaticImprovementsServiceServer(s grpc.ServiceRegistrar, srv AutomaticImprovementsServiceServer)

func RegisterBusinessIdentityServiceServer

func RegisterBusinessIdentityServiceServer(s grpc.ServiceRegistrar, srv BusinessIdentityServiceServer)

func RegisterBusinessInfoServiceServer

func RegisterBusinessInfoServiceServer(s grpc.ServiceRegistrar, srv BusinessInfoServiceServer)

func RegisterCheckoutSettingsServiceServer

func RegisterCheckoutSettingsServiceServer(s grpc.ServiceRegistrar, srv CheckoutSettingsServiceServer)

func RegisterDeveloperRegistrationServiceServer

func RegisterDeveloperRegistrationServiceServer(s grpc.ServiceRegistrar, srv DeveloperRegistrationServiceServer)

func RegisterEmailPreferencesServiceServer

func RegisterEmailPreferencesServiceServer(s grpc.ServiceRegistrar, srv EmailPreferencesServiceServer)

func RegisterGbpAccountsServiceServer

func RegisterGbpAccountsServiceServer(s grpc.ServiceRegistrar, srv GbpAccountsServiceServer)

func RegisterHomepageServiceServer

func RegisterHomepageServiceServer(s grpc.ServiceRegistrar, srv HomepageServiceServer)

func RegisterLfpProvidersServiceServer

func RegisterLfpProvidersServiceServer(s grpc.ServiceRegistrar, srv LfpProvidersServiceServer)

func RegisterOmnichannelSettingsServiceServer

func RegisterOmnichannelSettingsServiceServer(s grpc.ServiceRegistrar, srv OmnichannelSettingsServiceServer)

func RegisterOnlineReturnPolicyServiceServer

func RegisterOnlineReturnPolicyServiceServer(s grpc.ServiceRegistrar, srv OnlineReturnPolicyServiceServer)

func RegisterProgramsServiceServer

func RegisterProgramsServiceServer(s grpc.ServiceRegistrar, srv ProgramsServiceServer)

func RegisterRegionsServiceServer

func RegisterRegionsServiceServer(s grpc.ServiceRegistrar, srv RegionsServiceServer)

func RegisterShippingSettingsServiceServer

func RegisterShippingSettingsServiceServer(s grpc.ServiceRegistrar, srv ShippingSettingsServiceServer)

func RegisterTermsOfServiceAgreementStateServiceServer

func RegisterTermsOfServiceAgreementStateServiceServer(s grpc.ServiceRegistrar, srv TermsOfServiceAgreementStateServiceServer)

func RegisterTermsOfServiceServiceServer

func RegisterTermsOfServiceServiceServer(s grpc.ServiceRegistrar, srv TermsOfServiceServiceServer)

func RegisterUserServiceServer

func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)

About

type About struct {

	// Required. The about page URI.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// Output only. The state of the URI.
	State ReviewState_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.shopping.merchant.accounts.v1.ReviewState_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

Collection of information related to the about page (impressum).

func (*About) Descriptor

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

Deprecated: Use About.ProtoReflect.Descriptor instead.

func (*About) GetState

func (x *About) GetState() ReviewState_State

func (*About) GetUri

func (x *About) GetUri() string

func (*About) ProtoMessage

func (*About) ProtoMessage()

func (*About) ProtoReflect

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

func (*About) Reset

func (x *About) Reset()

func (*About) String

func (x *About) String() string

AcceptTermsOfServiceRequest

type AcceptTermsOfServiceRequest struct {

	// Required. The resource name of the terms of service version.
	// Format: `termsOfService/{version}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The account for which to accept the ToS.
	// Format: `accounts/{account}`
	Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	// Required. Region code as defined by [CLDR](https://cldr.unicode.org/). This
	// is either a country when the ToS applies specifically to that country or
	// 001 when it applies globally.
	RegionCode string `protobuf:"bytes,3,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
	// contains filtered or unexported fields
}

Request message for the AcceptTermsOfService method.

func (*AcceptTermsOfServiceRequest) Descriptor

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

Deprecated: Use AcceptTermsOfServiceRequest.ProtoReflect.Descriptor instead.

func (*AcceptTermsOfServiceRequest) GetAccount

func (x *AcceptTermsOfServiceRequest) GetAccount() string

func (*AcceptTermsOfServiceRequest) GetName

func (x *AcceptTermsOfServiceRequest) GetName() string

func (*AcceptTermsOfServiceRequest) GetRegionCode

func (x *AcceptTermsOfServiceRequest) GetRegionCode() string

func (*AcceptTermsOfServiceRequest) ProtoMessage

func (*AcceptTermsOfServiceRequest) ProtoMessage()

func (*AcceptTermsOfServiceRequest) ProtoReflect

func (*AcceptTermsOfServiceRequest) Reset

func (x *AcceptTermsOfServiceRequest) Reset()

func (*AcceptTermsOfServiceRequest) String

func (x *AcceptTermsOfServiceRequest) String() string

AcceptTermsOfServiceResponse

type AcceptTermsOfServiceResponse struct {

	// The agreement state after accepting the ToS.
	TermsOfServiceAgreementState *TermsOfServiceAgreementState `protobuf:"bytes,1,opt,name=terms_of_service_agreement_state,json=termsOfServiceAgreementState,proto3" json:"terms_of_service_agreement_state,omitempty"`
	// contains filtered or unexported fields
}

Response message for the AcceptTermsOfService method.

func (*AcceptTermsOfServiceResponse) Descriptor

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

Deprecated: Use AcceptTermsOfServiceResponse.ProtoReflect.Descriptor instead.

func (*AcceptTermsOfServiceResponse) GetTermsOfServiceAgreementState

func (x *AcceptTermsOfServiceResponse) GetTermsOfServiceAgreementState() *TermsOfServiceAgreementState

func (*AcceptTermsOfServiceResponse) ProtoMessage

func (*AcceptTermsOfServiceResponse) ProtoMessage()

func (*AcceptTermsOfServiceResponse) ProtoReflect

func (*AcceptTermsOfServiceResponse) Reset

func (x *AcceptTermsOfServiceResponse) Reset()

func (*AcceptTermsOfServiceResponse) String

Accepted

type Accepted struct {

	// Required. The accepted
	// [termsOfService][google.shopping.merchant.accounts.v1.TermsOfService].
	TermsOfService string `protobuf:"bytes,1,opt,name=terms_of_service,json=termsOfService,proto3" json:"terms_of_service,omitempty"`
	// Required. The account where the acceptance was recorded. This can be the
	// account itself or, in the case of subaccounts, the advanced account.
	AcceptedBy string `protobuf:"bytes,2,opt,name=accepted_by,json=acceptedBy,proto3" json:"accepted_by,omitempty"`
	// Optional. When set, it states that the accepted `TermsOfService` is only
	// valid until the end of this date (in UTC). A new one must be accepted
	// before then. The information of the required `TermsOfService` is found in
	// the `Required` message.
	ValidUntil *date.Date `protobuf:"bytes,3,opt,name=valid_until,json=validUntil,proto3,oneof" json:"valid_until,omitempty"`
	// contains filtered or unexported fields
}

func (*Accepted) Descriptor

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

Deprecated: Use Accepted.ProtoReflect.Descriptor instead.

func (*Accepted) GetAcceptedBy

func (x *Accepted) GetAcceptedBy() string

func (*Accepted) GetTermsOfService

func (x *Accepted) GetTermsOfService() string

func (*Accepted) GetValidUntil

func (x *Accepted) GetValidUntil() *date.Date

func (*Accepted) ProtoMessage

func (*Accepted) ProtoMessage()

func (*Accepted) ProtoReflect

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

func (*Accepted) Reset

func (x *Accepted) Reset()

func (*Accepted) String

func (x *Accepted) String() string

AccessRight

type AccessRight int32

The access right.

AccessRight_ACCESS_RIGHT_UNSPECIFIED, AccessRight_STANDARD, AccessRight_READ_ONLY, AccessRight_ADMIN, AccessRight_PERFORMANCE_REPORTING, AccessRight_API_DEVELOPER

const (
	// Default value. This value is unused.
	AccessRight_ACCESS_RIGHT_UNSPECIFIED AccessRight = 0
	// Standard access rights.
	AccessRight_STANDARD AccessRight = 1
	// Has access to the same read-only methods as STANDARD, but no access to
	// any mutating methods.
	AccessRight_READ_ONLY AccessRight = 4
	// Admin access rights.
	AccessRight_ADMIN AccessRight = 2
	// Users with this right have access to performance and insights.
	AccessRight_PERFORMANCE_REPORTING AccessRight = 3
	// Users with this right have access to Merchant API and its notifications.
	// This role is only accessible to accounts that has a developer registration.
	AccessRight_API_DEVELOPER AccessRight = 5
)

func (AccessRight) Descriptor

func (AccessRight) Enum

func (x AccessRight) Enum() *AccessRight

func (AccessRight) EnumDescriptor

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

Deprecated: Use AccessRight.Descriptor instead.

func (AccessRight) Number

func (x AccessRight) Number() protoreflect.EnumNumber

func (AccessRight) String

func (x AccessRight) String() string

func (AccessRight) Type

Account

type Account struct {

	// Identifier. The resource name of the account.
	// Format: `accounts/{account}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The ID of the account.
	AccountId int64 `protobuf:"varint,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// Required. A human-readable name of the account. See
	// [store name](https://support.google.com/merchants/answer/160556) and
	// [business name](https://support.google.com/merchants/answer/12159159) for
	// more information.
	AccountName string `protobuf:"bytes,3,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	// Optional. Whether this account contains adult content.
	AdultContent *bool `protobuf:"varint,4,opt,name=adult_content,json=adultContent,proto3,oneof" json:"adult_content,omitempty"`
	// Output only. Whether this is a test account.
	TestAccount bool `protobuf:"varint,5,opt,name=test_account,json=testAccount,proto3" json:"test_account,omitempty"`
	// Required. The time zone of the account.
	//
	// On writes, `time_zone` sets both the `reporting_time_zone` and the
	// `display_time_zone`.
	//
	// For reads, `time_zone` always returns the `display_time_zone`. If
	// `display_time_zone` doesn't exist for your account, `time_zone` is empty.
	//
	// The `version` field is not supported, won't be set in responses and will be
	// silently ignored if specified in requests.
	TimeZone *datetime.TimeZone `protobuf:"bytes,6,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
	// Required. The account's [BCP-47 language
	// code](https://tools.ietf.org/html/bcp47), such as `en-US` or `sr-Latn`.
	LanguageCode string `protobuf:"bytes,7,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// contains filtered or unexported fields
}

The Account message represents a business's account within Shopping Ads. It's the primary entity for managing product data, settings, and interactions with Google's services and external providers.

Accounts can operate as standalone entities or be part of a advanced account structure. In an advanced account setup the parent account manages multiple sub-accounts.

Establishing an account involves configuring attributes like the account name, time zone, and language preferences.

The Account message is the parent entity for many other resources, for example, AccountRelationship, Homepage, BusinessInfo and so on.

func (*Account) Descriptor

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

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetAccountId

func (x *Account) GetAccountId() int64

func (*Account) GetAccountName

func (x *Account) GetAccountName() string

func (*Account) GetAdultContent

func (x *Account) GetAdultContent() bool

func (*Account) GetLanguageCode

func (x *Account) GetLanguageCode() string

func (*Account) GetName

func (x *Account) GetName() string

func (*Account) GetTestAccount

func (x *Account) GetTestAccount() bool

func (*Account) GetTimeZone

func (x *Account) GetTimeZone() *datetime.TimeZone

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

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

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

AccountAggregation

type AccountAggregation struct {
	// contains filtered or unexported fields
}

AccountAggregation payload.

func (*AccountAggregation) Descriptor

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

Deprecated: Use AccountAggregation.ProtoReflect.Descriptor instead.

func (*AccountAggregation) ProtoMessage

func (*AccountAggregation) ProtoMessage()

func (*AccountAggregation) ProtoReflect

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

func (*AccountAggregation) Reset

func (x *AccountAggregation) Reset()

func (*AccountAggregation) String

func (x *AccountAggregation) String() string

AccountIssue

type AccountIssue struct {

	// Identifier. The resource name of the account issue.
	// Format: `accounts/{account}/issues/{id}`. For example,
	//
	//	`accounts/123456/issues/misrepresentation-of-self-or-products-unacceptable-business-practice-policy`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The localized title of the issue.
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// The overall severity of the issue.
	Severity AccountIssue_Severity `protobuf:"varint,3,opt,name=severity,proto3,enum=google.shopping.merchant.accounts.v1.AccountIssue_Severity" json:"severity,omitempty"`
	// The impact this issue has on various destinations.
	ImpactedDestinations []*AccountIssue_ImpactedDestination `protobuf:"bytes,4,rep,name=impacted_destinations,json=impactedDestinations,proto3" json:"impacted_destinations,omitempty"`
	// Further localized details about the issue.
	Detail string `protobuf:"bytes,5,opt,name=detail,proto3" json:"detail,omitempty"`
	// Link to Merchant Center Help Center providing further information about the
	// issue and how to fix it.
	DocumentationUri string `protobuf:"bytes,6,opt,name=documentation_uri,json=documentationUri,proto3" json:"documentation_uri,omitempty"`
	// contains filtered or unexported fields
}

Issues with your Merchant Center account that can impact all your products.

For more information, see [Account-level issues in Merchant
Center](https://support.google.com/merchants/answer/12153802?sjid=17798438912526418908-EU#account).

func (*AccountIssue) Descriptor

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

Deprecated: Use AccountIssue.ProtoReflect.Descriptor instead.

func (*AccountIssue) GetDetail

func (x *AccountIssue) GetDetail() string

func (*AccountIssue) GetDocumentationUri

func (x *AccountIssue) GetDocumentationUri() string

func (*AccountIssue) GetImpactedDestinations

func (x *AccountIssue) GetImpactedDestinations() []*AccountIssue_ImpactedDestination

func (*AccountIssue) GetName

func (x *AccountIssue) GetName() string

func (*AccountIssue) GetSeverity

func (x *AccountIssue) GetSeverity() AccountIssue_Severity

func (*AccountIssue) GetTitle

func (x *AccountIssue) GetTitle() string

func (*AccountIssue) ProtoMessage

func (*AccountIssue) ProtoMessage()

func (*AccountIssue) ProtoReflect

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

func (*AccountIssue) Reset

func (x *AccountIssue) Reset()

func (*AccountIssue) String

func (x *AccountIssue) String() string

AccountIssueServiceClient

type AccountIssueServiceClient interface {
	// Lists all account issues of a Merchant Center account.
	//
	// When called on a multi-client account, this method only returns issues
	// belonging to that account, not its sub-accounts. To retrieve issues for
	// sub-accounts, you must first call the
	// [accounts.listSubaccounts][google.shopping.merchant.accounts.v1.AccountsService.ListSubAccounts]
	// method to obtain a list of sub-accounts, and then call
	// `accounts.issues.list` for each sub-account individually.
	ListAccountIssues(ctx context.Context, in *ListAccountIssuesRequest, opts ...grpc.CallOption) (*ListAccountIssuesResponse, error)
}

AccountIssueServiceClient is the client API for AccountIssueService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAccountIssueServiceClient

func NewAccountIssueServiceClient(cc grpc.ClientConnInterface) AccountIssueServiceClient

AccountIssueServiceServer

type AccountIssueServiceServer interface {
	// Lists all account issues of a Merchant Center account.
	//
	// When called on a multi-client account, this method only returns issues
	// belonging to that account, not its sub-accounts. To retrieve issues for
	// sub-accounts, you must first call the
	// [accounts.listSubaccounts][google.shopping.merchant.accounts.v1.AccountsService.ListSubAccounts]
	// method to obtain a list of sub-accounts, and then call
	// `accounts.issues.list` for each sub-account individually.
	ListAccountIssues(context.Context, *ListAccountIssuesRequest) (*ListAccountIssuesResponse, error)
}

AccountIssueServiceServer is the server API for AccountIssueService service. All implementations should embed UnimplementedAccountIssueServiceServer for forward compatibility

AccountIssue_ImpactedDestination

type AccountIssue_ImpactedDestination struct {

	// The impacted reporting context.
	ReportingContext *typepb.ReportingContext_ReportingContextEnum `protobuf:"varint,1,opt,name=reporting_context,json=reportingContext,proto3,enum=google.shopping.type.ReportingContext_ReportingContextEnum,oneof" json:"reporting_context,omitempty"`
	// The (negative) impact for various regions on the given destination.
	Impacts []*AccountIssue_ImpactedDestination_Impact `protobuf:"bytes,2,rep,name=impacts,proto3" json:"impacts,omitempty"`
	// contains filtered or unexported fields
}

The impact of the issue on a destination.

func (*AccountIssue_ImpactedDestination) Descriptor

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

Deprecated: Use AccountIssue_ImpactedDestination.ProtoReflect.Descriptor instead.

func (*AccountIssue_ImpactedDestination) GetImpacts

func (*AccountIssue_ImpactedDestination) GetReportingContext

func (*AccountIssue_ImpactedDestination) ProtoMessage

func (*AccountIssue_ImpactedDestination) ProtoMessage()

func (*AccountIssue_ImpactedDestination) ProtoReflect

func (*AccountIssue_ImpactedDestination) Reset

func (*AccountIssue_ImpactedDestination) String

AccountIssue_ImpactedDestination_Impact

type AccountIssue_ImpactedDestination_Impact struct {

	// The [CLDR region code](https://cldr.unicode.org/) where this issue
	// applies.
	RegionCode string `protobuf:"bytes,1,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
	// The severity of the issue on the destination and region.
	Severity AccountIssue_Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=google.shopping.merchant.accounts.v1.AccountIssue_Severity" json:"severity,omitempty"`
	// contains filtered or unexported fields
}

The impact of the issue on a region.

func (*AccountIssue_ImpactedDestination_Impact) Descriptor

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

Deprecated: Use AccountIssue_ImpactedDestination_Impact.ProtoReflect.Descriptor instead.

func (*AccountIssue_ImpactedDestination_Impact) GetRegionCode

func (*AccountIssue_ImpactedDestination_Impact) GetSeverity

func (*AccountIssue_ImpactedDestination_Impact) ProtoMessage

func (*AccountIssue_ImpactedDestination_Impact) ProtoReflect

func (*AccountIssue_ImpactedDestination_Impact) Reset

func (*AccountIssue_ImpactedDestination_Impact) String

AccountIssue_Severity

type AccountIssue_Severity int32

All possible issue severities.

AccountIssue_SEVERITY_UNSPECIFIED, AccountIssue_CRITICAL, AccountIssue_ERROR, AccountIssue_SUGGESTION

const (
	// The severity is unknown.
	AccountIssue_SEVERITY_UNSPECIFIED AccountIssue_Severity = 0
	// The issue causes offers to not serve.
	AccountIssue_CRITICAL AccountIssue_Severity = 1
	// The issue might affect offers (in the future) or might be an
	// indicator of issues with offers.
	AccountIssue_ERROR AccountIssue_Severity = 2
	// The issue is a suggestion for improvement.
	AccountIssue_SUGGESTION AccountIssue_Severity = 3
)

func (AccountIssue_Severity) Descriptor

func (AccountIssue_Severity) Enum

func (AccountIssue_Severity) EnumDescriptor

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

Deprecated: Use AccountIssue_Severity.Descriptor instead.

func (AccountIssue_Severity) Number

func (AccountIssue_Severity) String

func (x AccountIssue_Severity) String() string

func (AccountIssue_Severity) Type

AccountManagement

type AccountManagement struct {
	// contains filtered or unexported fields
}

AccountManagement payload.

func (*AccountManagement) Descriptor

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

Deprecated: Use AccountManagement.ProtoReflect.Descriptor instead.

func (*AccountManagement) ProtoMessage

func (*AccountManagement) ProtoMessage()

func (*AccountManagement) ProtoReflect

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

func (*AccountManagement) Reset

func (x *AccountManagement) Reset()

func (*AccountManagement) String

func (x *AccountManagement) String() string

AccountRelationship

type AccountRelationship struct {

	// Identifier. The resource name of the account relationship.
	// Format: `accounts/{account}/relationships/{relationship}`. For example,
	// `accounts/123456/relationships/567890`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Immutable. The provider of the service. Either the reference to an account
	// such as `providers/123` or a well-known service provider (one of
	// `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`).
	Provider *string `protobuf:"bytes,2,opt,name=provider,proto3,oneof" json:"provider,omitempty"`
	// Output only. The human-readable display name of the provider account.
	ProviderDisplayName string `protobuf:"bytes,3,opt,name=provider_display_name,json=providerDisplayName,proto3" json:"provider_display_name,omitempty"`
	// Optional. An optional alias you can assign to this account relationship.
	// This alias acts as a convenient identifier for your own reference and
	// management. It must be unique among all your account relationships with the
	// same provider.
	//
	// For example, you might use `account_id_alias` to assign a friendly name
	// to this relationship for easier identification in your systems.
	AccountIdAlias string `protobuf:"bytes,4,opt,name=account_id_alias,json=accountIdAlias,proto3" json:"account_id_alias,omitempty"`
	// contains filtered or unexported fields
}

The AccountRelationship message defines a formal connection between a merchant's account and a service provider's account. This relationship enables the provider to offer specific services to the business, such as product management or campaign management. It specifies the access rights and permissions to the business's data relevant to those services.

Establishing an account relationship involves linking the merchant's account with a provider's account. The provider could be another Google account (like Google Ads or Google My Business) or a third-party platform (such as Shopify or WooCommerce).

func (*AccountRelationship) Descriptor

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

Deprecated: Use AccountRelationship.ProtoReflect.Descriptor instead.

func (*AccountRelationship) GetAccountIdAlias

func (x *AccountRelationship) GetAccountIdAlias() string

func (*AccountRelationship) GetName

func (x *AccountRelationship) GetName() string

func (*AccountRelationship) GetProvider

func (x *AccountRelationship) GetProvider() string

func (*AccountRelationship) GetProviderDisplayName

func (x *AccountRelationship) GetProviderDisplayName() string

func (*AccountRelationship) ProtoMessage

func (*AccountRelationship) ProtoMessage()

func (*AccountRelationship) ProtoReflect

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

func (*AccountRelationship) Reset

func (x *AccountRelationship) Reset()

func (*AccountRelationship) String

func (x *AccountRelationship) String() string

AccountRelationshipsServiceClient

type AccountRelationshipsServiceClient interface {
	// Retrieve an account relationship.
	GetAccountRelationship(ctx context.Context, in *GetAccountRelationshipRequest, opts ...grpc.CallOption) (*AccountRelationship, error)
	// Updates the account relationship. Executing this method requires admin
	// access.
	UpdateAccountRelationship(ctx context.Context, in *UpdateAccountRelationshipRequest, opts ...grpc.CallOption) (*AccountRelationship, error)
	// List account relationships for the specified account.
	ListAccountRelationships(ctx context.Context, in *ListAccountRelationshipsRequest, opts ...grpc.CallOption) (*ListAccountRelationshipsResponse, error)
}

AccountRelationshipsServiceClient is the client API for AccountRelationshipsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAccountRelationshipsServiceClient

func NewAccountRelationshipsServiceClient(cc grpc.ClientConnInterface) AccountRelationshipsServiceClient

AccountRelationshipsServiceServer

type AccountRelationshipsServiceServer interface {
	// Retrieve an account relationship.
	GetAccountRelationship(context.Context, *GetAccountRelationshipRequest) (*AccountRelationship, error)
	// Updates the account relationship. Executing this method requires admin
	// access.
	UpdateAccountRelationship(context.Context, *UpdateAccountRelationshipRequest) (*AccountRelationship, error)
	// List account relationships for the specified account.
	ListAccountRelationships(context.Context, *ListAccountRelationshipsRequest) (*ListAccountRelationshipsResponse, error)
}

AccountRelationshipsServiceServer is the server API for AccountRelationshipsService service. All implementations should embed UnimplementedAccountRelationshipsServiceServer for forward compatibility

AccountService

type AccountService struct {

	// The payload specified has to correspond to the `service_type`.
	//
	// Types that are assignable to ServiceType:
	//
	//	*AccountService_ProductsManagement
	//	*AccountService_CampaignsManagement
	//	*AccountService_AccountManagement
	//	*AccountService_AccountAggregation
	//	*AccountService_LocalListingManagement
	ServiceType isAccountService_ServiceType `protobuf_oneof:"service_type"`
	// Identifier. The resource name of the account service.
	// Format: `accounts/{account}/services/{service}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The provider of the service. Either the reference to an
	// account such as `providers/123` or a well-known service provider (one of
	// `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`).
	Provider *string `protobuf:"bytes,2,opt,name=provider,proto3,oneof" json:"provider,omitempty"`
	// Output only. The human-readable display name of the provider account.
	ProviderDisplayName string `protobuf:"bytes,3,opt,name=provider_display_name,json=providerDisplayName,proto3" json:"provider_display_name,omitempty"`
	// Output only. Information about the state of the service in terms of
	// establishing it (e.g. is it pending approval or approved).
	Handshake *Handshake `protobuf:"bytes,4,opt,name=handshake,proto3" json:"handshake,omitempty"`
	// Output only. Whether the service is mutable (e.g. through Approve / Reject
	// RPCs). A service that was created through another system or API might be
	// immutable.
	Mutability AccountService_Mutability `protobuf:"varint,5,opt,name=mutability,proto3,enum=google.shopping.merchant.accounts.v1.AccountService_Mutability" json:"mutability,omitempty"`
	// Immutable. An optional, immutable identifier that Google uses to refer to
	// this account when communicating with the provider. This should be the
	// unique account ID within the provider's system (for example, your shop ID
	// in Shopify).
	//
	// If you have multiple accounts with the same provider - for instance,
	// different accounts for various regions — the `external_account_id`
	// differentiates between them, ensuring accurate linking and integration
	// between Google and the provider.
	ExternalAccountId string `protobuf:"bytes,6,opt,name=external_account_id,json=externalAccountId,proto3" json:"external_account_id,omitempty"`
	// contains filtered or unexported fields
}

The AccountService message represents a specific service that a provider account offers to a Merchant Center account.

AccountService defines the permissions and capabilities granted to the provider, allowing for operations such as product management or campaign management.

The lifecycle of an AccountService involves a proposal phase, where one party suggests the service, and an approval phase, where the other party accepts or rejects it. This handshake mechanism ensures mutual consent before any access is granted. This mechanism safeguards both parties by ensuring that access rights are granted appropriately and that both the business and provider are aware of the services enabled. In scenarios where a user is an admin of both accounts, the approval can happen automatically.

The mutability of a service is also managed through AccountService. Some services might be immutable, for example, if they were established through other systems or APIs, and you cannot alter them through this API.

func (*AccountService) Descriptor

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

Deprecated: Use AccountService.ProtoReflect.Descriptor instead.

func (*AccountService) GetAccountAggregation

func (x *AccountService) GetAccountAggregation() *AccountAggregation

func (*AccountService) GetAccountManagement

func (x *AccountService) GetAccountManagement() *AccountManagement

func (*AccountService) GetCampaignsManagement

func (x *AccountService) GetCampaignsManagement() *CampaignsManagement

func (*AccountService) GetExternalAccountId

func (x *AccountService) GetExternalAccountId() string

func (*AccountService) GetHandshake

func (x *AccountService) GetHandshake() *Handshake

func (*AccountService) GetLocalListingManagement

func (x *AccountService) GetLocalListingManagement() *LocalListingManagement

func (*AccountService) GetMutability

func (x *AccountService) GetMutability() AccountService_Mutability

func (*AccountService) GetName

func (x *AccountService) GetName() string

func (*AccountService) GetProductsManagement

func (x *AccountService) GetProductsManagement() *ProductsManagement

func (*AccountService) GetProvider

func (x *AccountService) GetProvider() string

func (*AccountService) GetProviderDisplayName

func (x *AccountService) GetProviderDisplayName() string

func (*AccountService) GetServiceType

func (m *AccountService) GetServiceType() isAccountService_ServiceType

func (*AccountService) ProtoMessage

func (*AccountService) ProtoMessage()

func (*AccountService) ProtoReflect

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

func (*AccountService) Reset

func (x *AccountService) Reset()

func (*AccountService) String

func (x *AccountService) String() string

AccountService_AccountAggregation

type AccountService_AccountAggregation struct {
	// Service type for account aggregation. This enables the provider, which is
	// an advanced account, to manage multiple sub-accounts (client
	// accounts). Through this service, the advanced account provider can
	// perform administrative and operational tasks across all linked
	// sub-accounts.
	//
	// This is useful for agencies, aggregators, or large retailers that need
	// centralized control over many Merchant Center accounts.
	AccountAggregation *AccountAggregation `protobuf:"bytes,103,opt,name=account_aggregation,json=accountAggregation,proto3,oneof"`
}

AccountService_AccountManagement

type AccountService_AccountManagement struct {
	// Service type for account management. Enables the provider to perform
	// administrative actions on the business's account, such as
	// configuring account settings, managing users, or updating business
	// information.
	AccountManagement *AccountManagement `protobuf:"bytes,102,opt,name=account_management,json=accountManagement,proto3,oneof"`
}

AccountService_CampaignsManagement

type AccountService_CampaignsManagement struct {
	// Service type for managing advertising campaigns. Grants the provider
	// access to create and manage the business's ad campaigns, including
	// setting up campaigns, adjusting bids, and optimizing performance.
	CampaignsManagement *CampaignsManagement `protobuf:"bytes,101,opt,name=campaigns_management,json=campaignsManagement,proto3,oneof"`
}

AccountService_LocalListingManagement

type AccountService_LocalListingManagement struct {
	// Service type for local listings management. The business group associated
	// with the external account id will be used to provide local inventory to
	// this Merchant Center account.
	LocalListingManagement *LocalListingManagement `protobuf:"bytes,104,opt,name=local_listing_management,json=localListingManagement,proto3,oneof"`
}

AccountService_Mutability

type AccountService_Mutability int32

The list of mutability option settings a service can have.

AccountService_MUTABILITY_UNSPECIFIED, AccountService_MUTABLE, AccountService_IMMUTABLE

const (
	// Unused default value
	AccountService_MUTABILITY_UNSPECIFIED AccountService_Mutability = 0
	// The service can be mutated without restrictions.
	AccountService_MUTABLE AccountService_Mutability = 1
	// The service is read-only and must not be mutated.
	AccountService_IMMUTABLE AccountService_Mutability = 2
)

func (AccountService_Mutability) Descriptor

func (AccountService_Mutability) Enum

func (AccountService_Mutability) EnumDescriptor

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

Deprecated: Use AccountService_Mutability.Descriptor instead.

func (AccountService_Mutability) Number

func (AccountService_Mutability) String

func (x AccountService_Mutability) String() string

func (AccountService_Mutability) Type

AccountService_ProductsManagement

type AccountService_ProductsManagement struct {
	// Service type for managing products. This allows the provider to handle
	// product data on behalf of the business, including reading and writing
	// product listings. It's commonly used when the provider offers inventory
	// management or catalog synchronization services to keep the business's
	// product information up-to-date across platforms.
	ProductsManagement *ProductsManagement `protobuf:"bytes,100,opt,name=products_management,json=productsManagement,proto3,oneof"`
}

AccountServicesServiceClient

type AccountServicesServiceClient interface {
	// Retrieve an account service.
	GetAccountService(ctx context.Context, in *GetAccountServiceRequest, opts ...grpc.CallOption) (*AccountService, error)
	// List account services for the specified accounts. Supports filtering.
	ListAccountServices(ctx context.Context, in *ListAccountServicesRequest, opts ...grpc.CallOption) (*ListAccountServicesResponse, error)
	// Propose an account service.
	ProposeAccountService(ctx context.Context, in *ProposeAccountServiceRequest, opts ...grpc.CallOption) (*AccountService, error)
	// Approve an account service proposal.
	ApproveAccountService(ctx context.Context, in *ApproveAccountServiceRequest, opts ...grpc.CallOption) (*AccountService, error)
	// Reject an account service (both proposed and approve services can be
	// rejected).
	RejectAccountService(ctx context.Context, in *RejectAccountServiceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

AccountServicesServiceClient is the client API for AccountServicesService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAccountServicesServiceClient

func NewAccountServicesServiceClient(cc grpc.ClientConnInterface) AccountServicesServiceClient

AccountServicesServiceServer

type AccountServicesServiceServer interface {
	// Retrieve an account service.
	GetAccountService(context.Context, *GetAccountServiceRequest) (*AccountService, error)
	// List account services for the specified accounts. Supports filtering.
	ListAccountServices(context.Context, *ListAccountServicesRequest) (*ListAccountServicesResponse, error)
	// Propose an account service.
	ProposeAccountService(context.Context, *ProposeAccountServiceRequest) (*AccountService, error)
	// Approve an account service proposal.
	ApproveAccountService(context.Context, *ApproveAccountServiceRequest) (*AccountService, error)
	// Reject an account service (both proposed and approve services can be
	// rejected).
	RejectAccountService(context.Context, *RejectAccountServiceRequest) (*emptypb.Empty, error)
}

AccountServicesServiceServer is the server API for AccountServicesService service. All implementations should embed UnimplementedAccountServicesServiceServer for forward compatibility

AccountsServiceClient

type AccountsServiceClient interface {
	// Retrieves an account from your Merchant Center account.
	// After inserting, updating, or deleting an account, it may take several
	// minutes before changes take effect.
	GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*Account, error)
	// Creates a Merchant Center account with additional configuration. Adds the
	// user that makes the request as an admin for the new account.
	CreateAndConfigureAccount(ctx context.Context, in *CreateAndConfigureAccountRequest, opts ...grpc.CallOption) (*Account, error)
	// Deletes the specified account regardless of its type: standalone, advanced
	// account or sub-account. Deleting an advanced account leads to the deletion
	// of all of its sub-accounts. Executing this method requires admin access.
	// The deletion succeeds only if the account does not provide services
	// to any other account and has no processed offers. You can use the `force`
	// parameter to override this.
	DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Updates an account regardless of its type: standalone, advanced account or
	// sub-account. Executing this method requires admin access.
	UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*Account, error)
	// Note: For the `accounts.list` method, quota and limits usage are charged
	// for each user, and not for the Merchant Center ID or the advanced account
	// ID. To list several sub-accounts, you should use the
	// `accounts.listSubaccounts` method, which is more suitable for advanced
	// accounts use case.
	ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*ListAccountsResponse, error)
	// List all sub-accounts for a given advanced account. This is a
	// convenience wrapper for the more powerful `accounts.list` method. This
	// method will produce the same results as calling `ListsAccounts` with the
	// following filter:
	// `relationship(providerId={parent} AND service(type="ACCOUNT_AGGREGATION"))`
	ListSubAccounts(ctx context.Context, in *ListSubAccountsRequest, opts ...grpc.CallOption) (*ListSubAccountsResponse, error)
}

AccountsServiceClient is the client API for AccountsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAccountsServiceClient

func NewAccountsServiceClient(cc grpc.ClientConnInterface) AccountsServiceClient

AccountsServiceServer

type AccountsServiceServer interface {
	// Retrieves an account from your Merchant Center account.
	// After inserting, updating, or deleting an account, it may take several
	// minutes before changes take effect.
	GetAccount(context.Context, *GetAccountRequest) (*Account, error)
	// Creates a Merchant Center account with additional configuration. Adds the
	// user that makes the request as an admin for the new account.
	CreateAndConfigureAccount(context.Context, *CreateAndConfigureAccountRequest) (*Account, error)
	// Deletes the specified account regardless of its type: standalone, advanced
	// account or sub-account. Deleting an advanced account leads to the deletion
	// of all of its sub-accounts. Executing this method requires admin access.
	// The deletion succeeds only if the account does not provide services
	// to any other account and has no processed offers. You can use the `force`
	// parameter to override this.
	DeleteAccount(context.Context, *DeleteAccountRequest) (*emptypb.Empty, error)
	// Updates an account regardless of its type: standalone, advanced account or
	// sub-account. Executing this method requires admin access.
	UpdateAccount(context.Context, *UpdateAccountRequest) (*Account, error)
	// Note: For the `accounts.list` method, quota and limits usage are charged
	// for each user, and not for the Merchant Center ID or the advanced account
	// ID. To list several sub-accounts, you should use the
	// `accounts.listSubaccounts` method, which is more suitable for advanced
	// accounts use case.
	ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error)
	// List all sub-accounts for a given advanced account. This is a
	// convenience wrapper for the more powerful `accounts.list` method. This
	// method will produce the same results as calling `ListsAccounts` with the
	// following filter:
	// `relationship(providerId={parent} AND service(type="ACCOUNT_AGGREGATION"))`
	ListSubAccounts(context.Context, *ListSubAccountsRequest) (*ListSubAccountsResponse, error)
}

AccountsServiceServer is the server API for AccountsService service. All implementations should embed UnimplementedAccountsServiceServer for forward compatibility

Address

type Address struct {

	// Street-level part of the address. For example: `111w 31st Street`.
	StreetAddress *string `protobuf:"bytes,1,opt,name=street_address,json=streetAddress,proto3,oneof" json:"street_address,omitempty"`
	// Required. City, town or commune. May also include dependent localities or
	// sublocalities (For example neighborhoods or suburbs).
	City *string `protobuf:"bytes,2,opt,name=city,proto3,oneof" json:"city,omitempty"`
	// Required. Top-level administrative subdivision of the country. For example,
	// a state like California ("CA") or a province like Quebec ("QC").
	AdministrativeArea *string `protobuf:"bytes,3,opt,name=administrative_area,json=administrativeArea,proto3,oneof" json:"administrative_area,omitempty"`
	// Required. Postal code or ZIP (For example "94043").
	PostalCode *string `protobuf:"bytes,4,opt,name=postal_code,json=postalCode,proto3,oneof" json:"postal_code,omitempty"`
	// Required. [CLDR country
	// code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
	// (For example "US").
	RegionCode *string `protobuf:"bytes,5,opt,name=region_code,json=regionCode,proto3,oneof" json:"region_code,omitempty"`
	// contains filtered or unexported fields
}

Shipping address of the warehouse.

func (*Address) Descriptor

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

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetAdministrativeArea

func (x *Address) GetAdministrativeArea() string

func (*Address) GetCity

func (x *Address) GetCity() string

func (*Address) GetPostalCode

func (x *Address) GetPostalCode() string

func (*Address) GetRegionCode

func (x *Address) GetRegionCode() string

func (*Address) GetStreetAddress

func (x *Address) GetStreetAddress() string

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect

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

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

ApproveAccountServiceRequest

type ApproveAccountServiceRequest struct {

	// Required. The resource name of the account service to approve.
	// Format: `accounts/{account}/services/{service}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request to approve an account service.

func (*ApproveAccountServiceRequest) Descriptor

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

Deprecated: Use ApproveAccountServiceRequest.ProtoReflect.Descriptor instead.

func (*ApproveAccountServiceRequest) GetName

func (x *ApproveAccountServiceRequest) GetName() string

func (*ApproveAccountServiceRequest) ProtoMessage

func (*ApproveAccountServiceRequest) ProtoMessage()

func (*ApproveAccountServiceRequest) ProtoReflect

func (*ApproveAccountServiceRequest) Reset

func (x *ApproveAccountServiceRequest) Reset()

func (*ApproveAccountServiceRequest) String

AutofeedSettings

type AutofeedSettings struct {

	// Identifier. The resource name of the autofeed settings.
	// Format: `accounts/{account}/autofeedSettings`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Enables or disables product crawling through the autofeed for the
	// given account. Autofeed accounts must meet [certain
	// conditions](https://support.google.com/merchants/answer/7538732#Configure_automated_feeds_Standard_Experience),
	// which can be checked through the `eligible` field.
	// The account must **not** be a marketplace.
	// When the autofeed is enabled for the first time, the products usually
	// appear instantly. When re-enabling, it might take up to 24 hours for
	// products to appear.
	EnableProducts bool `protobuf:"varint,2,opt,name=enable_products,json=enableProducts,proto3" json:"enable_products,omitempty"`
	// Output only. Determines whether the business is eligible for being enrolled
	// into an autofeed.
	Eligible bool `protobuf:"varint,3,opt,name=eligible,proto3" json:"eligible,omitempty"`
	// contains filtered or unexported fields
}

Collection of information related to the autofeed settings.

func (*AutofeedSettings) Descriptor

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

Deprecated: Use AutofeedSettings.ProtoReflect.Descriptor instead.

func (*AutofeedSettings) GetEligible

func (x *AutofeedSettings) GetEligible() bool

func (*AutofeedSettings) GetEnableProducts

func (x *AutofeedSettings) GetEnableProducts() bool

func (*AutofeedSettings) GetName

func (x *AutofeedSettings) GetName() string

func (*AutofeedSettings) ProtoMessage

func (*AutofeedSettings) ProtoMessage()

func (*AutofeedSettings) ProtoReflect

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

func (*AutofeedSettings) Reset

func (x *AutofeedSettings) Reset()

func (*AutofeedSettings) String

func (x *AutofeedSettings) String() string

AutofeedSettingsServiceClient

type AutofeedSettingsServiceClient interface {
	// Retrieves the autofeed settings of an account.
	GetAutofeedSettings(ctx context.Context, in *GetAutofeedSettingsRequest, opts ...grpc.CallOption) (*AutofeedSettings, error)
	// Updates the autofeed settings of an account.
	UpdateAutofeedSettings(ctx context.Context, in *UpdateAutofeedSettingsRequest, opts ...grpc.CallOption) (*AutofeedSettings, error)
}

AutofeedSettingsServiceClient is the client API for AutofeedSettingsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAutofeedSettingsServiceClient

func NewAutofeedSettingsServiceClient(cc grpc.ClientConnInterface) AutofeedSettingsServiceClient

AutofeedSettingsServiceServer

type AutofeedSettingsServiceServer interface {
	// Retrieves the autofeed settings of an account.
	GetAutofeedSettings(context.Context, *GetAutofeedSettingsRequest) (*AutofeedSettings, error)
	// Updates the autofeed settings of an account.
	UpdateAutofeedSettings(context.Context, *UpdateAutofeedSettingsRequest) (*AutofeedSettings, error)
}

AutofeedSettingsServiceServer is the server API for AutofeedSettingsService service. All implementations should embed UnimplementedAutofeedSettingsServiceServer for forward compatibility

AutomaticImageImprovements

type AutomaticImageImprovements struct {

	// Optional. Determines how the images should be automatically updated.
	// If this field is not present and provided in the update mask, then the
	// settings will be deleted. If there are no settings for subaccount, they are
	// inherited from aggregator.
	AccountImageImprovementsSettings *AutomaticImageImprovements_ImageImprovementsAccountLevelSettings `protobuf:"bytes,1,opt,name=account_image_improvements_settings,json=accountImageImprovementsSettings,proto3,oneof" json:"account_image_improvements_settings,omitempty"`
	// Output only. The effective value of allow_automatic_image_improvements.
	// If account_image_improvements_settings is present, then this value is the
	// same. Otherwise, it represents the inherited value of the parent account.
	// Read-only.
	EffectiveAllowAutomaticImageImprovements bool `protobuf:"varint,2,opt,name=effective_allow_automatic_image_improvements,json=effectiveAllowAutomaticImageImprovements,proto3" json:"effective_allow_automatic_image_improvements,omitempty"`
	// contains filtered or unexported fields
}

This improvement will attempt to automatically correct submitted images if they don't meet the image requirements, for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: Automatic image improvements

func (*AutomaticImageImprovements) Descriptor

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

Deprecated: Use AutomaticImageImprovements.ProtoReflect.Descriptor instead.

func (*AutomaticImageImprovements) GetAccountImageImprovementsSettings

func (*AutomaticImageImprovements) GetEffectiveAllowAutomaticImageImprovements

func (x *AutomaticImageImprovements) GetEffectiveAllowAutomaticImageImprovements() bool

func (*AutomaticImageImprovements) ProtoMessage

func (*AutomaticImageImprovements) ProtoMessage()

func (*AutomaticImageImprovements) ProtoReflect

func (*AutomaticImageImprovements) Reset

func (x *AutomaticImageImprovements) Reset()

func (*AutomaticImageImprovements) String

func (x *AutomaticImageImprovements) String() string

AutomaticImageImprovements_ImageImprovementsAccountLevelSettings

type AutomaticImageImprovements_ImageImprovementsAccountLevelSettings struct {

	// Enables automatic image improvements.
	AllowAutomaticImageImprovements *bool `protobuf:"varint,1,opt,name=allow_automatic_image_improvements,json=allowAutomaticImageImprovements,proto3,oneof" json:"allow_automatic_image_improvements,omitempty"`
	// contains filtered or unexported fields
}

Settings for the Automatic Image Improvements.

func (*AutomaticImageImprovements_ImageImprovementsAccountLevelSettings) Descriptor

Deprecated: Use AutomaticImageImprovements_ImageImprovementsAccountLevelSettings.ProtoReflect.Descriptor instead.

func (*AutomaticImageImprovements_ImageImprovementsAccountLevelSettings) GetAllowAutomaticImageImprovements

func (x *AutomaticImageImprovements_ImageImprovementsAccountLevelSettings) GetAllowAutomaticImageImprovements() bool

func (*AutomaticImageImprovements_ImageImprovementsAccountLevelSettings) ProtoMessage

func (*AutomaticImageImprovements_ImageImprovementsAccountLevelSettings) ProtoReflect

func (*AutomaticImageImprovements_ImageImprovementsAccountLevelSettings) Reset

func (*AutomaticImageImprovements_ImageImprovementsAccountLevelSettings) String

AutomaticImprovements

type AutomaticImprovements struct {

	// Identifier. The resource name of the automatic improvements.
	// Format: `accounts/{account}/automaticImprovements`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Turning on [item
	// updates](https://support.google.com/merchants/answer/3246284) allows
	// Google to automatically update items for you. When item updates are on,
	// Google uses the structured data markup on the website and advanced data
	// extractors to update the price and availability of the items. When the item
	// updates are off, items with mismatched data aren't shown.
	// This field is only updated (cleared) if provided in the update mask.
	ItemUpdates *AutomaticItemUpdates `protobuf:"bytes,2,opt,name=item_updates,json=itemUpdates,proto3,oneof" json:"item_updates,omitempty"`
	// This improvement will attempt to automatically correct submitted images if
	// they don't meet the [image
	// requirements](https://support.google.com/merchants/answer/6324350), for
	// example, removing overlays. If successful, the image will be replaced and
	// approved. This improvement is only applied to images of disapproved offers.
	// For more information see: [Automatic image
	// improvements](https://support.google.com/merchants/answer/9242973)
	// This field is only updated (cleared) if provided in the update mask.
	ImageImprovements *AutomaticImageImprovements `protobuf:"bytes,3,opt,name=image_improvements,json=imageImprovements,proto3,oneof" json:"image_improvements,omitempty"`
	// Not available for [advanced
	// accounts](https://support.google.com/merchants/answer/188487). By turning
	// on [automatic shipping
	// improvements](https://support.google.com/merchants/answer/10027038), you
	// are allowing Google to improve the accuracy of your delivery times shown to
	// shoppers using Google. More accurate delivery times, especially when
	// faster, typically lead to better conversion rates. Google will improve your
	// estimated delivery times based on various factors:
	// * Delivery address of an order
	// * Current handling time and shipping time settings
	// * Estimated weekdays or business days
	// * Parcel tracking data
	// This field is only updated (cleared) if provided in the update mask.
	ShippingImprovements *AutomaticShippingImprovements `protobuf:"bytes,4,opt,name=shipping_improvements,json=shippingImprovements,proto3,oneof" json:"shipping_improvements,omitempty"`
	// contains filtered or unexported fields
}

Collection of information related to the automatic improvements of an account.

func (*AutomaticImprovements) Descriptor

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

Deprecated: Use AutomaticImprovements.ProtoReflect.Descriptor instead.

func (*AutomaticImprovements) GetImageImprovements

func (x *AutomaticImprovements) GetImageImprovements() *AutomaticImageImprovements

func (*AutomaticImprovements) GetItemUpdates

func (x *AutomaticImprovements) GetItemUpdates() *AutomaticItemUpdates

func (*AutomaticImprovements) GetName

func (x *AutomaticImprovements) GetName() string

func (*AutomaticImprovements) GetShippingImprovements

func (x *AutomaticImprovements) GetShippingImprovements() *AutomaticShippingImprovements

func (*AutomaticImprovements) ProtoMessage

func (*AutomaticImprovements) ProtoMessage()

func (*AutomaticImprovements) ProtoReflect

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

func (*AutomaticImprovements) Reset

func (x *AutomaticImprovements) Reset()

func (*AutomaticImprovements) String

func (x *AutomaticImprovements) String() string

AutomaticImprovementsServiceClient

type AutomaticImprovementsServiceClient interface {
	// Retrieves the automatic improvements of an account.
	GetAutomaticImprovements(ctx context.Context, in *GetAutomaticImprovementsRequest, opts ...grpc.CallOption) (*AutomaticImprovements, error)
	// Updates the automatic improvements of an account.
	UpdateAutomaticImprovements(ctx context.Context, in *UpdateAutomaticImprovementsRequest, opts ...grpc.CallOption) (*AutomaticImprovements, error)
}

AutomaticImprovementsServiceClient is the client API for AutomaticImprovementsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAutomaticImprovementsServiceClient

func NewAutomaticImprovementsServiceClient(cc grpc.ClientConnInterface) AutomaticImprovementsServiceClient

AutomaticImprovementsServiceServer

type AutomaticImprovementsServiceServer interface {
	// Retrieves the automatic improvements of an account.
	GetAutomaticImprovements(context.Context, *GetAutomaticImprovementsRequest) (*AutomaticImprovements, error)
	// Updates the automatic improvements of an account.
	UpdateAutomaticImprovements(context.Context, *UpdateAutomaticImprovementsRequest) (*AutomaticImprovements, error)
}

AutomaticImprovementsServiceServer is the server API for AutomaticImprovementsService service. All implementations should embed UnimplementedAutomaticImprovementsServiceServer for forward compatibility

AutomaticItemUpdates

type AutomaticItemUpdates struct {

	// Optional. Determines which attributes of the items should be automatically
	// updated. If this field is not present and provided in the update mask, then
	// the settings will be deleted. If there are no settings for subaccount, they
	// are inherited from aggregator.
	AccountItemUpdatesSettings *AutomaticItemUpdates_ItemUpdatesAccountLevelSettings `protobuf:"bytes,1,opt,name=account_item_updates_settings,json=accountItemUpdatesSettings,proto3" json:"account_item_updates_settings,omitempty"`
	// Output only. The effective value of allow_price_updates.
	// If account_item_updates_settings is present, then this value is the same.
	// Otherwise, it represents the inherited value of the parent account.
	// The default value is true if no settings are present.
	// Read-only.
	EffectiveAllowPriceUpdates bool `protobuf:"varint,2,opt,name=effective_allow_price_updates,json=effectiveAllowPriceUpdates,proto3" json:"effective_allow_price_updates,omitempty"`
	// Output only. The effective value of allow_availability_updates.
	// If account_item_updates_settings is present, then this value is the same.
	// Otherwise, it represents the inherited value of the parent account.
	// The default value is true if no settings are present.
	// Read-only.
	EffectiveAllowAvailabilityUpdates bool `protobuf:"varint,3,opt,name=effective_allow_availability_updates,json=effectiveAllowAvailabilityUpdates,proto3" json:"effective_allow_availability_updates,omitempty"`
	// Output only. The effective value of
	// allow_strict_availability_updates.
	// If account_item_updates_settings is present, then this value is the same.
	// Otherwise, it represents the inherited value of the parent account.
	// The default value is true if no settings are present.
	// Read-only.
	EffectiveAllowStrictAvailabilityUpdates bool `protobuf:"varint,4,opt,name=effective_allow_strict_availability_updates,json=effectiveAllowStrictAvailabilityUpdates,proto3" json:"effective_allow_strict_availability_updates,omitempty"`
	// Output only. The effective value of allow_condition_updates.
	// If account_item_updates_settings is present, then this value is the same.
	// Otherwise, it represents the inherited value of the parent account.
	// The default value is true if no settings are present.
	// Read-only.
	EffectiveAllowConditionUpdates bool `protobuf:"varint,5,opt,name=effective_allow_condition_updates,json=effectiveAllowConditionUpdates,proto3" json:"effective_allow_condition_updates,omitempty"`
	// contains filtered or unexported fields
}

Turning on item updates allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren't shown.

func (*AutomaticItemUpdates) Descriptor

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

Deprecated: Use AutomaticItemUpdates.ProtoReflect.Descriptor instead.

func (*AutomaticItemUpdates) GetAccountItemUpdatesSettings

func (*AutomaticItemUpdates) GetEffectiveAllowAvailabilityUpdates

func (x *AutomaticItemUpdates) GetEffectiveAllowAvailabilityUpdates() bool

func (*AutomaticItemUpdates) GetEffectiveAllowConditionUpdates

func (x *AutomaticItemUpdates) GetEffectiveAllowConditionUpdates() bool

func (*AutomaticItemUpdates) GetEffectiveAllowPriceUpdates

func (x *AutomaticItemUpdates) GetEffectiveAllowPriceUpdates() bool

func (*AutomaticItemUpdates) GetEffectiveAllowStrictAvailabilityUpdates

func (x *AutomaticItemUpdates) GetEffectiveAllowStrictAvailabilityUpdates() bool

func (*AutomaticItemUpdates) ProtoMessage

func (*AutomaticItemUpdates) ProtoMessage()

func (*AutomaticItemUpdates) ProtoReflect

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

func (*AutomaticItemUpdates) Reset

func (x *AutomaticItemUpdates) Reset()

func (*AutomaticItemUpdates) String

func (x *AutomaticItemUpdates) String() string

AutomaticItemUpdates_ItemUpdatesAccountLevelSettings

type AutomaticItemUpdates_ItemUpdatesAccountLevelSettings struct {

	// If price updates are enabled, Google always updates the active price with
	// the crawled information.
	AllowPriceUpdates *bool `protobuf:"varint,1,opt,name=allow_price_updates,json=allowPriceUpdates,proto3,oneof" json:"allow_price_updates,omitempty"`
	// If availability updates are enabled, any previous availability values
	// get overwritten if Google finds an out-of-stock annotation on the offer's
	// page.
	// If additionally `allow_strict_availability_updates` field is set to
	// true, values get overwritten if Google finds an in-stock annotation on
	// the offer’s page.
	AllowAvailabilityUpdates *bool `protobuf:"varint,2,opt,name=allow_availability_updates,json=allowAvailabilityUpdates,proto3,oneof" json:"allow_availability_updates,omitempty"`
	// If `allow_availability_updates` is enabled, items are automatically
	// updated in all your Shopping target countries. By default, availability
	// updates will only be applied to items that are 'out of stock' on your
	// website but 'in stock' on Shopping. Set this to true to also update items
	// that are 'in stock' on your website, but 'out of stock' on Google
	// Shopping. In order for this field to have an effect, you must also set
	// `allow_availability_updates`.
	AllowStrictAvailabilityUpdates *bool `protobuf:"varint,3,opt,name=allow_strict_availability_updates,json=allowStrictAvailabilityUpdates,proto3,oneof" json:"allow_strict_availability_updates,omitempty"`
	// If condition updates are enabled, Google always updates item condition
	// with the condition detected from the details of your product.
	AllowConditionUpdates *bool `protobuf:"varint,4,opt,name=allow_condition_updates,json=allowConditionUpdates,proto3,oneof" json:"allow_condition_updates,omitempty"`
	// contains filtered or unexported fields
}

Settings for the Automatic Item Updates.

func (*AutomaticItemUpdates_ItemUpdatesAccountLevelSettings) Descriptor

Deprecated: Use AutomaticItemUpdates_ItemUpdatesAccountLevelSettings.ProtoReflect.Descriptor instead.

func (*AutomaticItemUpdates_ItemUpdatesAccountLevelSettings) GetAllowAvailabilityUpdates

func (x *AutomaticItemUpdates_ItemUpdatesAccountLevelSettings) GetAllowAvailabilityUpdates() bool

func (*AutomaticItemUpdates_ItemUpdatesAccountLevelSettings) GetAllowConditionUpdates

func (x *AutomaticItemUpdates_ItemUpdatesAccountLevelSettings) GetAllowConditionUpdates() bool

func (*AutomaticItemUpdates_ItemUpdatesAccountLevelSettings) GetAllowPriceUpdates

func (*AutomaticItemUpdates_ItemUpdatesAccountLevelSettings) GetAllowStrictAvailabilityUpdates

func (x *AutomaticItemUpdates_ItemUpdatesAccountLevelSettings) GetAllowStrictAvailabilityUpdates() bool

func (*AutomaticItemUpdates_ItemUpdatesAccountLevelSettings) ProtoMessage

func (*AutomaticItemUpdates_ItemUpdatesAccountLevelSettings) ProtoReflect

func (*AutomaticItemUpdates_ItemUpdatesAccountLevelSettings) Reset

func (*AutomaticItemUpdates_ItemUpdatesAccountLevelSettings) String

AutomaticShippingImprovements

type AutomaticShippingImprovements struct {

	// Enables automatic shipping improvements.
	AllowShippingImprovements *bool `protobuf:"varint,1,opt,name=allow_shipping_improvements,json=allowShippingImprovements,proto3,oneof" json:"allow_shipping_improvements,omitempty"`
	// contains filtered or unexported fields
}

Not available for advanced accounts. By turning on automatic shipping improvements, you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors:

  • Delivery address of an order
  • Current handling time and shipping time settings
  • Estimated weekdays or business days
  • Parcel tracking data

func (*AutomaticShippingImprovements) Descriptor

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

Deprecated: Use AutomaticShippingImprovements.ProtoReflect.Descriptor instead.

func (*AutomaticShippingImprovements) GetAllowShippingImprovements

func (x *AutomaticShippingImprovements) GetAllowShippingImprovements() bool

func (*AutomaticShippingImprovements) ProtoMessage

func (*AutomaticShippingImprovements) ProtoMessage()

func (*AutomaticShippingImprovements) ProtoReflect

func (*AutomaticShippingImprovements) Reset

func (x *AutomaticShippingImprovements) Reset()

func (*AutomaticShippingImprovements) String

BatchCreateRegionsRequest

type BatchCreateRegionsRequest struct {

	// Required. The account to create one or more regions for.
	// Format: `accounts/{account}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The region(s) to create.
	// The maximum number of regions that can be created in a batch is 100.
	Requests []*CreateRegionRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

Request message for the BatchCreateRegions method.

func (*BatchCreateRegionsRequest) Descriptor

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

Deprecated: Use BatchCreateRegionsRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateRegionsRequest) GetParent

func (x *BatchCreateRegionsRequest) GetParent() string

func (*BatchCreateRegionsRequest) GetRequests

func (x *BatchCreateRegionsRequest) GetRequests() []*CreateRegionRequest

func (*BatchCreateRegionsRequest) ProtoMessage

func (*BatchCreateRegionsRequest) ProtoMessage()

func (*BatchCreateRegionsRequest) ProtoReflect

func (*BatchCreateRegionsRequest) Reset

func (x *BatchCreateRegionsRequest) Reset()

func (*BatchCreateRegionsRequest) String

func (x *BatchCreateRegionsRequest) String() string

BatchCreateRegionsResponse

type BatchCreateRegionsResponse struct {

	// The created region(s).
	Regions []*Region `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"`
	// contains filtered or unexported fields
}

Response message for the BatchCreateRegions method.

func (*BatchCreateRegionsResponse) Descriptor

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

Deprecated: Use BatchCreateRegionsResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateRegionsResponse) GetRegions

func (x *BatchCreateRegionsResponse) GetRegions() []*Region

func (*BatchCreateRegionsResponse) ProtoMessage

func (*BatchCreateRegionsResponse) ProtoMessage()

func (*BatchCreateRegionsResponse) ProtoReflect

func (*BatchCreateRegionsResponse) Reset

func (x *BatchCreateRegionsResponse) Reset()

func (*BatchCreateRegionsResponse) String

func (x *BatchCreateRegionsResponse) String() string

BatchDeleteRegionsRequest

type BatchDeleteRegionsRequest struct {

	// Required. The account to delete one or more regions from.
	// Format: `accounts/{account}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The names of the regions to delete.
	// A maximum of 100 regions can be deleted in a batch.
	Requests []*DeleteRegionRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

Request message for the BatchDeleteRegions method.

func (*BatchDeleteRegionsRequest) Descriptor

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

Deprecated: Use BatchDeleteRegionsRequest.ProtoReflect.Descriptor instead.

func (*BatchDeleteRegionsRequest) GetParent

func (x *BatchDeleteRegionsRequest) GetParent() string

func (*BatchDeleteRegionsRequest) GetRequests

func (x *BatchDeleteRegionsRequest) GetRequests() []*DeleteRegionRequest

func (*BatchDeleteRegionsRequest) ProtoMessage

func (*BatchDeleteRegionsRequest) ProtoMessage()

func (*BatchDeleteRegionsRequest) ProtoReflect

func (*BatchDeleteRegionsRequest) Reset

func (x *BatchDeleteRegionsRequest) Reset()

func (*BatchDeleteRegionsRequest) String

func (x *BatchDeleteRegionsRequest) String() string

BatchUpdateRegionsRequest

type BatchUpdateRegionsRequest struct {

	// Required. The account to update one or more regions for.
	// Format: `accounts/{account}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The region(s) to update.
	// The maximum number of regions that can be updated in a batch is 100.
	Requests []*UpdateRegionRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

Request message for the BatchUpdateRegions method.

func (*BatchUpdateRegionsRequest) Descriptor

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

Deprecated: Use BatchUpdateRegionsRequest.ProtoReflect.Descriptor instead.

func (*BatchUpdateRegionsRequest) GetParent

func (x *BatchUpdateRegionsRequest) GetParent() string

func (*BatchUpdateRegionsRequest) GetRequests

func (x *BatchUpdateRegionsRequest) GetRequests() []*UpdateRegionRequest

func (*BatchUpdateRegionsRequest) ProtoMessage

func (*BatchUpdateRegionsRequest) ProtoMessage()

func (*BatchUpdateRegionsRequest) ProtoReflect

func (*BatchUpdateRegionsRequest) Reset

func (x *BatchUpdateRegionsRequest) Reset()

func (*BatchUpdateRegionsRequest) String

func (x *BatchUpdateRegionsRequest) String() string

BatchUpdateRegionsResponse

type BatchUpdateRegionsResponse struct {

	// The updated region(s).
	Regions []*Region `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"`
	// contains filtered or unexported fields
}

Response message for the BatchUpdateRegions method.

func (*BatchUpdateRegionsResponse) Descriptor

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

Deprecated: Use BatchUpdateRegionsResponse.ProtoReflect.Descriptor instead.

func (*BatchUpdateRegionsResponse) GetRegions

func (x *BatchUpdateRegionsResponse) GetRegions() []*Region

func (*BatchUpdateRegionsResponse) ProtoMessage

func (*BatchUpdateRegionsResponse) ProtoMessage()

func (*BatchUpdateRegionsResponse) ProtoReflect

func (*BatchUpdateRegionsResponse) Reset

func (x *BatchUpdateRegionsResponse) Reset()

func (*BatchUpdateRegionsResponse) String

func (x *BatchUpdateRegionsResponse) String() string

BusinessDayConfig

type BusinessDayConfig struct {

	// Required. Regular business days.
	// May not be empty.
	BusinessDays []BusinessDayConfig_Weekday `protobuf:"varint,1,rep,packed,name=business_days,json=businessDays,proto3,enum=google.shopping.merchant.accounts.v1.BusinessDayConfig_Weekday" json:"business_days,omitempty"`
	// contains filtered or unexported fields
}

Business days of the warehouse.

func (*BusinessDayConfig) Descriptor

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

Deprecated: Use BusinessDayConfig.ProtoReflect.Descriptor instead.

func (*BusinessDayConfig) GetBusinessDays

func (x *BusinessDayConfig) GetBusinessDays() []BusinessDayConfig_Weekday

func (*BusinessDayConfig) ProtoMessage

func (*BusinessDayConfig) ProtoMessage()

func (*BusinessDayConfig) ProtoReflect

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

func (*BusinessDayConfig) Reset

func (x *BusinessDayConfig) Reset()

func (*BusinessDayConfig) String

func (x *BusinessDayConfig) String() string

BusinessDayConfig_Weekday

type BusinessDayConfig_Weekday int32

BusinessDayConfig_WEEKDAY_UNSPECIFIED, BusinessDayConfig_MONDAY, BusinessDayConfig_TUESDAY, BusinessDayConfig_WEDNESDAY, BusinessDayConfig_THURSDAY, BusinessDayConfig_FRIDAY, BusinessDayConfig_SATURDAY, BusinessDayConfig_SUNDAY

const (
	BusinessDayConfig_WEEKDAY_UNSPECIFIED BusinessDayConfig_Weekday = 0
	BusinessDayConfig_MONDAY              BusinessDayConfig_Weekday = 1
	BusinessDayConfig_TUESDAY             BusinessDayConfig_Weekday = 2
	BusinessDayConfig_WEDNESDAY           BusinessDayConfig_Weekday = 3
	BusinessDayConfig_THURSDAY            BusinessDayConfig_Weekday = 4
	BusinessDayConfig_FRIDAY              BusinessDayConfig_Weekday = 5
	BusinessDayConfig_SATURDAY            BusinessDayConfig_Weekday = 6
	BusinessDayConfig_SUNDAY              BusinessDayConfig_Weekday = 7
)

func (BusinessDayConfig_Weekday) Descriptor

func (BusinessDayConfig_Weekday) Enum

func (BusinessDayConfig_Weekday) EnumDescriptor

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

Deprecated: Use BusinessDayConfig_Weekday.Descriptor instead.

func (BusinessDayConfig_Weekday) Number

func (BusinessDayConfig_Weekday) String

func (x BusinessDayConfig_Weekday) String() string

func (BusinessDayConfig_Weekday) Type

BusinessIdentity

type BusinessIdentity struct {

	// Identifier. The resource name of the business identity.
	// Format: `accounts/{account}/businessIdentity`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Whether the identity attributes may be used for promotions.
	PromotionsConsent BusinessIdentity_PromotionsConsent `protobuf:"varint,2,opt,name=promotions_consent,json=promotionsConsent,proto3,enum=google.shopping.merchant.accounts.v1.BusinessIdentity_PromotionsConsent" json:"promotions_consent,omitempty"`
	// Optional. Specifies whether the business identifies itself as being
	// black-owned. This optional field will only be available for businesses with
	// the business country set to `US`. It is also not applicable for
	// marketplaces or marketplace sellers.
	BlackOwned *BusinessIdentity_IdentityAttribute `protobuf:"bytes,3,opt,name=black_owned,json=blackOwned,proto3" json:"black_owned,omitempty"`
	// Optional. Specifies whether the business identifies itself as being
	// women-owned. This optional field will only be available for businesses with
	// a business country set to `US`. It is also not applicable for marketplaces
	// or marketplace sellers.
	WomenOwned *BusinessIdentity_IdentityAttribute `protobuf:"bytes,4,opt,name=women_owned,json=womenOwned,proto3" json:"women_owned,omitempty"`
	// Optional. Specifies whether the business identifies itself as being
	// veteran-owned. This optional field will only be available for businesses
	// with a business country set to `US`. It is also not applicable for
	// marketplaces or marketplace sellers.
	VeteranOwned *BusinessIdentity_IdentityAttribute `protobuf:"bytes,5,opt,name=veteran_owned,json=veteranOwned,proto3" json:"veteran_owned,omitempty"`
	// Optional. Specifies whether the business identifies itself as being
	// latino-owned. This optional field will only be available for businesses
	// with the business country set to `US`. It is also not applicable for
	// marketplaces or marketplace sellers.
	LatinoOwned *BusinessIdentity_IdentityAttribute `protobuf:"bytes,6,opt,name=latino_owned,json=latinoOwned,proto3" json:"latino_owned,omitempty"`
	// Optional. Specifies whether the business identifies itself as a small
	// business. This optional field will only be available for businesses with a
	// business country set to `US`. It is also not applicable for marketplaces.
	SmallBusiness *BusinessIdentity_IdentityAttribute `protobuf:"bytes,7,opt,name=small_business,json=smallBusiness,proto3" json:"small_business,omitempty"`
	// contains filtered or unexported fields
}

Collection of information related to the identity of a business.

func (*BusinessIdentity) Descriptor

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

Deprecated: Use BusinessIdentity.ProtoReflect.Descriptor instead.

func (*BusinessIdentity) GetBlackOwned

func (*BusinessIdentity) GetLatinoOwned

func (*BusinessIdentity) GetName

func (x *BusinessIdentity) GetName() string

func (*BusinessIdentity) GetPromotionsConsent

func (x *BusinessIdentity) GetPromotionsConsent() BusinessIdentity_PromotionsConsent

func (*BusinessIdentity) GetSmallBusiness

func (*BusinessIdentity) GetVeteranOwned

func (*BusinessIdentity) GetWomenOwned

func (*BusinessIdentity) ProtoMessage

func (*BusinessIdentity) ProtoMessage()

func (*BusinessIdentity) ProtoReflect

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

func (*BusinessIdentity) Reset

func (x *BusinessIdentity) Reset()

func (*BusinessIdentity) String

func (x *BusinessIdentity) String() string

BusinessIdentityServiceClient

type BusinessIdentityServiceClient interface {
	// Retrieves the business identity of an account.
	GetBusinessIdentity(ctx context.Context, in *GetBusinessIdentityRequest, opts ...grpc.CallOption) (*BusinessIdentity, error)
	// Updates the business identity of an account. Executing this method requires
	// admin access.
	UpdateBusinessIdentity(ctx context.Context, in *UpdateBusinessIdentityRequest, opts ...grpc.CallOption) (*BusinessIdentity, error)
}

BusinessIdentityServiceClient is the client API for BusinessIdentityService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewBusinessIdentityServiceClient

func NewBusinessIdentityServiceClient(cc grpc.ClientConnInterface) BusinessIdentityServiceClient

BusinessIdentityServiceServer

type BusinessIdentityServiceServer interface {
	// Retrieves the business identity of an account.
	GetBusinessIdentity(context.Context, *GetBusinessIdentityRequest) (*BusinessIdentity, error)
	// Updates the business identity of an account. Executing this method requires
	// admin access.
	UpdateBusinessIdentity(context.Context, *UpdateBusinessIdentityRequest) (*BusinessIdentity, error)
}

BusinessIdentityServiceServer is the server API for BusinessIdentityService service. All implementations should embed UnimplementedBusinessIdentityServiceServer for forward compatibility

BusinessIdentity_IdentityAttribute

type BusinessIdentity_IdentityAttribute struct {

	// Required. The declaration of identity for this attribute.
	IdentityDeclaration BusinessIdentity_IdentityAttribute_IdentityDeclaration `protobuf:"varint,1,opt,name=identity_declaration,json=identityDeclaration,proto3,enum=google.shopping.merchant.accounts.v1.BusinessIdentity_IdentityAttribute_IdentityDeclaration" json:"identity_declaration,omitempty"`
	// contains filtered or unexported fields
}

All information related to an identity attribute.

func (*BusinessIdentity_IdentityAttribute) Descriptor

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

Deprecated: Use BusinessIdentity_IdentityAttribute.ProtoReflect.Descriptor instead.

func (*BusinessIdentity_IdentityAttribute) GetIdentityDeclaration

func (*BusinessIdentity_IdentityAttribute) ProtoMessage

func (*BusinessIdentity_IdentityAttribute) ProtoMessage()

func (*BusinessIdentity_IdentityAttribute) ProtoReflect

func (*BusinessIdentity_IdentityAttribute) Reset

func (*BusinessIdentity_IdentityAttribute) String

BusinessIdentity_IdentityAttribute_IdentityDeclaration

type BusinessIdentity_IdentityAttribute_IdentityDeclaration int32

All possible settings regarding the declaration of an identity.

BusinessIdentity_IdentityAttribute_IDENTITY_DECLARATION_UNSPECIFIED, BusinessIdentity_IdentityAttribute_SELF_IDENTIFIES_AS, BusinessIdentity_IdentityAttribute_DOES_NOT_SELF_IDENTIFY_AS

const (
	// Default value indicating that no selection was made.
	BusinessIdentity_IdentityAttribute_IDENTITY_DECLARATION_UNSPECIFIED BusinessIdentity_IdentityAttribute_IdentityDeclaration = 0
	// Indicates that the account identifies with the attribute.
	BusinessIdentity_IdentityAttribute_SELF_IDENTIFIES_AS BusinessIdentity_IdentityAttribute_IdentityDeclaration = 1
	// Indicates that the account does not identify with the attribute.
	BusinessIdentity_IdentityAttribute_DOES_NOT_SELF_IDENTIFY_AS BusinessIdentity_IdentityAttribute_IdentityDeclaration = 2
)

func (BusinessIdentity_IdentityAttribute_IdentityDeclaration) Descriptor

func (BusinessIdentity_IdentityAttribute_IdentityDeclaration) Enum

func (BusinessIdentity_IdentityAttribute_IdentityDeclaration) EnumDescriptor

Deprecated: Use BusinessIdentity_IdentityAttribute_IdentityDeclaration.Descriptor instead.

func (BusinessIdentity_IdentityAttribute_IdentityDeclaration) Number

func (BusinessIdentity_IdentityAttribute_IdentityDeclaration) String

func (BusinessIdentity_IdentityAttribute_IdentityDeclaration) Type

BusinessIdentity_PromotionsConsent

type BusinessIdentity_PromotionsConsent int32

All possible settings regarding promotions related to the business identity.

const (
	// Default value indicating that no selection was made.
	BusinessIdentity_PROMOTIONS_CONSENT_UNSPECIFIED BusinessIdentity_PromotionsConsent = 0
	// Indicates that the account consented to having their business identity
	// used for promotions.
	BusinessIdentity_PROMOTIONS_CONSENT_GIVEN BusinessIdentity_PromotionsConsent = 1
	// Indicates that the account did not consent to having their business
	// identity used for promotions.
	BusinessIdentity_PROMOTIONS_CONSENT_DENIED BusinessIdentity_PromotionsConsent = 2
)

func (BusinessIdentity_PromotionsConsent) Descriptor

func (BusinessIdentity_PromotionsConsent) Enum

func (BusinessIdentity_PromotionsConsent) EnumDescriptor

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

Deprecated: Use BusinessIdentity_PromotionsConsent.Descriptor instead.

func (BusinessIdentity_PromotionsConsent) Number

func (BusinessIdentity_PromotionsConsent) String

func (BusinessIdentity_PromotionsConsent) Type

BusinessInfo

type BusinessInfo struct {

	// Identifier. The resource name of the business info.
	// Format: `accounts/{account}/businessInfo`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. The address of the business. Only `region_code`, `address_lines`,
	// `postal_code`, `administrative_area` and `locality` fields are supported.
	// All other fields are ignored.
	Address *postaladdress.PostalAddress `protobuf:"bytes,2,opt,name=address,proto3,oneof" json:"address,omitempty"`
	// Output only. The phone number of the business.
	Phone *phone_number.PhoneNumber `protobuf:"bytes,3,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
	// Output only. The phone verification state of the business.
	PhoneVerificationState *PhoneVerificationState `protobuf:"varint,4,opt,name=phone_verification_state,json=phoneVerificationState,proto3,enum=google.shopping.merchant.accounts.v1.PhoneVerificationState,oneof" json:"phone_verification_state,omitempty"`
	// Optional. The customer service of the business.
	CustomerService *CustomerService `protobuf:"bytes,5,opt,name=customer_service,json=customerService,proto3,oneof" json:"customer_service,omitempty"`
	// Optional. The 10-digit [Korean business registration
	// number](https://support.google.com/merchants/answer/9037766) separated with
	// dashes in the format: XXX-XX-XXXXX.
	KoreanBusinessRegistrationNumber *string `protobuf:"bytes,6,opt,name=korean_business_registration_number,json=koreanBusinessRegistrationNumber,proto3,oneof" json:"korean_business_registration_number,omitempty"`
	// contains filtered or unexported fields
}

The BusinessInfo message contains essential information about a

business.

This message captures key business details such as physical address,
customer service contacts, and region-specific identifiers.

func (*BusinessInfo) Descriptor

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

Deprecated: Use BusinessInfo.ProtoReflect.Descriptor instead.

func (*BusinessInfo) GetAddress

func (x *BusinessInfo) GetAddress() *postaladdress.PostalAddress

func (*BusinessInfo) GetCustomerService

func (x *BusinessInfo) GetCustomerService() *CustomerService

func (*BusinessInfo) GetKoreanBusinessRegistrationNumber

func (x *BusinessInfo) GetKoreanBusinessRegistrationNumber() string

func (*BusinessInfo) GetName

func (x *BusinessInfo) GetName() string

func (*BusinessInfo) GetPhone

func (x *BusinessInfo) GetPhone() *phone_number.PhoneNumber

func (*BusinessInfo) GetPhoneVerificationState

func (x *BusinessInfo) GetPhoneVerificationState() PhoneVerificationState

func (*BusinessInfo) ProtoMessage

func (*BusinessInfo) ProtoMessage()

func (*BusinessInfo) ProtoReflect

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

func (*BusinessInfo) Reset

func (x *BusinessInfo) Reset()

func (*BusinessInfo) String

func (x *BusinessInfo) String() string

BusinessInfoServiceClient

type BusinessInfoServiceClient interface {
	// Retrieves the business info of an account.
	GetBusinessInfo(ctx context.Context, in *GetBusinessInfoRequest, opts ...grpc.CallOption) (*BusinessInfo, error)
	// Updates the business info of an account. Executing this method requires
	// admin access.
	UpdateBusinessInfo(ctx context.Context, in *UpdateBusinessInfoRequest, opts ...grpc.CallOption) (*BusinessInfo, error)
}

BusinessInfoServiceClient is the client API for BusinessInfoService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewBusinessInfoServiceClient

func NewBusinessInfoServiceClient(cc grpc.ClientConnInterface) BusinessInfoServiceClient

BusinessInfoServiceServer

type BusinessInfoServiceServer interface {
	// Retrieves the business info of an account.
	GetBusinessInfo(context.Context, *GetBusinessInfoRequest) (*BusinessInfo, error)
	// Updates the business info of an account. Executing this method requires
	// admin access.
	UpdateBusinessInfo(context.Context, *UpdateBusinessInfoRequest) (*BusinessInfo, error)
}

BusinessInfoServiceServer is the server API for BusinessInfoService service. All implementations should embed UnimplementedBusinessInfoServiceServer for forward compatibility

CampaignsManagement

type CampaignsManagement struct {
	// contains filtered or unexported fields
}

CampaignManagement payload.

func (*CampaignsManagement) Descriptor

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

Deprecated: Use CampaignsManagement.ProtoReflect.Descriptor instead.

func (*CampaignsManagement) ProtoMessage

func (*CampaignsManagement) ProtoMessage()

func (*CampaignsManagement) ProtoReflect

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

func (*CampaignsManagement) Reset

func (x *CampaignsManagement) Reset()

func (*CampaignsManagement) String

func (x *CampaignsManagement) String() string

CarrierRate

type CarrierRate struct {

	// Required. Name of the carrier rate. Must be unique per rate group.
	Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Required. Carrier service, such as `"UPS"` or `"Fedex"`.
	Carrier *string `protobuf:"bytes,2,opt,name=carrier,proto3,oneof" json:"carrier,omitempty"`
	// Required. Carrier service, such as `"ground"` or `"2 days"`.
	CarrierService *string `protobuf:"bytes,3,opt,name=carrier_service,json=carrierService,proto3,oneof" json:"carrier_service,omitempty"`
	// Required. Shipping origin for this carrier rate.
	OriginPostalCode *string `protobuf:"bytes,4,opt,name=origin_postal_code,json=originPostalCode,proto3,oneof" json:"origin_postal_code,omitempty"`
	// Optional. Multiplicative shipping rate modifier as a number in decimal
	// notation. Can be negative. For example `"5.4"` increases the rate by 5.4%,
	// `"-3"` decreases the rate by 3%.
	PercentageAdjustment *string `protobuf:"bytes,5,opt,name=percentage_adjustment,json=percentageAdjustment,proto3,oneof" json:"percentage_adjustment,omitempty"`
	// Optional. Additive shipping rate modifier. Can be negative. For example
	// `{ "amount_micros": 1, "currency_code" : "USD" }` adds $1 to the rate,
	// `{ "amount_micros": -3, "currency_code" : "USD" }` removes $3 from the
	// rate.
	FlatAdjustment *typepb.Price `protobuf:"bytes,6,opt,name=flat_adjustment,json=flatAdjustment,proto3,oneof" json:"flat_adjustment,omitempty"`
	// contains filtered or unexported fields
}

A list of carrier rates that can be referred to by main_table or single_value. Supported carrier services are defined in https://support.google.com/merchants/answer/12577710?ref_topic=12570808&sjid=10662598224319463032-NC#zippy=%2Cdelivery-cost-rate-type%2Ccarrier-rate-au-de-uk-and-us-only.

func (*CarrierRate) Descriptor

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

Deprecated: Use CarrierRate.ProtoReflect.Descriptor instead.

func (*CarrierRate) GetCarrier

func (x *CarrierRate) GetCarrier() string

func (*CarrierRate) GetCarrierService

func (x *CarrierRate) GetCarrierService() string

func (*CarrierRate) GetFlatAdjustment

func (x *CarrierRate) GetFlatAdjustment() *typepb.Price

func (*CarrierRate) GetName

func (x *CarrierRate) GetName() string

func (*CarrierRate) GetOriginPostalCode

func (x *CarrierRate) GetOriginPostalCode() string

func (*CarrierRate) GetPercentageAdjustment

func (x *CarrierRate) GetPercentageAdjustment() string

func (*CarrierRate) ProtoMessage

func (*CarrierRate) ProtoMessage()

func (*CarrierRate) ProtoReflect

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

func (*CarrierRate) Reset

func (x *CarrierRate) Reset()

func (*CarrierRate) String

func (x *CarrierRate) String() string

CheckoutSettings

type CheckoutSettings struct {

	// Identifier. The resource name of the program configuration settings.
	// Format: `accounts/{account}/programs/{program}/checkoutSettings`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// URI settings for cart or checkout URL.
	UriSettings *UriSettings `protobuf:"bytes,2,opt,name=uri_settings,json=uriSettings,proto3,oneof" json:"uri_settings,omitempty"`
	// Optional. The destinations (also known as [Marketing
	// methods](https://support.google.com/merchants/answer/15130232)) to which
	// the checkout program applies, valid destination values are `SHOPPING_ADS`,
	// `FREE_LISTINGS`
	EligibleDestinations []typepb.Destination_DestinationEnum `protobuf:"varint,8,rep,packed,name=eligible_destinations,json=eligibleDestinations,proto3,enum=google.shopping.type.Destination_DestinationEnum" json:"eligible_destinations,omitempty"`
	// Output only. Reflects the merchant enrollment state in `Checkout` program.
	EnrollmentState *CheckoutSettings_CheckoutEnrollmentState `protobuf:"varint,3,opt,name=enrollment_state,json=enrollmentState,proto3,enum=google.shopping.merchant.accounts.v1.CheckoutSettings_CheckoutEnrollmentState,oneof" json:"enrollment_state,omitempty"`
	// Output only. Reflects the merchant review state in `Checkout` program.
	// This is set based on the data quality reviews of the URL provided by
	// the merchant.
	// A merchant with enrollment state
	// as `ENROLLED` can be in the following review states: `IN_REVIEW`,
	// `APPROVED` or `DISAPPROVED`. A merchant must be in an `enrollment_state` of
	// `ENROLLED` before a review can begin for the merchant.For more details,
	// check the help center doc.
	ReviewState *CheckoutSettings_CheckoutReviewState `protobuf:"varint,4,opt,name=review_state,json=reviewState,proto3,enum=google.shopping.merchant.accounts.v1.CheckoutSettings_CheckoutReviewState,oneof" json:"review_state,omitempty"`
	// Output only. The effective value of `uri_settings` for a given merchant. If
	// account level settings are present then this value will be a copy of url
	// settings. Otherwise, it will have the value of the parent account (for only
	// marketplace sellers).
	EffectiveUriSettings *UriSettings `protobuf:"bytes,5,opt,name=effective_uri_settings,json=effectiveUriSettings,proto3" json:"effective_uri_settings,omitempty"`
	// Output only. The effective value of enrollment_state for a given merchant
	// ID. If account level settings are present then this value will be a copy of
	// the account level settings. Otherwise, it will have the value of the parent
	// account (for only marketplace sellers).
	EffectiveEnrollmentState *CheckoutSettings_CheckoutEnrollmentState `protobuf:"varint,6,opt,name=effective_enrollment_state,json=effectiveEnrollmentState,proto3,enum=google.shopping.merchant.accounts.v1.CheckoutSettings_CheckoutEnrollmentState,oneof" json:"effective_enrollment_state,omitempty"`
	// Output only. The effective value of `review_state` for a given merchant ID.
	// If account level settings are present then this value will be a copy of the
	// account level settings. Otherwise, it will have the value of the parent
	// account (for only marketplace sellers).
	EffectiveReviewState *CheckoutSettings_CheckoutReviewState `protobuf:"varint,7,opt,name=effective_review_state,json=effectiveReviewState,proto3,enum=google.shopping.merchant.accounts.v1.CheckoutSettings_CheckoutReviewState,oneof" json:"effective_review_state,omitempty"`
	// contains filtered or unexported fields
}

CheckoutSettings for a specific merchant.

func (*CheckoutSettings) Descriptor

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

Deprecated: Use CheckoutSettings.ProtoReflect.Descriptor instead.

func (*CheckoutSettings) GetEffectiveEnrollmentState

func (x *CheckoutSettings) GetEffectiveEnrollmentState() CheckoutSettings_CheckoutEnrollmentState

func (*CheckoutSettings) GetEffectiveReviewState

func (x *CheckoutSettings) GetEffectiveReviewState() CheckoutSettings_CheckoutReviewState

func (*CheckoutSettings) GetEffectiveUriSettings

func (x *CheckoutSettings) GetEffectiveUriSettings() *UriSettings

func (*CheckoutSettings) GetEligibleDestinations

func (x *CheckoutSettings) GetEligibleDestinations() []typepb.Destination_DestinationEnum

func (*CheckoutSettings) GetEnrollmentState

func (*CheckoutSettings) GetName

func (x *CheckoutSettings) GetName() string

func (*CheckoutSettings) GetReviewState

func (*CheckoutSettings) GetUriSettings

func (x *CheckoutSettings) GetUriSettings() *UriSettings

func (*CheckoutSettings) ProtoMessage

func (*CheckoutSettings) ProtoMessage()

func (*CheckoutSettings) ProtoReflect

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

func (*CheckoutSettings) Reset

func (x *CheckoutSettings) Reset()

func (*CheckoutSettings) String

func (x *CheckoutSettings) String() string

CheckoutSettingsServiceClient

type CheckoutSettingsServiceClient interface {
	// Gets `CheckoutSettings` for the given merchant. This includes
	// information about review state, enrollment state and URL settings.
	GetCheckoutSettings(ctx context.Context, in *GetCheckoutSettingsRequest, opts ...grpc.CallOption) (*CheckoutSettings, error)
	// Creates `CheckoutSettings` for the given merchant.
	CreateCheckoutSettings(ctx context.Context, in *CreateCheckoutSettingsRequest, opts ...grpc.CallOption) (*CheckoutSettings, error)
	// Updates `CheckoutSettings` for the given merchant.
	UpdateCheckoutSettings(ctx context.Context, in *UpdateCheckoutSettingsRequest, opts ...grpc.CallOption) (*CheckoutSettings, error)
	// Deletes `CheckoutSettings` and unenrolls merchant from
	// `Checkout` program.
	DeleteCheckoutSettings(ctx context.Context, in *DeleteCheckoutSettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

CheckoutSettingsServiceClient is the client API for CheckoutSettingsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewCheckoutSettingsServiceClient

func NewCheckoutSettingsServiceClient(cc grpc.ClientConnInterface) CheckoutSettingsServiceClient

CheckoutSettingsServiceServer

type CheckoutSettingsServiceServer interface {
	// Gets `CheckoutSettings` for the given merchant. This includes
	// information about review state, enrollment state and URL settings.
	GetCheckoutSettings(context.Context, *GetCheckoutSettingsRequest) (*CheckoutSettings, error)
	// Creates `CheckoutSettings` for the given merchant.
	CreateCheckoutSettings(context.Context, *CreateCheckoutSettingsRequest) (*CheckoutSettings, error)
	// Updates `CheckoutSettings` for the given merchant.
	UpdateCheckoutSettings(context.Context, *UpdateCheckoutSettingsRequest) (*CheckoutSettings, error)
	// Deletes `CheckoutSettings` and unenrolls merchant from
	// `Checkout` program.
	DeleteCheckoutSettings(context.Context, *DeleteCheckoutSettingsRequest) (*emptypb.Empty, error)
}

CheckoutSettingsServiceServer is the server API for CheckoutSettingsService service. All implementations should embed UnimplementedCheckoutSettingsServiceServer for forward compatibility

CheckoutSettings_CheckoutEnrollmentState

type CheckoutSettings_CheckoutEnrollmentState int32

Enum indicating the enrollment state of merchant in Checkout program.

CheckoutSettings_CHECKOUT_ENROLLMENT_STATE_UNSPECIFIED, CheckoutSettings_INACTIVE, CheckoutSettings_ENROLLED, CheckoutSettings_OPTED_OUT

const (
	// Default enrollment state when enrollment state is not specified.
	CheckoutSettings_CHECKOUT_ENROLLMENT_STATE_UNSPECIFIED CheckoutSettings_CheckoutEnrollmentState = 0
	// Merchant has not enrolled into the program.
	CheckoutSettings_INACTIVE CheckoutSettings_CheckoutEnrollmentState = 1
	// Merchant has enrolled into the program by providing either an
	// account level URL or checkout URLs as part of their feed.
	CheckoutSettings_ENROLLED CheckoutSettings_CheckoutEnrollmentState = 2
	// Merchant has previously enrolled but opted out of the program.
	CheckoutSettings_OPTED_OUT CheckoutSettings_CheckoutEnrollmentState = 3
)

func (CheckoutSettings_CheckoutEnrollmentState) Descriptor

func (CheckoutSettings_CheckoutEnrollmentState) Enum

func (CheckoutSettings_CheckoutEnrollmentState) EnumDescriptor

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

Deprecated: Use CheckoutSettings_CheckoutEnrollmentState.Descriptor instead.

func (CheckoutSettings_CheckoutEnrollmentState) Number

func (CheckoutSettings_CheckoutEnrollmentState) String

func (CheckoutSettings_CheckoutEnrollmentState) Type

CheckoutSettings_CheckoutReviewState

type CheckoutSettings_CheckoutReviewState int32

Enum indicating the review state of merchant in Checkout program.

CheckoutSettings_CHECKOUT_REVIEW_STATE_UNSPECIFIED, CheckoutSettings_IN_REVIEW, CheckoutSettings_APPROVED, CheckoutSettings_DISAPPROVED

const (
	// Default review state when review state is not specified.
	CheckoutSettings_CHECKOUT_REVIEW_STATE_UNSPECIFIED CheckoutSettings_CheckoutReviewState = 0
	// Merchant provided URLs are being reviewed for data quality issues.
	CheckoutSettings_IN_REVIEW CheckoutSettings_CheckoutReviewState = 1
	// Merchant account has been approved. Indicates the data quality checks
	// have passed.
	CheckoutSettings_APPROVED CheckoutSettings_CheckoutReviewState = 2
	// Merchant account has been disapproved due to data quality issues.
	CheckoutSettings_DISAPPROVED CheckoutSettings_CheckoutReviewState = 3
)

func (CheckoutSettings_CheckoutReviewState) Descriptor

func (CheckoutSettings_CheckoutReviewState) Enum

func (CheckoutSettings_CheckoutReviewState) EnumDescriptor

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

Deprecated: Use CheckoutSettings_CheckoutReviewState.Descriptor instead.

func (CheckoutSettings_CheckoutReviewState) Number

func (CheckoutSettings_CheckoutReviewState) String

func (CheckoutSettings_CheckoutReviewState) Type

ClaimHomepageRequest

type ClaimHomepageRequest struct {

	// Required. The name of the homepage to claim.
	// Format: `accounts/{account}/homepage`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. When set to `true`, this option removes any existing claim on the
	// requested website from any other account to the account making the request,
	// effectively replacing the previous claim.
	Overwrite bool `protobuf:"varint,2,opt,name=overwrite,proto3" json:"overwrite,omitempty"`
	// contains filtered or unexported fields
}

Request message for the ClaimHomepage method.

func (*ClaimHomepageRequest) Descriptor

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

Deprecated: Use ClaimHomepageRequest.ProtoReflect.Descriptor instead.

func (*ClaimHomepageRequest) GetName

func (x *ClaimHomepageRequest) GetName() string

func (*ClaimHomepageRequest) GetOverwrite

func (x *ClaimHomepageRequest) GetOverwrite() bool

func (*ClaimHomepageRequest) ProtoMessage

func (*ClaimHomepageRequest) ProtoMessage()

func (*ClaimHomepageRequest) ProtoReflect

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

func (*ClaimHomepageRequest) Reset

func (x *ClaimHomepageRequest) Reset()

func (*ClaimHomepageRequest) String

func (x *ClaimHomepageRequest) String() string

CreateAndConfigureAccountRequest

type CreateAndConfigureAccountRequest struct {

	// Required. The account to be created.
	Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// Optional. Users to be added to the account.
	User []*CreateAndConfigureAccountRequest_AddUser `protobuf:"bytes,3,rep,name=user,proto3" json:"user,omitempty"`
	// Required. An account service between the account to be created and the
	// provider account is initialized as part of the creation. At least one such
	// service needs to be provided. Currently exactly one of these needs to be
	// `account_aggregation` and `accounts.createAndConfigure` method can be
	// used to create a sub-account under an existing advanced account through
	// this method. Additional `account_management` or
	// `product_management` services may be provided.
	Service []*CreateAndConfigureAccountRequest_AddAccountService `protobuf:"bytes,4,rep,name=service,proto3" json:"service,omitempty"`
	// contains filtered or unexported fields
}

Request message for the CreateAndConfigureAccount method.

func (*CreateAndConfigureAccountRequest) Descriptor

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

Deprecated: Use CreateAndConfigureAccountRequest.ProtoReflect.Descriptor instead.

func (*CreateAndConfigureAccountRequest) GetAccount

func (x *CreateAndConfigureAccountRequest) GetAccount() *Account

func (*CreateAndConfigureAccountRequest) GetService

func (*CreateAndConfigureAccountRequest) GetUser

func (*CreateAndConfigureAccountRequest) ProtoMessage

func (*CreateAndConfigureAccountRequest) ProtoMessage()

func (*CreateAndConfigureAccountRequest) ProtoReflect

func (*CreateAndConfigureAccountRequest) Reset

func (*CreateAndConfigureAccountRequest) String

CreateAndConfigureAccountRequest_AddAccountService

type CreateAndConfigureAccountRequest_AddAccountService struct {

	// The service type to be added.
	//
	// Types that are assignable to ServiceType:
	//
	//	*CreateAndConfigureAccountRequest_AddAccountService_AccountAggregation
	ServiceType isCreateAndConfigureAccountRequest_AddAccountService_ServiceType `protobuf_oneof:"service_type"`
	// Required. The provider of the service. Either the reference to an account
	// such as `providers/123` or a well-known service provider (one of
	// `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`).
	Provider *string `protobuf:"bytes,1,opt,name=provider,proto3,oneof" json:"provider,omitempty"`
	// contains filtered or unexported fields
}

Additional instructions to add account services during creation of the account.

func (*CreateAndConfigureAccountRequest_AddAccountService) Descriptor

Deprecated: Use CreateAndConfigureAccountRequest_AddAccountService.ProtoReflect.Descriptor instead.

func (*CreateAndConfigureAccountRequest_AddAccountService) GetAccountAggregation

func (*CreateAndConfigureAccountRequest_AddAccountService) GetProvider

func (*CreateAndConfigureAccountRequest_AddAccountService) GetServiceType

func (m *CreateAndConfigureAccountRequest_AddAccountService) GetServiceType() isCreateAndConfigureAccountRequest_AddAccountService_ServiceType

func (*CreateAndConfigureAccountRequest_AddAccountService) ProtoMessage

func (*CreateAndConfigureAccountRequest_AddAccountService) ProtoReflect

func (*CreateAndConfigureAccountRequest_AddAccountService) Reset

func (*CreateAndConfigureAccountRequest_AddAccountService) String

CreateAndConfigureAccountRequest_AddAccountService_AccountAggregation

type CreateAndConfigureAccountRequest_AddAccountService_AccountAggregation struct {
	// The provider is an
	// [aggregator](https://support.google.com/merchants/answer/188487) for
	// the account. Payload for service type Account Aggregation.
	AccountAggregation *AccountAggregation `protobuf:"bytes,103,opt,name=account_aggregation,json=accountAggregation,proto3,oneof"`
}

CreateAndConfigureAccountRequest_AddUser

type CreateAndConfigureAccountRequest_AddUser struct {

	// Required. The email address of the user (for example,
	// `john.doe@gmail.com`).
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Optional. Details about the user to be added. At the moment, only access
	// rights may be specified.
	User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

Instruction for adding a user to the account during creation.

func (*CreateAndConfigureAccountRequest_AddUser) Descriptor

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

Deprecated: Use CreateAndConfigureAccountRequest_AddUser.ProtoReflect.Descriptor instead.

func (*CreateAndConfigureAccountRequest_AddUser) GetUser

func (*CreateAndConfigureAccountRequest_AddUser) GetUserId

func (*CreateAndConfigureAccountRequest_AddUser) ProtoMessage

func (*CreateAndConfigureAccountRequest_AddUser) ProtoReflect

func (*CreateAndConfigureAccountRequest_AddUser) Reset

func (*CreateAndConfigureAccountRequest_AddUser) String

CreateCheckoutSettingsRequest

type CreateCheckoutSettingsRequest struct {

	// Required. The merchant account for which the `CheckoutSettings` will be
	// created.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The `CheckoutSettings` object to create.
	CheckoutSettings *CheckoutSettings `protobuf:"bytes,2,opt,name=checkout_settings,json=checkoutSettings,proto3" json:"checkout_settings,omitempty"`
	// contains filtered or unexported fields
}

Request message for the CreateCheckoutSettings method.

func (*CreateCheckoutSettingsRequest) Descriptor

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

Deprecated: Use CreateCheckoutSettingsRequest.ProtoReflect.Descriptor instead.

func (*CreateCheckoutSettingsRequest) GetCheckoutSettings

func (x *CreateCheckoutSettingsRequest) GetCheckoutSettings() *CheckoutSettings

func (*CreateCheckoutSettingsRequest) GetParent

func (x *CreateCheckoutSettingsRequest) GetParent() string

func (*CreateCheckoutSettingsRequest) ProtoMessage

func (*CreateCheckoutSettingsRequest) ProtoMessage()

func (*CreateCheckoutSettingsRequest) ProtoReflect

func (*CreateCheckoutSettingsRequest) Reset

func (x *CreateCheckoutSettingsRequest) Reset()

func (*CreateCheckoutSettingsRequest) String

CreateOmnichannelSettingRequest

type CreateOmnichannelSettingRequest struct {

	// Required. The parent resource where this omnichannel setting will be
	// created. Format: `accounts/{account}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The omnichannel setting to create.
	OmnichannelSetting *OmnichannelSetting `protobuf:"bytes,2,opt,name=omnichannel_setting,json=omnichannelSetting,proto3" json:"omnichannel_setting,omitempty"`
	// contains filtered or unexported fields
}

Request message for the CreateOmnichannelSetting method.

func (*CreateOmnichannelSettingRequest) Descriptor

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

Deprecated: Use CreateOmnichannelSettingRequest.ProtoReflect.Descriptor instead.

func (*CreateOmnichannelSettingRequest) GetOmnichannelSetting

func (x *CreateOmnichannelSettingRequest) GetOmnichannelSetting() *OmnichannelSetting

func (*CreateOmnichannelSettingRequest) GetParent

func (x *CreateOmnichannelSettingRequest) GetParent() string

func (*CreateOmnichannelSettingRequest) ProtoMessage

func (*CreateOmnichannelSettingRequest) ProtoMessage()

func (*CreateOmnichannelSettingRequest) ProtoReflect

func (*CreateOmnichannelSettingRequest) Reset

func (*CreateOmnichannelSettingRequest) String

CreateOnlineReturnPolicyRequest

type CreateOnlineReturnPolicyRequest struct {

	// Required. The Merchant Center account for which the return policy will be
	// created. Format: `accounts/{account}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The return policy object to create.
	OnlineReturnPolicy *OnlineReturnPolicy `protobuf:"bytes,2,opt,name=online_return_policy,json=onlineReturnPolicy,proto3" json:"online_return_policy,omitempty"`
	// contains filtered or unexported fields
}

Request message for the CreateOnlineReturnPolicy method.

func (*CreateOnlineReturnPolicyRequest) Descriptor

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

Deprecated: Use CreateOnlineReturnPolicyRequest.ProtoReflect.Descriptor instead.

func (*CreateOnlineReturnPolicyRequest) GetOnlineReturnPolicy

func (x *CreateOnlineReturnPolicyRequest) GetOnlineReturnPolicy() *OnlineReturnPolicy

func (*CreateOnlineReturnPolicyRequest) GetParent

func (x *CreateOnlineReturnPolicyRequest) GetParent() string

func (*CreateOnlineReturnPolicyRequest) ProtoMessage

func (*CreateOnlineReturnPolicyRequest) ProtoMessage()

func (*CreateOnlineReturnPolicyRequest) ProtoReflect

func (*CreateOnlineReturnPolicyRequest) Reset

func (*CreateOnlineReturnPolicyRequest) String

CreateRegionRequest

type CreateRegionRequest struct {

	// Required. The account to create a region for.
	// Format: `accounts/{account}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The identifier for the region, unique over all regions of the
	// same account.
	RegionId string `protobuf:"bytes,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
	// Required. The region to create.
	Region *Region `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
	// contains filtered or unexported fields
}

Request message for the CreateRegion method.

func (*CreateRegionRequest) Descriptor

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

Deprecated: Use CreateRegionRequest.ProtoReflect.Descriptor instead.

func (*CreateRegionRequest) GetParent

func (x *CreateRegionRequest) GetParent() string

func (*CreateRegionRequest) GetRegion

func (x *CreateRegionRequest) GetRegion() *Region

func (*CreateRegionRequest) GetRegionId

func (x *CreateRegionRequest) GetRegionId() string

func (*CreateRegionRequest) ProtoMessage

func (*CreateRegionRequest) ProtoMessage()

func (*CreateRegionRequest) ProtoReflect

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

func (*CreateRegionRequest) Reset

func (x *CreateRegionRequest) Reset()

func (*CreateRegionRequest) String

func (x *CreateRegionRequest) String() string

CreateUserRequest

type CreateUserRequest struct {

	// Required. The resource name of the account for which a user will be
	// created. Format: `accounts/{account}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The email address of the user (for example,
	// `john.doe@gmail.com`).
	UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Optional. The user to create.
	User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

Request message for the CreateUser method.

func (*CreateUserRequest) Descriptor

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

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetParent

func (x *CreateUserRequest) GetParent() string

func (*CreateUserRequest) GetUser

func (x *CreateUserRequest) GetUser() *User

func (*CreateUserRequest) GetUserId

func (x *CreateUserRequest) GetUserId() string

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect

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

func (*CreateUserRequest) Reset

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String

func (x *CreateUserRequest) String() string

CustomerService

type CustomerService struct {

	// Optional. The URI where customer service may be found.
	Uri *string `protobuf:"bytes,1,opt,name=uri,proto3,oneof" json:"uri,omitempty"`
	// Optional. The email address where customer service may be reached.
	Email *string `protobuf:"bytes,2,opt,name=email,proto3,oneof" json:"email,omitempty"`
	// Optional. The phone number where customer service may be called.
	Phone *phone_number.PhoneNumber `protobuf:"bytes,3,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
	// contains filtered or unexported fields
}

Customer service information.

func (*CustomerService) Descriptor

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

Deprecated: Use CustomerService.ProtoReflect.Descriptor instead.

func (*CustomerService) GetEmail

func (x *CustomerService) GetEmail() string

func (*CustomerService) GetPhone

func (x *CustomerService) GetPhone() *phone_number.PhoneNumber

func (*CustomerService) GetUri

func (x *CustomerService) GetUri() string

func (*CustomerService) ProtoMessage

func (*CustomerService) ProtoMessage()

func (*CustomerService) ProtoReflect

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

func (*CustomerService) Reset

func (x *CustomerService) Reset()

func (*CustomerService) String

func (x *CustomerService) String() string

CutoffTime

type CutoffTime struct {

	// Required. Hour of the cutoff time until which an order has to be placed to
	// be processed in the same day.
	Hour *int32 `protobuf:"varint,1,opt,name=hour,proto3,oneof" json:"hour,omitempty"`
	// Required. Minute of the cutoff time until which an order has to be placed
	// to be processed in the same day.
	Minute *int32 `protobuf:"varint,2,opt,name=minute,proto3,oneof" json:"minute,omitempty"`
	// Required. [Timezone
	// identifier](https://developers.google.com/adwords/api/docs/appendix/codes-formats#timezone-ids)
	// For example "Europe/Zurich".
	TimeZone *string `protobuf:"bytes,3,opt,name=time_zone,json=timeZone,proto3,oneof" json:"time_zone,omitempty"`
	// contains filtered or unexported fields
}

Business days cutoff time definition.

func (*CutoffTime) Descriptor

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

Deprecated: Use CutoffTime.ProtoReflect.Descriptor instead.

func (*CutoffTime) GetHour

func (x *CutoffTime) GetHour() int32

func (*CutoffTime) GetMinute

func (x *CutoffTime) GetMinute() int32

func (*CutoffTime) GetTimeZone

func (x *CutoffTime) GetTimeZone() string

func (*CutoffTime) ProtoMessage

func (*CutoffTime) ProtoMessage()

func (*CutoffTime) ProtoReflect

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

func (*CutoffTime) Reset

func (x *CutoffTime) Reset()

func (*CutoffTime) String

func (x *CutoffTime) String() string

DeleteAccountRequest

type DeleteAccountRequest struct {

	// Required. The name of the account to delete.
	// Format: `accounts/{account}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. If set to `true`, the account is deleted even if it provides
	// services to other accounts or has processed offers.
	Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

Request message for the DeleteAccount method.

func (*DeleteAccountRequest) Descriptor

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

Deprecated: Use DeleteAccountRequest.ProtoReflect.Descriptor instead.

func (*DeleteAccountRequest) GetForce

func (x *DeleteAccountRequest) GetForce() bool

func (*DeleteAccountRequest) GetName

func (x *DeleteAccountRequest) GetName() string

func (*DeleteAccountRequest) ProtoMessage

func (*DeleteAccountRequest) ProtoMessage()

func (*DeleteAccountRequest) ProtoReflect

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

func (*DeleteAccountRequest) Reset

func (x *DeleteAccountRequest) Reset()

func (*DeleteAccountRequest) String

func (x *DeleteAccountRequest) String() string

DeleteCheckoutSettingsRequest

type DeleteCheckoutSettingsRequest struct {

	// Required. The name/identifier of the merchant account.
	// Format: `accounts/{account}/programs/{program}/checkoutSettings`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the DeleteCheckoutSettings method.

func (*DeleteCheckoutSettingsRequest) Descriptor

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

Deprecated: Use DeleteCheckoutSettingsRequest.ProtoReflect.Descriptor instead.

func (*DeleteCheckoutSettingsRequest) GetName

func (*DeleteCheckoutSettingsRequest) ProtoMessage

func (*DeleteCheckoutSettingsRequest) ProtoMessage()

func (*DeleteCheckoutSettingsRequest) ProtoReflect

func (*DeleteCheckoutSettingsRequest) Reset

func (x *DeleteCheckoutSettingsRequest) Reset()

func (*DeleteCheckoutSettingsRequest) String

DeleteOnlineReturnPolicyRequest

type DeleteOnlineReturnPolicyRequest struct {

	// Required. The name of the return policy to delete.
	// Format: `accounts/{account}/onlineReturnPolicies/{return_policy}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the DeleteOnlineReturnPolicy method.

func (*DeleteOnlineReturnPolicyRequest) Descriptor

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

Deprecated: Use DeleteOnlineReturnPolicyRequest.ProtoReflect.Descriptor instead.

func (*DeleteOnlineReturnPolicyRequest) GetName

func (*DeleteOnlineReturnPolicyRequest) ProtoMessage

func (*DeleteOnlineReturnPolicyRequest) ProtoMessage()

func (*DeleteOnlineReturnPolicyRequest) ProtoReflect

func (*DeleteOnlineReturnPolicyRequest) Reset

func (*DeleteOnlineReturnPolicyRequest) String

DeleteRegionRequest

type DeleteRegionRequest struct {

	// Required. The name of the region to delete.
	// Format: `accounts/{account}/regions/{region}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the DeleteRegion method.

func (*DeleteRegionRequest) Descriptor

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

Deprecated: Use DeleteRegionRequest.ProtoReflect.Descriptor instead.

func (*DeleteRegionRequest) GetName

func (x *DeleteRegionRequest) GetName() string

func (*DeleteRegionRequest) ProtoMessage

func (*DeleteRegionRequest) ProtoMessage()

func (*DeleteRegionRequest) ProtoReflect

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

func (*DeleteRegionRequest) Reset

func (x *DeleteRegionRequest) Reset()

func (*DeleteRegionRequest) String

func (x *DeleteRegionRequest) String() string

DeleteUserRequest

type DeleteUserRequest struct {

	// Required. The name of the user to delete.
	// Format: `accounts/{account}/users/{email}`
	//
	// It is also possible to delete the user corresponding to the caller by using
	// `me` rather than an email address as in `accounts/{account}/users/me`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the DeleteUser method.

func (*DeleteUserRequest) Descriptor

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

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetName

func (x *DeleteUserRequest) GetName() string

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect

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

func (*DeleteUserRequest) Reset

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String

func (x *DeleteUserRequest) String() string

DeliveryTime

type DeliveryTime struct {

	// Minimum number of business days that is spent in transit. 0 means same
	// day delivery, 1 means next day delivery.
	// Either `min_transit_days`, `max_transit_days` or
	// `transit_time_table` must be set, but not both.
	MinTransitDays *int32 `protobuf:"varint,1,opt,name=min_transit_days,json=minTransitDays,proto3,oneof" json:"min_transit_days,omitempty"`
	// Maximum number of business days that is spent in transit. 0 means same
	// day delivery, 1 means next day delivery. Must be greater than or equal
	// to `min_transit_days`.
	MaxTransitDays *int32 `protobuf:"varint,2,opt,name=max_transit_days,json=maxTransitDays,proto3,oneof" json:"max_transit_days,omitempty"`
	// Business days cutoff time definition.
	// If not configured the cutoff time will be defaulted to 8AM PST.
	CutoffTime *CutoffTime `protobuf:"bytes,3,opt,name=cutoff_time,json=cutoffTime,proto3,oneof" json:"cutoff_time,omitempty"`
	// Minimum number of business days spent before an order is shipped.
	// 0 means same day shipped, 1 means next day shipped.
	// 'min_handling_days' and 'max_handling_days' should be either set or not set
	// at the same time.
	MinHandlingDays *int32 `protobuf:"varint,4,opt,name=min_handling_days,json=minHandlingDays,proto3,oneof" json:"min_handling_days,omitempty"`
	// Maximum number of business days spent before an order is shipped.
	// 0 means same day shipped, 1 means next day shipped.
	// Must be greater than or equal to `min_handling_days`.
	// 'min_handling_days' and 'max_handling_days' should be either set or not set
	// at the same time.
	MaxHandlingDays *int32 `protobuf:"varint,5,opt,name=max_handling_days,json=maxHandlingDays,proto3,oneof" json:"max_handling_days,omitempty"`
	// Transit time table, number of business days spent in transit based on row
	// and column dimensions. Either `min_transit_days`, `max_transit_days` or
	// `transit_time_table` can be set, but not both.
	TransitTimeTable *TransitTable `protobuf:"bytes,6,opt,name=transit_time_table,json=transitTimeTable,proto3,oneof" json:"transit_time_table,omitempty"`
	// The business days during which orders can be handled.
	// If not provided, Monday to Friday business days will be assumed.
	HandlingBusinessDayConfig *BusinessDayConfig `protobuf:"bytes,7,opt,name=handling_business_day_config,json=handlingBusinessDayConfig,proto3,oneof" json:"handling_business_day_config,omitempty"`
	// The business days during which orders can be in-transit.
	// If not provided, Monday to Friday business days will be assumed.
	TransitBusinessDayConfig *BusinessDayConfig `protobuf:"bytes,8,opt,name=transit_business_day_config,json=transitBusinessDayConfig,proto3,oneof" json:"transit_business_day_config,omitempty"`
	// Optional. Indicates that the delivery time should be calculated per
	// warehouse (shipping origin location) based on the settings of the selected
	// carrier. When set, no other transit time related field in [delivery
	// time][google.shopping.merchant.accounts.v1.DeliveryTime] should
	// be set.
	WarehouseBasedDeliveryTimes []*WarehouseBasedDeliveryTime `protobuf:"bytes,9,rep,name=warehouse_based_delivery_times,json=warehouseBasedDeliveryTimes,proto3" json:"warehouse_based_delivery_times,omitempty"`
	// contains filtered or unexported fields
}

Time spent in various aspects from order to the delivery of the product.

func (*DeliveryTime) Descriptor

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

Deprecated: Use DeliveryTime.ProtoReflect.Descriptor instead.

func (*DeliveryTime) GetCutoffTime

func (x *DeliveryTime) GetCutoffTime() *CutoffTime

func (*DeliveryTime) GetHandlingBusinessDayConfig

func (x *DeliveryTime) GetHandlingBusinessDayConfig() *BusinessDayConfig

func (*DeliveryTime) GetMaxHandlingDays

func (x *DeliveryTime) GetMaxHandlingDays() int32

func (*DeliveryTime) GetMaxTransitDays

func (x *DeliveryTime) GetMaxTransitDays() int32

func (*DeliveryTime) GetMinHandlingDays

func (x *DeliveryTime) GetMinHandlingDays() int32

func (*DeliveryTime) GetMinTransitDays

func (x *DeliveryTime) GetMinTransitDays() int32

func (*DeliveryTime) GetTransitBusinessDayConfig

func (x *DeliveryTime) GetTransitBusinessDayConfig() *BusinessDayConfig

func (*DeliveryTime) GetTransitTimeTable

func (x *DeliveryTime) GetTransitTimeTable() *TransitTable

func (*DeliveryTime) GetWarehouseBasedDeliveryTimes

func (x *DeliveryTime) GetWarehouseBasedDeliveryTimes() []*WarehouseBasedDeliveryTime

func (*DeliveryTime) ProtoMessage

func (*DeliveryTime) ProtoMessage()

func (*DeliveryTime) ProtoReflect

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

func (*DeliveryTime) Reset

func (x *DeliveryTime) Reset()

func (*DeliveryTime) String

func (x *DeliveryTime) String() string

DeveloperRegistration

type DeveloperRegistration struct {

	// Identifier. The `name` (ID) of the developer registration. Generated by the
	// Content API upon creation of a new `DeveloperRegistration`. The `account`
	// represents the merchant ID of the merchant that owns the registration.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The GCP ids attached to this developer registration
	GcpIds []string `protobuf:"bytes,2,rep,name=gcp_ids,json=gcpIds,proto3" json:"gcp_ids,omitempty"`
	// contains filtered or unexported fields
}

Represents a developer registration owned by a Merchant account.

func (*DeveloperRegistration) Descriptor

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

Deprecated: Use DeveloperRegistration.ProtoReflect.Descriptor instead.

func (*DeveloperRegistration) GetGcpIds

func (x *DeveloperRegistration) GetGcpIds() []string

func (*DeveloperRegistration) GetName

func (x *DeveloperRegistration) GetName() string

func (*DeveloperRegistration) ProtoMessage

func (*DeveloperRegistration) ProtoMessage()

func (*DeveloperRegistration) ProtoReflect

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

func (*DeveloperRegistration) Reset

func (x *DeveloperRegistration) Reset()

func (*DeveloperRegistration) String

func (x *DeveloperRegistration) String() string

DeveloperRegistrationServiceClient

type DeveloperRegistrationServiceClient interface {
	// Registers the GCP used for the API call to the shopping account passed in
	// the request. Will create a user with an "API developer" and add the
	// "developer_email" as a contact with "API notifications" email preference
	// on.
	RegisterGcp(ctx context.Context, in *RegisterGcpRequest, opts ...grpc.CallOption) (*DeveloperRegistration, error)
	// Retrieves a developer registration for a merchant.
	GetDeveloperRegistration(ctx context.Context, in *GetDeveloperRegistrationRequest, opts ...grpc.CallOption) (*DeveloperRegistration, error)
	// Unregister the calling GCP from the calling shopping account. Note that the
	// GCP will still be able to access the API for at most 1 day from the
	// unregister succussful call.
	UnregisterGcp(ctx context.Context, in *UnregisterGcpRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

DeveloperRegistrationServiceClient is the client API for DeveloperRegistrationService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewDeveloperRegistrationServiceClient

func NewDeveloperRegistrationServiceClient(cc grpc.ClientConnInterface) DeveloperRegistrationServiceClient

DeveloperRegistrationServiceServer

type DeveloperRegistrationServiceServer interface {
	// Registers the GCP used for the API call to the shopping account passed in
	// the request. Will create a user with an "API developer" and add the
	// "developer_email" as a contact with "API notifications" email preference
	// on.
	RegisterGcp(context.Context, *RegisterGcpRequest) (*DeveloperRegistration, error)
	// Retrieves a developer registration for a merchant.
	GetDeveloperRegistration(context.Context, *GetDeveloperRegistrationRequest) (*DeveloperRegistration, error)
	// Unregister the calling GCP from the calling shopping account. Note that the
	// GCP will still be able to access the API for at most 1 day from the
	// unregister succussful call.
	UnregisterGcp(context.Context, *UnregisterGcpRequest) (*emptypb.Empty, error)
}

DeveloperRegistrationServiceServer is the server API for DeveloperRegistrationService service. All implementations should embed UnimplementedDeveloperRegistrationServiceServer for forward compatibility

DisableProgramRequest

type DisableProgramRequest struct {

	// Required. The name of the program for which to disable participation for
	// the given account. Format: `accounts/{account}/programs/{program}`. For
	// example, `accounts/123456/programs/free-listings`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the DisableProgram method.

func (*DisableProgramRequest) Descriptor

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

Deprecated: Use DisableProgramRequest.ProtoReflect.Descriptor instead.

func (*DisableProgramRequest) GetName

func (x *DisableProgramRequest) GetName() string

func (*DisableProgramRequest) ProtoMessage

func (*DisableProgramRequest) ProtoMessage()

func (*DisableProgramRequest) ProtoReflect

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

func (*DisableProgramRequest) Reset

func (x *DisableProgramRequest) Reset()

func (*DisableProgramRequest) String

func (x *DisableProgramRequest) String() string

Distance

type Distance struct {

	// Integer value of distance.
	Value *int64 `protobuf:"varint,1,opt,name=value,proto3,oneof" json:"value,omitempty"`
	// Unit can differ based on country, it is parameterized to include miles
	// and kilometers.
	Unit *Distance_Unit `protobuf:"varint,2,opt,name=unit,proto3,enum=google.shopping.merchant.accounts.v1.Distance_Unit,oneof" json:"unit,omitempty"`
	// contains filtered or unexported fields
}

Maximum delivery radius. This is only required for the local delivery shipment type.

func (*Distance) Descriptor

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

Deprecated: Use Distance.ProtoReflect.Descriptor instead.

func (*Distance) GetUnit

func (x *Distance) GetUnit() Distance_Unit

func (*Distance) GetValue

func (x *Distance) GetValue() int64

func (*Distance) ProtoMessage

func (*Distance) ProtoMessage()

func (*Distance) ProtoReflect

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

func (*Distance) Reset

func (x *Distance) Reset()

func (*Distance) String

func (x *Distance) String() string

Distance_Unit

type Distance_Unit int32

Unit can differ based on country, it is parameterized to include miles and kilometers.

Distance_UNIT_UNSPECIFIED, Distance_MILES, Distance_KILOMETERS

const (
	// Unit unspecified
	Distance_UNIT_UNSPECIFIED Distance_Unit = 0
	// Unit in miles
	Distance_MILES Distance_Unit = 1
	// Unit in kilometers
	Distance_KILOMETERS Distance_Unit = 2
)

func (Distance_Unit) Descriptor

func (Distance_Unit) Enum

func (x Distance_Unit) Enum() *Distance_Unit

func (Distance_Unit) EnumDescriptor

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

Deprecated: Use Distance_Unit.Descriptor instead.

func (Distance_Unit) Number

func (Distance_Unit) String

func (x Distance_Unit) String() string

func (Distance_Unit) Type

EmailPreferences

type EmailPreferences struct {

	// Identifier. The name of the EmailPreferences. The endpoint is only
	// supported for the authenticated user.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. Updates on new features, tips and best practices.
	NewsAndTips EmailPreferences_OptInState `protobuf:"varint,2,opt,name=news_and_tips,json=newsAndTips,proto3,enum=google.shopping.merchant.accounts.v1.EmailPreferences_OptInState" json:"news_and_tips,omitempty"`
	// contains filtered or unexported fields
}

The categories of notifications the user opted into / opted out of. The email preferences do not include mandatory announcements as users can't opt out of them.

func (*EmailPreferences) Descriptor

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

Deprecated: Use EmailPreferences.ProtoReflect.Descriptor instead.

func (*EmailPreferences) GetName

func (x *EmailPreferences) GetName() string

func (*EmailPreferences) GetNewsAndTips

func (x *EmailPreferences) GetNewsAndTips() EmailPreferences_OptInState

func (*EmailPreferences) ProtoMessage

func (*EmailPreferences) ProtoMessage()

func (*EmailPreferences) ProtoReflect

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

func (*EmailPreferences) Reset

func (x *EmailPreferences) Reset()

func (*EmailPreferences) String

func (x *EmailPreferences) String() string

EmailPreferencesServiceClient

type EmailPreferencesServiceClient interface {
	// Returns the email preferences for a Merchant Center account user.
	// This service only permits retrieving and updating email preferences for the
	// authenticated user.
	// Use the name=accounts/*/users/me/emailPreferences alias to get preferences
	// for the authenticated user.
	GetEmailPreferences(ctx context.Context, in *GetEmailPreferencesRequest, opts ...grpc.CallOption) (*EmailPreferences, error)
	// Updates the email preferences for a Merchant Center account user. Advanced
	// account users should specify the advanced account rather than a sub-account
	// of the advanced account.
	//
	// Preferences which are not explicitly selected in the update mask will not
	// be updated.
	//
	// It is invalid for updates to specify an UNCONFIRMED opt-in status value.
	//
	// Use the name=accounts/*/users/me/emailPreferences alias to update
	// preferences
	// for the authenticated user.
	UpdateEmailPreferences(ctx context.Context, in *UpdateEmailPreferencesRequest, opts ...grpc.CallOption) (*EmailPreferences, error)
}

EmailPreferencesServiceClient is the client API for EmailPreferencesService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewEmailPreferencesServiceClient

func NewEmailPreferencesServiceClient(cc grpc.ClientConnInterface) EmailPreferencesServiceClient

EmailPreferencesServiceServer

type EmailPreferencesServiceServer interface {
	// Returns the email preferences for a Merchant Center account user.
	// This service only permits retrieving and updating email preferences for the
	// authenticated user.
	// Use the name=accounts/*/users/me/emailPreferences alias to get preferences
	// for the authenticated user.
	GetEmailPreferences(context.Context, *GetEmailPreferencesRequest) (*EmailPreferences, error)
	// Updates the email preferences for a Merchant Center account user. Advanced
	// account users should specify the advanced account rather than a sub-account
	// of the advanced account.
	//
	// Preferences which are not explicitly selected in the update mask will not
	// be updated.
	//
	// It is invalid for updates to specify an UNCONFIRMED opt-in status value.
	//
	// Use the name=accounts/*/users/me/emailPreferences alias to update
	// preferences
	// for the authenticated user.
	UpdateEmailPreferences(context.Context, *UpdateEmailPreferencesRequest) (*EmailPreferences, error)
}

EmailPreferencesServiceServer is the server API for EmailPreferencesService service. All implementations should embed UnimplementedEmailPreferencesServiceServer for forward compatibility

EmailPreferences_OptInState

type EmailPreferences_OptInState int32

Opt in state of the email preference.

EmailPreferences_OPT_IN_STATE_UNSPECIFIED, EmailPreferences_OPTED_OUT, EmailPreferences_OPTED_IN, EmailPreferences_UNCONFIRMED

const (
	// Opt-in status is not specified.
	EmailPreferences_OPT_IN_STATE_UNSPECIFIED EmailPreferences_OptInState = 0
	// User has opted out of receiving this type of email.
	EmailPreferences_OPTED_OUT EmailPreferences_OptInState = 1
	// User has opted in to receiving this type of email.
	EmailPreferences_OPTED_IN EmailPreferences_OptInState = 2
	// User has opted in to receiving this type of email and the confirmation
	// email has been sent, but user has not yet confirmed the opt in (applies
	// only to certain countries).
	EmailPreferences_UNCONFIRMED EmailPreferences_OptInState = 3
)

func (EmailPreferences_OptInState) Descriptor

func (EmailPreferences_OptInState) Enum

func (EmailPreferences_OptInState) EnumDescriptor

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

Deprecated: Use EmailPreferences_OptInState.Descriptor instead.

func (EmailPreferences_OptInState) Number

func (EmailPreferences_OptInState) String

func (EmailPreferences_OptInState) Type

EnableProgramRequest

type EnableProgramRequest struct {

	// Required. The name of the program for which to enable participation for the
	// given account. Format: `accounts/{account}/programs/{program}`. For
	// example, `accounts/123456/programs/free-listings`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the EnableProgram method.

func (*EnableProgramRequest) Descriptor

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

Deprecated: Use EnableProgramRequest.ProtoReflect.Descriptor instead.

func (*EnableProgramRequest) GetName

func (x *EnableProgramRequest) GetName() string

func (*EnableProgramRequest) ProtoMessage

func (*EnableProgramRequest) ProtoMessage()

func (*EnableProgramRequest) ProtoReflect

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

func (*EnableProgramRequest) Reset

func (x *EnableProgramRequest) Reset()

func (*EnableProgramRequest) String

func (x *EnableProgramRequest) String() string

FindLfpProvidersRequest

type FindLfpProvidersRequest struct {

	// Required. The name of the parent resource under which the LFP providers are
	// found. Format:
	// `accounts/{account}/omnichannelSettings/{omnichannel_setting}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of `LfpProvider` resources to return. The
	// service returns fewer than this value if the number of lfp providers is
	// less that than the `pageSize`. The default value is 50. The maximum value
	// is 1000; If a value higher than the maximum is specified, then the
	// `pageSize` will default to the maximum.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `FindLfpProviders` call.
	// Provide the page token to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `FindLfpProviders` 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"`
	// contains filtered or unexported fields
}

Request message for the FindLfpProviders method.

func (*FindLfpProvidersRequest) Descriptor

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

Deprecated: Use FindLfpProvidersRequest.ProtoReflect.Descriptor instead.

func (*FindLfpProvidersRequest) GetPageSize

func (x *FindLfpProvidersRequest) GetPageSize() int32

func (*FindLfpProvidersRequest) GetPageToken

func (x *FindLfpProvidersRequest) GetPageToken() string

func (*FindLfpProvidersRequest) GetParent

func (x *FindLfpProvidersRequest) GetParent() string

func (*FindLfpProvidersRequest) ProtoMessage

func (*FindLfpProvidersRequest) ProtoMessage()

func (*FindLfpProvidersRequest) ProtoReflect

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

func (*FindLfpProvidersRequest) Reset

func (x *FindLfpProvidersRequest) Reset()

func (*FindLfpProvidersRequest) String

func (x *FindLfpProvidersRequest) String() string

FindLfpProvidersResponse

type FindLfpProvidersResponse struct {

	// The LFP providers from the specified merchant in the specified country.
	LfpProviders []*LfpProvider `protobuf:"bytes,1,rep,name=lfp_providers,json=lfpProviders,proto3" json:"lfp_providers,omitempty"`
	// A token, which can be sent as `page_token` 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 FindLfpProviders method.

func (*FindLfpProvidersResponse) Descriptor

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

Deprecated: Use FindLfpProvidersResponse.ProtoReflect.Descriptor instead.

func (*FindLfpProvidersResponse) GetLfpProviders

func (x *FindLfpProvidersResponse) GetLfpProviders() []*LfpProvider

func (*FindLfpProvidersResponse) GetNextPageToken

func (x *FindLfpProvidersResponse) GetNextPageToken() string

func (*FindLfpProvidersResponse) ProtoMessage

func (*FindLfpProvidersResponse) ProtoMessage()

func (*FindLfpProvidersResponse) ProtoReflect

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

func (*FindLfpProvidersResponse) Reset

func (x *FindLfpProvidersResponse) Reset()

func (*FindLfpProvidersResponse) String

func (x *FindLfpProvidersResponse) String() string

GbpAccount

type GbpAccount struct {

	// Identifier. The resource name of the GBP account. Format:
	// `accounts/{account}/gbpAccount/{gbp_account}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The id of the GBP account.
	GbpAccountId string `protobuf:"bytes,2,opt,name=gbp_account_id,json=gbpAccountId,proto3" json:"gbp_account_id,omitempty"`
	// The type of the Business Profile.
	Type GbpAccount_Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.shopping.merchant.accounts.v1.GbpAccount_Type" json:"type,omitempty"`
	// The name of the Business Profile.
	// For personal accounts: Email id of the owner.
	// For Business accounts: Name of the Business Account.
	GbpAccountName string `protobuf:"bytes,5,opt,name=gbp_account_name,json=gbpAccountName,proto3" json:"gbp_account_name,omitempty"`
	// Number of listings under this account.
	ListingCount int64 `protobuf:"varint,6,opt,name=listing_count,json=listingCount,proto3" json:"listing_count,omitempty"`
	// contains filtered or unexported fields
}

Collection of information related to a Google Business Profile (GBP) account.

func (*GbpAccount) Descriptor

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

Deprecated: Use GbpAccount.ProtoReflect.Descriptor instead.

func (*GbpAccount) GetGbpAccountId

func (x *GbpAccount) GetGbpAccountId() string

func (*GbpAccount) GetGbpAccountName

func (x *GbpAccount) GetGbpAccountName() string

func (*GbpAccount) GetListingCount

func (x *GbpAccount) GetListingCount() int64

func (*GbpAccount) GetName

func (x *GbpAccount) GetName() string

func (*GbpAccount) GetType

func (x *GbpAccount) GetType() GbpAccount_Type

func (*GbpAccount) ProtoMessage

func (*GbpAccount) ProtoMessage()

func (*GbpAccount) ProtoReflect

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

func (*GbpAccount) Reset

func (x *GbpAccount) Reset()

func (*GbpAccount) String

func (x *GbpAccount) String() string

GbpAccount_Type

type GbpAccount_Type int32

The type of the GBP account.

GbpAccount_TYPE_UNSPECIFIED, GbpAccount_USER, GbpAccount_BUSINESS_ACCOUNT

const (
	// Default value. This value is unused.
	GbpAccount_TYPE_UNSPECIFIED GbpAccount_Type = 0
	// The GBP account is a user account.
	GbpAccount_USER GbpAccount_Type = 1
	// The GBP account is a business account.
	GbpAccount_BUSINESS_ACCOUNT GbpAccount_Type = 2
)

func (GbpAccount_Type) Descriptor

func (GbpAccount_Type) Enum

func (x GbpAccount_Type) Enum() *GbpAccount_Type

func (GbpAccount_Type) EnumDescriptor

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

Deprecated: Use GbpAccount_Type.Descriptor instead.

func (GbpAccount_Type) Number

func (GbpAccount_Type) String

func (x GbpAccount_Type) String() string

func (GbpAccount_Type) Type

GbpAccountsServiceClient

type GbpAccountsServiceClient interface {
	// List the GBP accounts for a given merchant.
	ListGbpAccounts(ctx context.Context, in *ListGbpAccountsRequest, opts ...grpc.CallOption) (*ListGbpAccountsResponse, error)
	// Link the specified merchant to a GBP account for all countries.
	//
	// To run this method, you must have admin access to the Merchant Center
	// account. If you don't have admin access, the request fails with the error
	// message `User is not an administrator of account {ACCOUNT_ID}`.
	LinkGbpAccount(ctx context.Context, in *LinkGbpAccountRequest, opts ...grpc.CallOption) (*LinkGbpAccountResponse, error)
}

GbpAccountsServiceClient is the client API for GbpAccountsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewGbpAccountsServiceClient

func NewGbpAccountsServiceClient(cc grpc.ClientConnInterface) GbpAccountsServiceClient

GbpAccountsServiceServer

type GbpAccountsServiceServer interface {
	// List the GBP accounts for a given merchant.
	ListGbpAccounts(context.Context, *ListGbpAccountsRequest) (*ListGbpAccountsResponse, error)
	// Link the specified merchant to a GBP account for all countries.
	//
	// To run this method, you must have admin access to the Merchant Center
	// account. If you don't have admin access, the request fails with the error
	// message `User is not an administrator of account {ACCOUNT_ID}`.
	LinkGbpAccount(context.Context, *LinkGbpAccountRequest) (*LinkGbpAccountResponse, error)
}

GbpAccountsServiceServer is the server API for GbpAccountsService service. All implementations should embed UnimplementedGbpAccountsServiceServer for forward compatibility

GetAccountRelationshipRequest

type GetAccountRelationshipRequest struct {

	// Required. The resource name of the account relationship to get.
	// Format: `accounts/{account}/relationships/{relationship}`. For example,
	// `accounts/123456/relationships/567890`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request to get an account relationship.

func (*GetAccountRelationshipRequest) Descriptor

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

Deprecated: Use GetAccountRelationshipRequest.ProtoReflect.Descriptor instead.

func (*GetAccountRelationshipRequest) GetName

func (*GetAccountRelationshipRequest) ProtoMessage

func (*GetAccountRelationshipRequest) ProtoMessage()

func (*GetAccountRelationshipRequest) ProtoReflect

func (*GetAccountRelationshipRequest) Reset

func (x *GetAccountRelationshipRequest) Reset()

func (*GetAccountRelationshipRequest) String

GetAccountRequest

type GetAccountRequest struct {

	// Required. The name of the account to retrieve.
	// Format: `accounts/{account}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the GetAccount method.

func (*GetAccountRequest) Descriptor

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

Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.

func (*GetAccountRequest) GetName

func (x *GetAccountRequest) GetName() string

func (*GetAccountRequest) ProtoMessage

func (*GetAccountRequest) ProtoMessage()

func (*GetAccountRequest) ProtoReflect

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

func (*GetAccountRequest) Reset

func (x *GetAccountRequest) Reset()

func (*GetAccountRequest) String

func (x *GetAccountRequest) String() string

GetAccountServiceRequest

type GetAccountServiceRequest struct {

	// Required. The resource name of the account service to get.
	// Format: `accounts/{account}/services/{service}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request to get an account service.

func (*GetAccountServiceRequest) Descriptor

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

Deprecated: Use GetAccountServiceRequest.ProtoReflect.Descriptor instead.

func (*GetAccountServiceRequest) GetName

func (x *GetAccountServiceRequest) GetName() string

func (*GetAccountServiceRequest) ProtoMessage

func (*GetAccountServiceRequest) ProtoMessage()

func (*GetAccountServiceRequest) ProtoReflect

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

func (*GetAccountServiceRequest) Reset

func (x *GetAccountServiceRequest) Reset()

func (*GetAccountServiceRequest) String

func (x *GetAccountServiceRequest) String() string

GetAutofeedSettingsRequest

type GetAutofeedSettingsRequest struct {

	// Required. The resource name of the autofeed settings.
	// Format: `accounts/{account}/autofeedSettings`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the GetAutofeedSettings method.

func (*GetAutofeedSettingsRequest) Descriptor

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

Deprecated: Use GetAutofeedSettingsRequest.ProtoReflect.Descriptor instead.

func (*GetAutofeedSettingsRequest) GetName

func (x *GetAutofeedSettingsRequest) GetName() string

func (*GetAutofeedSettingsRequest) ProtoMessage

func (*GetAutofeedSettingsRequest) ProtoMessage()

func (*GetAutofeedSettingsRequest) ProtoReflect

func (*GetAutofeedSettingsRequest) Reset

func (x *GetAutofeedSettingsRequest) Reset()

func (*GetAutofeedSettingsRequest) String

func (x *GetAutofeedSettingsRequest) String() string

GetAutomaticImprovementsRequest

type GetAutomaticImprovementsRequest struct {

	// Required. The resource name of the automatic improvements.
	// Format: `accounts/{account}/automaticImprovements`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the GetAutomaticImprovements method.

func (*GetAutomaticImprovementsRequest) Descriptor

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

Deprecated: Use GetAutomaticImprovementsRequest.ProtoReflect.Descriptor instead.

func (*GetAutomaticImprovementsRequest) GetName

func (*GetAutomaticImprovementsRequest) ProtoMessage

func (*GetAutomaticImprovementsRequest) ProtoMessage()

func (*GetAutomaticImprovementsRequest) ProtoReflect

func (*GetAutomaticImprovementsRequest) Reset

func (*GetAutomaticImprovementsRequest) String

GetBusinessIdentityRequest

type GetBusinessIdentityRequest struct {

	// Required. The resource name of the business identity.
	// Format: `accounts/{account}/businessIdentity`. For example,
	// `accounts/123456/businessIdentity`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the GetBusinessIdentity method.

func (*GetBusinessIdentityRequest) Descriptor

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

Deprecated: Use GetBusinessIdentityRequest.ProtoReflect.Descriptor instead.

func (*GetBusinessIdentityRequest) GetName

func (x *GetBusinessIdentityRequest) GetName() string

func (*GetBusinessIdentityRequest) ProtoMessage

func (*GetBusinessIdentityRequest) ProtoMessage()

func (*GetBusinessIdentityRequest) ProtoReflect

func (*GetBusinessIdentityRequest) Reset

func (x *GetBusinessIdentityRequest) Reset()

func (*GetBusinessIdentityRequest) String

func (x *GetBusinessIdentityRequest) String() string

GetBusinessInfoRequest

type GetBusinessInfoRequest struct {

	// Required. The resource name of the business info.
	// Format: `accounts/{account}/businessInfo`. For example,
	// `accounts/123456/businessInfo`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the GetBusinessInfo method.

func (*GetBusinessInfoRequest) Descriptor

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

Deprecated: Use GetBusinessInfoRequest.ProtoReflect.Descriptor instead.

func (*GetBusinessInfoRequest) GetName

func (x *GetBusinessInfoRequest) GetName() string

func (*GetBusinessInfoRequest) ProtoMessage

func (*GetBusinessInfoRequest) ProtoMessage()

func (*GetBusinessInfoRequest) ProtoReflect

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

func (*GetBusinessInfoRequest) Reset

func (x *GetBusinessInfoRequest) Reset()

func (*GetBusinessInfoRequest) String

func (x *GetBusinessInfoRequest) String() string

GetCheckoutSettingsRequest

type GetCheckoutSettingsRequest struct {

	// Required. The name/identifier of the merchant account.
	// Format: `accounts/{account}/programs/{program}/checkoutSettings`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetCheckoutSettings method.

func (*GetCheckoutSettingsRequest) Descriptor

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

Deprecated: Use GetCheckoutSettingsRequest.ProtoReflect.Descriptor instead.

func (*GetCheckoutSettingsRequest) GetName

func (x *GetCheckoutSettingsRequest) GetName() string

func (*GetCheckoutSettingsRequest) ProtoMessage

func (*GetCheckoutSettingsRequest) ProtoMessage()

func (*GetCheckoutSettingsRequest) ProtoReflect

func (*GetCheckoutSettingsRequest) Reset

func (x *GetCheckoutSettingsRequest) Reset()

func (*GetCheckoutSettingsRequest) String

func (x *GetCheckoutSettingsRequest) String() string

GetDeveloperRegistrationRequest

type GetDeveloperRegistrationRequest struct {

	// Required. The `name` (ID) of the developer registration.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the GetDeveloperRegistration method.

func (*GetDeveloperRegistrationRequest) Descriptor

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

Deprecated: Use GetDeveloperRegistrationRequest.ProtoReflect.Descriptor instead.

func (*GetDeveloperRegistrationRequest) GetName

func (*GetDeveloperRegistrationRequest) ProtoMessage

func (*GetDeveloperRegistrationRequest) ProtoMessage()

func (*GetDeveloperRegistrationRequest) ProtoReflect

func (*GetDeveloperRegistrationRequest) Reset

func (*GetDeveloperRegistrationRequest) String

GetEmailPreferencesRequest

type GetEmailPreferencesRequest struct {

	// Required. The name of the `EmailPreferences` resource.
	// Format: `accounts/{account}/users/{email}/emailPreferences`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetEmailPreferences method.

func (*GetEmailPreferencesRequest) Descriptor

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

Deprecated: Use GetEmailPreferencesRequest.ProtoReflect.Descriptor instead.

func (*GetEmailPreferencesRequest) GetName

func (x *GetEmailPreferencesRequest) GetName() string

func (*GetEmailPreferencesRequest) ProtoMessage

func (*GetEmailPreferencesRequest) ProtoMessage()

func (*GetEmailPreferencesRequest) ProtoReflect

func (*GetEmailPreferencesRequest) Reset

func (x *GetEmailPreferencesRequest) Reset()

func (*GetEmailPreferencesRequest) String

func (x *GetEmailPreferencesRequest) String() string

GetHomepageRequest

type GetHomepageRequest struct {

	// Required. The name of the homepage to retrieve.
	// Format: `accounts/{account}/homepage`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the GetHomepage method.

func (*GetHomepageRequest) Descriptor

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

Deprecated: Use GetHomepageRequest.ProtoReflect.Descriptor instead.

func (*GetHomepageRequest) GetName

func (x *GetHomepageRequest) GetName() string

func (*GetHomepageRequest) ProtoMessage

func (*GetHomepageRequest) ProtoMessage()

func (*GetHomepageRequest) ProtoReflect

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

func (*GetHomepageRequest) Reset

func (x *GetHomepageRequest) Reset()

func (*GetHomepageRequest) String

func (x *GetHomepageRequest) String() string

GetOmnichannelSettingRequest

type GetOmnichannelSettingRequest struct {

	// Required. The name of the omnichannel setting to retrieve.
	// Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the GetOmnichannelSettings method.

func (*GetOmnichannelSettingRequest) Descriptor

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

Deprecated: Use GetOmnichannelSettingRequest.ProtoReflect.Descriptor instead.

func (*GetOmnichannelSettingRequest) GetName

func (x *GetOmnichannelSettingRequest) GetName() string

func (*GetOmnichannelSettingRequest) ProtoMessage

func (*GetOmnichannelSettingRequest) ProtoMessage()

func (*GetOmnichannelSettingRequest) ProtoReflect

func (*GetOmnichannelSettingRequest) Reset

func (x *GetOmnichannelSettingRequest) Reset()

func (*GetOmnichannelSettingRequest) String

GetOnlineReturnPolicyRequest

type GetOnlineReturnPolicyRequest struct {

	// Required. The name of the return policy to retrieve.
	// Format: `accounts/{account}/onlineReturnPolicies/{return_policy}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the GetOnlineReturnPolicy method.

func (*GetOnlineReturnPolicyRequest) Descriptor

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

Deprecated: Use GetOnlineReturnPolicyRequest.ProtoReflect.Descriptor instead.

func (*GetOnlineReturnPolicyRequest) GetName

func (x *GetOnlineReturnPolicyRequest) GetName() string

func (*GetOnlineReturnPolicyRequest) ProtoMessage

func (*GetOnlineReturnPolicyRequest) ProtoMessage()

func (*GetOnlineReturnPolicyRequest) ProtoReflect

func (*GetOnlineReturnPolicyRequest) Reset

func (x *GetOnlineReturnPolicyRequest) Reset()

func (*GetOnlineReturnPolicyRequest) String

GetProgramRequest

type GetProgramRequest struct {

	// Required. The name of the program to retrieve.
	// Format: `accounts/{account}/programs/{program}`. For example,
	// `accounts/123456/programs/free-listings`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the GetProgram method.

func (*GetProgramRequest) Descriptor

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

Deprecated: Use GetProgramRequest.ProtoReflect.Descriptor instead.

func (*GetProgramRequest) GetName

func (x *GetProgramRequest) GetName() string

func (*GetProgramRequest) ProtoMessage

func (*GetProgramRequest) ProtoMessage()

func (*GetProgramRequest) ProtoReflect

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

func (*GetProgramRequest) Reset

func (x *GetProgramRequest) Reset()

func (*GetProgramRequest) String

func (x *GetProgramRequest) String() string

GetRegionRequest

type GetRegionRequest struct {

	// Required. The name of the region to retrieve.
	// Format: `accounts/{account}/regions/{region}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the GetRegion method.

func (*GetRegionRequest) Descriptor

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

Deprecated: Use GetRegionRequest.ProtoReflect.Descriptor instead.

func (*GetRegionRequest) GetName

func (x *GetRegionRequest) GetName() string

func (*GetRegionRequest) ProtoMessage

func (*GetRegionRequest) ProtoMessage()

func (*GetRegionRequest) ProtoReflect

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

func (*GetRegionRequest) Reset

func (x *GetRegionRequest) Reset()

func (*GetRegionRequest) String

func (x *GetRegionRequest) String() string

GetShippingSettingsRequest

type GetShippingSettingsRequest struct {

	// Required. The name of the shipping setting to retrieve.
	// Format: `accounts/{account}/shippingsettings`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the GetShippingSetting method.

func (*GetShippingSettingsRequest) Descriptor

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

Deprecated: Use GetShippingSettingsRequest.ProtoReflect.Descriptor instead.

func (*GetShippingSettingsRequest) GetName

func (x *GetShippingSettingsRequest) GetName() string

func (*GetShippingSettingsRequest) ProtoMessage

func (*GetShippingSettingsRequest) ProtoMessage()

func (*GetShippingSettingsRequest) ProtoReflect

func (*GetShippingSettingsRequest) Reset

func (x *GetShippingSettingsRequest) Reset()

func (*GetShippingSettingsRequest) String

func (x *GetShippingSettingsRequest) String() string

GetTermsOfServiceAgreementStateRequest

type GetTermsOfServiceAgreementStateRequest struct {

	// Required. The resource name of the terms of service version.
	// Format: `accounts/{account}/termsOfServiceAgreementStates/{identifier}`
	// The identifier format is: `{TermsOfServiceKind}-{country}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the GetTermsOfServiceAgreementState method.

func (*GetTermsOfServiceAgreementStateRequest) Descriptor

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

Deprecated: Use GetTermsOfServiceAgreementStateRequest.ProtoReflect.Descriptor instead.

func (*GetTermsOfServiceAgreementStateRequest) GetName

func (*GetTermsOfServiceAgreementStateRequest) ProtoMessage

func (*GetTermsOfServiceAgreementStateRequest) ProtoReflect

func (*GetTermsOfServiceAgreementStateRequest) Reset

func (*GetTermsOfServiceAgreementStateRequest) String

GetTermsOfServiceRequest

type GetTermsOfServiceRequest struct {

	// Required. The resource name of the terms of service version.
	// Format: `termsOfService/{version}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the GetTermsOfService method.

func (*GetTermsOfServiceRequest) Descriptor

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

Deprecated: Use GetTermsOfServiceRequest.ProtoReflect.Descriptor instead.

func (*GetTermsOfServiceRequest) GetName

func (x *GetTermsOfServiceRequest) GetName() string

func (*GetTermsOfServiceRequest) ProtoMessage

func (*GetTermsOfServiceRequest) ProtoMessage()

func (*GetTermsOfServiceRequest) ProtoReflect

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

func (*GetTermsOfServiceRequest) Reset

func (x *GetTermsOfServiceRequest) Reset()

func (*GetTermsOfServiceRequest) String

func (x *GetTermsOfServiceRequest) String() string

GetUserRequest

type GetUserRequest struct {

	// Required. The name of the user to retrieve.
	// Format: `accounts/{account}/users/{email}`
	//
	// It is also possible to retrieve the user corresponding to the caller by
	// using `me` rather than an email address as in
	// `accounts/{account}/users/me`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the GetUser method.

func (*GetUserRequest) Descriptor

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

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) GetName

func (x *GetUserRequest) GetName() string

func (*GetUserRequest) ProtoMessage

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) ProtoReflect

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

func (*GetUserRequest) Reset

func (x *GetUserRequest) Reset()

func (*GetUserRequest) String

func (x *GetUserRequest) String() string

Handshake

type Handshake struct {

	// Output only. The approval state of this handshake.
	ApprovalState Handshake_ApprovalState `protobuf:"varint,1,opt,name=approval_state,json=approvalState,proto3,enum=google.shopping.merchant.accounts.v1.Handshake_ApprovalState" json:"approval_state,omitempty"`
	// Output only. The most recent account to modify the account service's
	// `approval_status`.
	Actor Handshake_Actor `protobuf:"varint,2,opt,name=actor,proto3,enum=google.shopping.merchant.accounts.v1.Handshake_Actor" json:"actor,omitempty"`
	// contains filtered or unexported fields
}

The current status of establishing of the service. (for example, pending approval or approved).

func (*Handshake) Descriptor

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

Deprecated: Use Handshake.ProtoReflect.Descriptor instead.

func (*Handshake) GetActor

func (x *Handshake) GetActor() Handshake_Actor

func (*Handshake) GetApprovalState

func (x *Handshake) GetApprovalState() Handshake_ApprovalState

func (*Handshake) ProtoMessage

func (*Handshake) ProtoMessage()

func (*Handshake) ProtoReflect

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

func (*Handshake) Reset

func (x *Handshake) Reset()

func (*Handshake) String

func (x *Handshake) String() string

Handshake_Actor

type Handshake_Actor int32

The various actors that can be involved in a handshake.

Handshake_ACTOR_UNSPECIFIED, Handshake_ACCOUNT, Handshake_OTHER_PARTY

const (
	// Unspecified actor.
	Handshake_ACTOR_UNSPECIFIED Handshake_Actor = 0
	// The last change was done by the account who has this service.
	Handshake_ACCOUNT Handshake_Actor = 1
	// The last change was done by the other party who this service points to.
	Handshake_OTHER_PARTY Handshake_Actor = 2
)

func (Handshake_Actor) Descriptor

func (Handshake_Actor) Enum

func (x Handshake_Actor) Enum() *Handshake_Actor

func (Handshake_Actor) EnumDescriptor

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

Deprecated: Use Handshake_Actor.Descriptor instead.

func (Handshake_Actor) Number

func (Handshake_Actor) String

func (x Handshake_Actor) String() string

func (Handshake_Actor) Type

Handshake_ApprovalState

type Handshake_ApprovalState int32

The approal state of a handshake.

Handshake_APPROVAL_STATE_UNSPECIFIED, Handshake_PENDING, Handshake_ESTABLISHED, Handshake_REJECTED

const (
	// Unspecified approval status.
	Handshake_APPROVAL_STATE_UNSPECIFIED Handshake_ApprovalState = 0
	// The service was proposed and is waiting to be confirmed.
	Handshake_PENDING Handshake_ApprovalState = 1
	// Both parties have confirmed the service.
	Handshake_ESTABLISHED Handshake_ApprovalState = 2
	// The service proposal was rejected.
	Handshake_REJECTED Handshake_ApprovalState = 3
)

func (Handshake_ApprovalState) Descriptor

func (Handshake_ApprovalState) Enum

func (Handshake_ApprovalState) EnumDescriptor

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

Deprecated: Use Handshake_ApprovalState.Descriptor instead.

func (Handshake_ApprovalState) Number

func (Handshake_ApprovalState) String

func (x Handshake_ApprovalState) String() string

func (Handshake_ApprovalState) Type

Headers

type Headers struct {

	// Required. A list of inclusive order price upper bounds. The last price's
	// value can be infinity by setting price amount_micros = -1. For example
	// `[{"amount_micros": 10000000, "currency_code": "USD"},
	// {"amount_micros": 500000000, "currency_code": "USD"},
	// {"amount_micros": -1, "currency_code": "USD"}]` represents the headers
	// "<= $10",=""><= $500",="" and="" "=""> $500". All prices within a service must have
	// the same currency. Must be non-empty. Must be positive except -1. Can only
	// be set if all other fields are not set.
	Prices []*typepb.Price `protobuf:"bytes,1,rep,name=prices,proto3" json:"prices,omitempty"`
	// Required. A list of inclusive order weight upper bounds. The last weight's
	// value can be infinity by setting price amount_micros = -1. For example
	// `[{"amount_micros": 10000000, "unit": "kg"}, {"amount_micros": 50000000,
	// "unit": "kg"},
	// {"amount_micros": -1, "unit": "kg"}]` represents the headers
	// "<= 10kg",=""><= 50kg",="" and="" "=""> 50kg". All weights within a service must have
	// the same unit. Must be non-empty. Must be positive except -1. Can only be
	// set if all other fields are not set.
	Weights []*typepb.Weight `protobuf:"bytes,2,rep,name=weights,proto3" json:"weights,omitempty"`
	// Required. A list of inclusive number of items upper bounds. The last value
	// can be
	// `"infinity"`. For example
	// `["10", "50", "infinity"]` represents the headers
	// "<= 10="" items",=""><= 50="" items",="" and="" "=""> 50 items". Must be non-empty. Can
	// only be set if all other fields are not set.
	NumberOfItems []string `protobuf:"bytes,3,rep,name=number_of_items,json=numberOfItems,proto3" json:"number_of_items,omitempty"`
	// Required. A list of postal group names. The last value can be
	// `"all other locations"`. Example:
	// `["zone 1", "zone 2", "all other locations"]`. The referred
	// postal code groups must match the delivery country of the service. Must
	// be non-empty. Can only be set if all other fields are not set.
	PostalCodeGroupNames []string `protobuf:"bytes,4,rep,name=postal_code_group_names,json=postalCodeGroupNames,proto3" json:"postal_code_group_names,omitempty"`
	// Required. A list of location ID sets. Must be non-empty. Can only be set if
	// all other fields are not set.
	Locations []*LocationIdSet `protobuf:"bytes,5,rep,name=locations,proto3" json:"locations,omitempty"`
	// contains filtered or unexported fields
}

A non-empty list of row or column headers for a table. Exactly one of prices, weights, num_items, postal_code_group_names, or location must be set.

func (*Headers) Descriptor

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

Deprecated: Use Headers.ProtoReflect.Descriptor instead.

func (*Headers) GetLocations

func (x *Headers) GetLocations() []*LocationIdSet

func (*Headers) GetNumberOfItems

func (x *Headers) GetNumberOfItems() []string

func (*Headers) GetPostalCodeGroupNames

func (x *Headers) GetPostalCodeGroupNames() []string

func (*Headers) GetPrices

func (x *Headers) GetPrices() []*typepb.Price

func (*Headers) GetWeights

func (x *Headers) GetWeights() []*typepb.Weight

func (*Headers) ProtoMessage

func (*Headers) ProtoMessage()

func (*Headers) ProtoReflect

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

func (*Headers) Reset

func (x *Headers) Reset()

func (*Headers) String

func (x *Headers) String() string

Homepage

type Homepage struct {

	// Identifier. The resource name of the store's homepage.
	// Format: `accounts/{account}/homepage`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The URI (typically a URL) of the store's homepage.
	Uri *string `protobuf:"bytes,2,opt,name=uri,proto3,oneof" json:"uri,omitempty"`
	// Output only. Whether the homepage is claimed. See
	// https://support.google.com/merchants/answer/176793.
	Claimed bool `protobuf:"varint,3,opt,name=claimed,proto3" json:"claimed,omitempty"`
	// contains filtered or unexported fields
}

The Homepage message represents a business's store homepage within the system.

A business's homepage is the primary domain where customers interact with their store.

The homepage can be claimed and verified as a proof of ownership and allows the business to unlock features that require a verified website. For more information, see Understanding online store URL verification.

func (*Homepage) Descriptor

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

Deprecated: Use Homepage.ProtoReflect.Descriptor instead.

func (*Homepage) GetClaimed

func (x *Homepage) GetClaimed() bool

func (*Homepage) GetName

func (x *Homepage) GetName() string

func (*Homepage) GetUri

func (x *Homepage) GetUri() string

func (*Homepage) ProtoMessage

func (*Homepage) ProtoMessage()

func (*Homepage) ProtoReflect

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

func (*Homepage) Reset

func (x *Homepage) Reset()

func (*Homepage) String

func (x *Homepage) String() string

HomepageServiceClient

type HomepageServiceClient interface {
	// Retrieves a store's homepage.
	GetHomepage(ctx context.Context, in *GetHomepageRequest, opts ...grpc.CallOption) (*Homepage, error)
	// Updates a store's homepage. Executing this method requires admin access.
	UpdateHomepage(ctx context.Context, in *UpdateHomepageRequest, opts ...grpc.CallOption) (*Homepage, error)
	// Claims a store's homepage. Executing this method requires admin access.
	//
	// If the homepage is already claimed, this will recheck the
	// verification (unless the business is exempted from claiming, which also
	// exempts from verification) and return a successful response. If ownership
	// can no longer be verified, it will return an error, but it won't clear the
	// claim.
	//
	// In case of failure, a canonical error message is returned:
	//
	//   - PERMISSION_DENIED: User doesn't have the necessary permissions on this
	//     Merchant Center account.
	//
	//   - FAILED_PRECONDITION:
	//
	//   - The account is not a Merchant Center account.
	//
	//   - Merchant Center account doesn't have a homepage.
	//
	//   - Claiming failed (in this case the error message contains more
	//     details).
	ClaimHomepage(ctx context.Context, in *ClaimHomepageRequest, opts ...grpc.CallOption) (*Homepage, error)
	// Unclaims a store's homepage. Executing this method requires admin access.
	UnclaimHomepage(ctx context.Context, in *UnclaimHomepageRequest, opts ...grpc.CallOption) (*Homepage, error)
}

HomepageServiceClient is the client API for HomepageService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewHomepageServiceClient

func NewHomepageServiceClient(cc grpc.ClientConnInterface) HomepageServiceClient

HomepageServiceServer

type HomepageServiceServer interface {
	// Retrieves a store's homepage.
	GetHomepage(context.Context, *GetHomepageRequest) (*Homepage, error)
	// Updates a store's homepage. Executing this method requires admin access.
	UpdateHomepage(context.Context, *UpdateHomepageRequest) (*Homepage, error)
	// Claims a store's homepage. Executing this method requires admin access.
	//
	// If the homepage is already claimed, this will recheck the
	// verification (unless the business is exempted from claiming, which also
	// exempts from verification) and return a successful response. If ownership
	// can no longer be verified, it will return an error, but it won't clear the
	// claim.
	//
	// In case of failure, a canonical error message is returned:
	//
	//   - PERMISSION_DENIED: User doesn't have the necessary permissions on this
	//     Merchant Center account.
	//
	//   - FAILED_PRECONDITION:
	//
	//   - The account is not a Merchant Center account.
	//
	//   - Merchant Center account doesn't have a homepage.
	//
	//   - Claiming failed (in this case the error message contains more
	//     details).
	ClaimHomepage(context.Context, *ClaimHomepageRequest) (*Homepage, error)
	// Unclaims a store's homepage. Executing this method requires admin access.
	UnclaimHomepage(context.Context, *UnclaimHomepageRequest) (*Homepage, error)
}

HomepageServiceServer is the server API for HomepageService service. All implementations should embed UnimplementedHomepageServiceServer for forward compatibility

InStock

type InStock struct {

	// Optional. Product landing page URI. It is only used for the review of MHLSF
	// in-stock serving. This URI domain should match with the business's
	// homepage. Required to be empty if the lsf_type is GHLSF, and required when
	// the lsf_type is MHLSF_FULL or MHLSF_BASIC.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// Output only. The state of the in-stock serving.
	State ReviewState_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.shopping.merchant.accounts.v1.ReviewState_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

Collection of information related to InStock.

func (*InStock) Descriptor

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

Deprecated: Use InStock.ProtoReflect.Descriptor instead.

func (*InStock) GetState

func (x *InStock) GetState() ReviewState_State

func (*InStock) GetUri

func (x *InStock) GetUri() string

func (*InStock) ProtoMessage

func (*InStock) ProtoMessage()

func (*InStock) ProtoReflect

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

func (*InStock) Reset

func (x *InStock) Reset()

func (*InStock) String

func (x *InStock) String() string

InsertShippingSettingsRequest

type InsertShippingSettingsRequest struct {

	// Required. The account for which this shipping setting will be inserted. If
	// you are using an advanced account, you must specify the unique identifier
	// of the sub-account for which you want to insert the shipping setting.
	// Format: `accounts/{ACCOUNT_ID}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The new version of the account.
	ShippingSetting *ShippingSettings `protobuf:"bytes,2,opt,name=shipping_setting,json=shippingSetting,proto3" json:"shipping_setting,omitempty"`
	// contains filtered or unexported fields
}

Request message for the InsertShippingSetting method.

func (*InsertShippingSettingsRequest) Descriptor

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

Deprecated: Use InsertShippingSettingsRequest.ProtoReflect.Descriptor instead.

func (*InsertShippingSettingsRequest) GetParent

func (x *InsertShippingSettingsRequest) GetParent() string

func (*InsertShippingSettingsRequest) GetShippingSetting

func (x *InsertShippingSettingsRequest) GetShippingSetting() *ShippingSettings

func (*InsertShippingSettingsRequest) ProtoMessage

func (*InsertShippingSettingsRequest) ProtoMessage()

func (*InsertShippingSettingsRequest) ProtoReflect

func (*InsertShippingSettingsRequest) Reset

func (x *InsertShippingSettingsRequest) Reset()

func (*InsertShippingSettingsRequest) String

InventoryVerification

type InventoryVerification struct {

	// Output only. The state of the inventory verification process.
	State InventoryVerification_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.shopping.merchant.accounts.v1.InventoryVerification_State" json:"state,omitempty"`
	// Required. The name of the contact for the inventory verification process.
	Contact string `protobuf:"bytes,2,opt,name=contact,proto3" json:"contact,omitempty"`
	// Required. The email address of the contact for the inventory verification
	// process.
	ContactEmail string `protobuf:"bytes,3,opt,name=contact_email,json=contactEmail,proto3" json:"contact_email,omitempty"`
	// Output only. The state of the contact verification.
	ContactState ReviewState_State `protobuf:"varint,4,opt,name=contact_state,json=contactState,proto3,enum=google.shopping.merchant.accounts.v1.ReviewState_State" json:"contact_state,omitempty"`
	// contains filtered or unexported fields
}

Collection of information related to inventory verification.

func (*InventoryVerification) Descriptor

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

Deprecated: Use InventoryVerification.ProtoReflect.Descriptor instead.

func (*InventoryVerification) GetContact

func (x *InventoryVerification) GetContact() string

func (*InventoryVerification) GetContactEmail

func (x *InventoryVerification) GetContactEmail() string

func (*InventoryVerification) GetContactState

func (x *InventoryVerification) GetContactState() ReviewState_State

func (*InventoryVerification) GetState

func (*InventoryVerification) ProtoMessage

func (*InventoryVerification) ProtoMessage()

func (*InventoryVerification) ProtoReflect

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

func (*InventoryVerification) Reset

func (x *InventoryVerification) Reset()

func (*InventoryVerification) String

func (x *InventoryVerification) String() string

InventoryVerification_State

type InventoryVerification_State int32

The state of the inventory verification process.

InventoryVerification_STATE_UNSPECIFIED, InventoryVerification_ACTION_REQUIRED, InventoryVerification_INACTIVE, InventoryVerification_RUNNING, InventoryVerification_SUCCEEDED, InventoryVerification_SUSPENDED

const (
	// Default value. This value is unused.
	InventoryVerification_STATE_UNSPECIFIED InventoryVerification_State = 0
	// When the merchant needs to initiate the inventory
	// verification process. The next state is INACTIVE.
	InventoryVerification_ACTION_REQUIRED InventoryVerification_State = 1
	// When the merchant is ready to request inventory verification.
	InventoryVerification_INACTIVE InventoryVerification_State = 5
	// The inventory verification process is running. If the merchant is
	// rejected, the next state is INACTIVE.
	InventoryVerification_RUNNING InventoryVerification_State = 2
	// The inventory verification process succeeded.
	InventoryVerification_SUCCEEDED InventoryVerification_State = 3
	// When merchant fails the inventory verification process and all attempts
	// are exhausted.
	InventoryVerification_SUSPENDED InventoryVerification_State = 4
)

func (InventoryVerification_State) Descriptor

func (InventoryVerification_State) Enum

func (InventoryVerification_State) EnumDescriptor

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

Deprecated: Use InventoryVerification_State.Descriptor instead.

func (InventoryVerification_State) Number

func (InventoryVerification_State) String

func (InventoryVerification_State) Type

type LfpLink struct {

	// Required. The resource name of the LFP provider.
	// Format: `lfpProviders/{lfp_provider}`
	LfpProvider string `protobuf:"bytes,1,opt,name=lfp_provider,json=lfpProvider,proto3" json:"lfp_provider,omitempty"`
	// Required. The account ID by which this merchant is known to the LFP
	// provider.
	ExternalAccountId string `protobuf:"bytes,2,opt,name=external_account_id,json=externalAccountId,proto3" json:"external_account_id,omitempty"`
	// Output only. The state of the LFP link.
	State ReviewState_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.shopping.merchant.accounts.v1.ReviewState_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

Collection of information related to the LFP link.

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

Deprecated: Use LfpLink.ProtoReflect.Descriptor instead.

func (x *LfpLink) GetExternalAccountId() string
func (x *LfpLink) GetLfpProvider() string
func (x *LfpLink) GetState() ReviewState_State
func (*LfpLink) ProtoMessage()
func (x *LfpLink) ProtoReflect() protoreflect.Message
func (x *LfpLink) Reset()
func (x *LfpLink) String() string

LfpProvider

type LfpProvider struct {

	// Identifier. The resource name of the LFP provider.
	// Format:
	// `accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Region code defined by [CLDR](https://cldr.unicode.org/).
	RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
	// The display name of the LFP provider.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// contains filtered or unexported fields
}

Collection of information related to a Local Feed Partnership (LFP) provider.

func (*LfpProvider) Descriptor

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

Deprecated: Use LfpProvider.ProtoReflect.Descriptor instead.

func (*LfpProvider) GetDisplayName

func (x *LfpProvider) GetDisplayName() string

func (*LfpProvider) GetName

func (x *LfpProvider) GetName() string

func (*LfpProvider) GetRegionCode

func (x *LfpProvider) GetRegionCode() string

func (*LfpProvider) ProtoMessage

func (*LfpProvider) ProtoMessage()

func (*LfpProvider) ProtoReflect

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

func (*LfpProvider) Reset

func (x *LfpProvider) Reset()

func (*LfpProvider) String

func (x *LfpProvider) String() string

LfpProvidersServiceClient

type LfpProvidersServiceClient interface {
	// Find the LFP provider candidates in a given country.
	FindLfpProviders(ctx context.Context, in *FindLfpProvidersRequest, opts ...grpc.CallOption) (*FindLfpProvidersResponse, error)
	// Link the specified merchant to a LFP provider for the specified country.
	LinkLfpProvider(ctx context.Context, in *LinkLfpProviderRequest, opts ...grpc.CallOption) (*LinkLfpProviderResponse, error)
}

LfpProvidersServiceClient is the client API for LfpProvidersService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewLfpProvidersServiceClient

func NewLfpProvidersServiceClient(cc grpc.ClientConnInterface) LfpProvidersServiceClient

LfpProvidersServiceServer

type LfpProvidersServiceServer interface {
	// Find the LFP provider candidates in a given country.
	FindLfpProviders(context.Context, *FindLfpProvidersRequest) (*FindLfpProvidersResponse, error)
	// Link the specified merchant to a LFP provider for the specified country.
	LinkLfpProvider(context.Context, *LinkLfpProviderRequest) (*LinkLfpProviderResponse, error)
}

LfpProvidersServiceServer is the server API for LfpProvidersService service. All implementations should embed UnimplementedLfpProvidersServiceServer for forward compatibility

LinkGbpAccountRequest

type LinkGbpAccountRequest struct {

	// Required. The name of the parent resource to which the GBP account is
	// linked. Format: `accounts/{account}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The email address of the Business Profile account.
	GbpEmail string `protobuf:"bytes,2,opt,name=gbp_email,json=gbpEmail,proto3" json:"gbp_email,omitempty"`
	// contains filtered or unexported fields
}

Request message for the LinkGbpAccount method.

func (*LinkGbpAccountRequest) Descriptor

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

Deprecated: Use LinkGbpAccountRequest.ProtoReflect.Descriptor instead.

func (*LinkGbpAccountRequest) GetGbpEmail

func (x *LinkGbpAccountRequest) GetGbpEmail() string

func (*LinkGbpAccountRequest) GetParent

func (x *LinkGbpAccountRequest) GetParent() string

func (*LinkGbpAccountRequest) ProtoMessage

func (*LinkGbpAccountRequest) ProtoMessage()

func (*LinkGbpAccountRequest) ProtoReflect

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

func (*LinkGbpAccountRequest) Reset

func (x *LinkGbpAccountRequest) Reset()

func (*LinkGbpAccountRequest) String

func (x *LinkGbpAccountRequest) String() string

LinkGbpAccountResponse

type LinkGbpAccountResponse struct {

	// Empty response.
	Response *emptypb.Empty `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

Response message for the LinkGbpAccount method.

func (*LinkGbpAccountResponse) Descriptor

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

Deprecated: Use LinkGbpAccountResponse.ProtoReflect.Descriptor instead.

func (*LinkGbpAccountResponse) GetResponse

func (x *LinkGbpAccountResponse) GetResponse() *emptypb.Empty

func (*LinkGbpAccountResponse) ProtoMessage

func (*LinkGbpAccountResponse) ProtoMessage()

func (*LinkGbpAccountResponse) ProtoReflect

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

func (*LinkGbpAccountResponse) Reset

func (x *LinkGbpAccountResponse) Reset()

func (*LinkGbpAccountResponse) String

func (x *LinkGbpAccountResponse) String() string

LinkLfpProviderRequest

type LinkLfpProviderRequest struct {

	// Required. The name of the LFP provider resource to link.
	// Format:
	// `accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}`.
	// The `lfp_provider` is the LFP provider ID.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The external account ID by which this merchant is known to the
	// LFP provider.
	ExternalAccountId string `protobuf:"bytes,2,opt,name=external_account_id,json=externalAccountId,proto3" json:"external_account_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for the LinkLfpProvider method.

func (*LinkLfpProviderRequest) Descriptor

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

Deprecated: Use LinkLfpProviderRequest.ProtoReflect.Descriptor instead.

func (*LinkLfpProviderRequest) GetExternalAccountId

func (x *LinkLfpProviderRequest) GetExternalAccountId() string

func (*LinkLfpProviderRequest) GetName

func (x *LinkLfpProviderRequest) GetName() string

func (*LinkLfpProviderRequest) ProtoMessage

func (*LinkLfpProviderRequest) ProtoMessage()

func (*LinkLfpProviderRequest) ProtoReflect

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

func (*LinkLfpProviderRequest) Reset

func (x *LinkLfpProviderRequest) Reset()

func (*LinkLfpProviderRequest) String

func (x *LinkLfpProviderRequest) String() string

LinkLfpProviderResponse

type LinkLfpProviderResponse struct {

	// Empty response.
	Response *emptypb.Empty `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

Response message for the LinkLfpProvider method.

func (*LinkLfpProviderResponse) Descriptor

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

Deprecated: Use LinkLfpProviderResponse.ProtoReflect.Descriptor instead.

func (*LinkLfpProviderResponse) GetResponse

func (x *LinkLfpProviderResponse) GetResponse() *emptypb.Empty

func (*LinkLfpProviderResponse) ProtoMessage

func (*LinkLfpProviderResponse) ProtoMessage()

func (*LinkLfpProviderResponse) ProtoReflect

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

func (*LinkLfpProviderResponse) Reset

func (x *LinkLfpProviderResponse) Reset()

func (*LinkLfpProviderResponse) String

func (x *LinkLfpProviderResponse) String() string

ListAccountIssuesRequest

type ListAccountIssuesRequest struct {

	// Required. The parent, which owns this collection of issues.
	// Format: `accounts/{account}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of issues to return. The service may return
	// fewer than this value. If unspecified, at most 50 issues will be returned.
	// The maximum value is 100; values above 100 will be coerced to 100
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListAccountIssues` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListAccountIssues` 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. The issues in the response will have human-readable fields in the
	// given language. The format is [BCP-47](https://tools.ietf.org/html/bcp47),
	// such as `en-US` or `sr-Latn`. If not value is provided, `en-US` will be
	// used.
	LanguageCode string `protobuf:"bytes,4,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 human-readable fields. For example 'America/Los_Angeles'.
	// If not set, 'America/Los_Angeles' will be used.
	TimeZone string `protobuf:"bytes,5,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
	// contains filtered or unexported fields
}

Request message for the ListAccountIssues method.

func (*ListAccountIssuesRequest) Descriptor

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

Deprecated: Use ListAccountIssuesRequest.ProtoReflect.Descriptor instead.

func (*ListAccountIssuesRequest) GetLanguageCode

func (x *ListAccountIssuesRequest) GetLanguageCode() string

func (*ListAccountIssuesRequest) GetPageSize

func (x *ListAccountIssuesRequest) GetPageSize() int32

func (*ListAccountIssuesRequest) GetPageToken

func (x *ListAccountIssuesRequest) GetPageToken() string

func (*ListAccountIssuesRequest) GetParent

func (x *ListAccountIssuesRequest) GetParent() string

func (*ListAccountIssuesRequest) GetTimeZone

func (x *ListAccountIssuesRequest) GetTimeZone() string

func (*ListAccountIssuesRequest) ProtoMessage

func (*ListAccountIssuesRequest) ProtoMessage()

func (*ListAccountIssuesRequest) ProtoReflect

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

func (*ListAccountIssuesRequest) Reset

func (x *ListAccountIssuesRequest) Reset()

func (*ListAccountIssuesRequest) String

func (x *ListAccountIssuesRequest) String() string

ListAccountIssuesResponse

type ListAccountIssuesResponse struct {

	// The issues from the specified account.
	AccountIssues []*AccountIssue `protobuf:"bytes,1,rep,name=account_issues,json=accountIssues,proto3" json:"account_issues,omitempty"`
	// A token, which can be sent as `page_token` 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 ListAccountIssues method.

func (*ListAccountIssuesResponse) Descriptor

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

Deprecated: Use ListAccountIssuesResponse.ProtoReflect.Descriptor instead.

func (*ListAccountIssuesResponse) GetAccountIssues

func (x *ListAccountIssuesResponse) GetAccountIssues() []*AccountIssue

func (*ListAccountIssuesResponse) GetNextPageToken

func (x *ListAccountIssuesResponse) GetNextPageToken() string

func (*ListAccountIssuesResponse) ProtoMessage

func (*ListAccountIssuesResponse) ProtoMessage()

func (*ListAccountIssuesResponse) ProtoReflect

func (*ListAccountIssuesResponse) Reset

func (x *ListAccountIssuesResponse) Reset()

func (*ListAccountIssuesResponse) String

func (x *ListAccountIssuesResponse) String() string

ListAccountRelationshipsRequest

type ListAccountRelationshipsRequest struct {

	// Required. The parent account of the account relationship to filter by.
	// Format: `accounts/{account}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The token returned by the previous `list` request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. The maximum number of elements to return in the response. Use for
	// paging. If no `page_size` is specified, `100` is used as the default value.
	// The maximum allowed value is `1000`.
	PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

Request to list account relationships.

func (*ListAccountRelationshipsRequest) Descriptor

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

Deprecated: Use ListAccountRelationshipsRequest.ProtoReflect.Descriptor instead.

func (*ListAccountRelationshipsRequest) GetPageSize

func (x *ListAccountRelationshipsRequest) GetPageSize() int32

func (*ListAccountRelationshipsRequest) GetPageToken

func (x *ListAccountRelationshipsRequest) GetPageToken() string

func (*ListAccountRelationshipsRequest) GetParent

func (x *ListAccountRelationshipsRequest) GetParent() string

func (*ListAccountRelationshipsRequest) ProtoMessage

func (*ListAccountRelationshipsRequest) ProtoMessage()

func (*ListAccountRelationshipsRequest) ProtoReflect

func (*ListAccountRelationshipsRequest) Reset

func (*ListAccountRelationshipsRequest) String

ListAccountRelationshipsResponse

type ListAccountRelationshipsResponse struct {

	// The account relationships that match your filter.
	AccountRelationships []*AccountRelationship `protobuf:"bytes,1,rep,name=account_relationships,json=accountRelationships,proto3" json:"account_relationships,omitempty"`
	// A page token. You can send the `page_token` to get the next page.
	// Only included in the `list` response if there are more 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 after trying to list account relationships.

func (*ListAccountRelationshipsResponse) Descriptor

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

Deprecated: Use ListAccountRelationshipsResponse.ProtoReflect.Descriptor instead.

func (*ListAccountRelationshipsResponse) GetAccountRelationships

func (x *ListAccountRelationshipsResponse) GetAccountRelationships() []*AccountRelationship

func (*ListAccountRelationshipsResponse) GetNextPageToken

func (x *ListAccountRelationshipsResponse) GetNextPageToken() string

func (*ListAccountRelationshipsResponse) ProtoMessage

func (*ListAccountRelationshipsResponse) ProtoMessage()

func (*ListAccountRelationshipsResponse) ProtoReflect

func (*ListAccountRelationshipsResponse) Reset

func (*ListAccountRelationshipsResponse) String

ListAccountServicesRequest

type ListAccountServicesRequest struct {

	// Required. The parent account of the account service to filter by.
	// Format: `accounts/{account}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The token returned by the previous `list` request.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. The maximum number of elements to return in the response. Use for
	// paging. If no `page_size` is specified, `100` is used as the default value.
	// The maximum allowed value is `1000`.
	PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

Request to list account services.

func (*ListAccountServicesRequest) Descriptor

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

Deprecated: Use ListAccountServicesRequest.ProtoReflect.Descriptor instead.

func (*ListAccountServicesRequest) GetPageSize

func (x *ListAccountServicesRequest) GetPageSize() int32

func (*ListAccountServicesRequest) GetPageToken

func (x *ListAccountServicesRequest) GetPageToken() string

func (*ListAccountServicesRequest) GetParent

func (x *ListAccountServicesRequest) GetParent() string

func (*ListAccountServicesRequest) ProtoMessage

func (*ListAccountServicesRequest) ProtoMessage()

func (*ListAccountServicesRequest) ProtoReflect

func (*ListAccountServicesRequest) Reset

func (x *ListAccountServicesRequest) Reset()

func (*ListAccountServicesRequest) String

func (x *ListAccountServicesRequest) String() string

ListAccountServicesResponse

type ListAccountServicesResponse struct {

	// The account services that match your filter.
	AccountServices []*AccountService `protobuf:"bytes,1,rep,name=account_services,json=accountServices,proto3" json:"account_services,omitempty"`
	// A page token. You can send the `page_token` to get the next page.
	// Only included in the `list` response if there are more 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 after trying to list account services.

func (*ListAccountServicesResponse) Descriptor

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

Deprecated: Use ListAccountServicesResponse.ProtoReflect.Descriptor instead.

func (*ListAccountServicesResponse) GetAccountServices

func (x *ListAccountServicesResponse) GetAccountServices() []*AccountService

func (*ListAccountServicesResponse) GetNextPageToken

func (x *ListAccountServicesResponse) GetNextPageToken() string

func (*ListAccountServicesResponse) ProtoMessage

func (*ListAccountServicesResponse) ProtoMessage()

func (*ListAccountServicesResponse) ProtoReflect

func (*ListAccountServicesResponse) Reset

func (x *ListAccountServicesResponse) Reset()

func (*ListAccountServicesResponse) String

func (x *ListAccountServicesResponse) String() string

ListAccountsRequest

type ListAccountsRequest struct {

	// Optional. The maximum number of accounts to return. The service may return
	// fewer than this value.  If unspecified, at most 250 accounts are returned.
	// The maximum value is 500; values above 500 are coerced to 500.
	PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `accounts.list` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided in the `accounts.list`
	// request must match the call that provided the page token.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. Returns only accounts that match the
	// [filter](https://developers.google.com/merchant/api/guides/accounts/filter).
	// For more details, see the
	// [filter syntax
	// reference](https://developers.google.com/merchant/api/guides/accounts/filter-syntax).
	Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Request message for the accounts.list method.

func (*ListAccountsRequest) Descriptor

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

Deprecated: Use ListAccountsRequest.ProtoReflect.Descriptor instead.

func (*ListAccountsRequest) GetFilter

func (x *ListAccountsRequest) GetFilter() string

func (*ListAccountsRequest) GetPageSize

func (x *ListAccountsRequest) GetPageSize() int32

func (*ListAccountsRequest) GetPageToken

func (x *ListAccountsRequest) GetPageToken() string

func (*ListAccountsRequest) ProtoMessage

func (*ListAccountsRequest) ProtoMessage()

func (*ListAccountsRequest) ProtoReflect

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

func (*ListAccountsRequest) Reset

func (x *ListAccountsRequest) Reset()

func (*ListAccountsRequest) String

func (x *ListAccountsRequest) String() string

ListAccountsResponse

type ListAccountsResponse struct {

	// The accounts matching the `ListAccountsRequest`.
	Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// A token, which can be sent as `page_token` 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 accounts.list method.

func (*ListAccountsResponse) Descriptor

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

Deprecated: Use ListAccountsResponse.ProtoReflect.Descriptor instead.

func (*ListAccountsResponse) GetAccounts

func (x *ListAccountsResponse) GetAccounts() []*Account

func (*ListAccountsResponse) GetNextPageToken

func (x *ListAccountsResponse) GetNextPageToken() string

func (*ListAccountsResponse) ProtoMessage

func (*ListAccountsResponse) ProtoMessage()

func (*ListAccountsResponse) ProtoReflect

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

func (*ListAccountsResponse) Reset

func (x *ListAccountsResponse) Reset()

func (*ListAccountsResponse) String

func (x *ListAccountsResponse) String() string

ListGbpAccountsRequest

type ListGbpAccountsRequest struct {

	// Required. The name of the parent resource under which the GBP accounts are
	// listed. Format: `accounts/{account}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of `GbpAccount` resources to return. The
	// service returns fewer than this value if the number of gbp accounts is less
	// that than the `pageSize`. The default value is 50. The maximum value is
	// 1000; If a value higher than the maximum is specified, then the `pageSize`
	// will default to the maximum.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListGbpAccounts` call.
	// Provide the page token to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListGbpAccounts` 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"`
	// contains filtered or unexported fields
}

Request message for the ListGbpAccounts method.

func (*ListGbpAccountsRequest) Descriptor

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

Deprecated: Use ListGbpAccountsRequest.ProtoReflect.Descriptor instead.

func (*ListGbpAccountsRequest) GetPageSize

func (x *ListGbpAccountsRequest) GetPageSize() int32

func (*ListGbpAccountsRequest) GetPageToken

func (x *ListGbpAccountsRequest) GetPageToken() string

func (*ListGbpAccountsRequest) GetParent

func (x *ListGbpAccountsRequest) GetParent() string

func (*ListGbpAccountsRequest) ProtoMessage

func (*ListGbpAccountsRequest) ProtoMessage()

func (*ListGbpAccountsRequest) ProtoReflect

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

func (*ListGbpAccountsRequest) Reset

func (x *ListGbpAccountsRequest) Reset()

func (*ListGbpAccountsRequest) String

func (x *ListGbpAccountsRequest) String() string

ListGbpAccountsResponse

type ListGbpAccountsResponse struct {

	// The GBP accounts from the specified merchant in the specified country.
	GbpAccounts []*GbpAccount `protobuf:"bytes,1,rep,name=gbp_accounts,json=gbpAccounts,proto3" json:"gbp_accounts,omitempty"`
	// A token, which can be sent as `page_token` 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 ListGbpAccounts method.

func (*ListGbpAccountsResponse) Descriptor

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

Deprecated: Use ListGbpAccountsResponse.ProtoReflect.Descriptor instead.

func (*ListGbpAccountsResponse) GetGbpAccounts

func (x *ListGbpAccountsResponse) GetGbpAccounts() []*GbpAccount

func (*ListGbpAccountsResponse) GetNextPageToken

func (x *ListGbpAccountsResponse) GetNextPageToken() string

func (*ListGbpAccountsResponse) ProtoMessage

func (*ListGbpAccountsResponse) ProtoMessage()

func (*ListGbpAccountsResponse) ProtoReflect

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

func (*ListGbpAccountsResponse) Reset

func (x *ListGbpAccountsResponse) Reset()

func (*ListGbpAccountsResponse) String

func (x *ListGbpAccountsResponse) String() string

ListOmnichannelSettingsRequest

type ListOmnichannelSettingsRequest struct {

	// Required. The parent, which owns this collection of omnichannel settings.
	// Format: `accounts/{account}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of omnichannel settings to return. The service
	// may return fewer than this value. If unspecified, at most 50 omnichannel
	// settings will be returned. The maximum value is 1000; values above 1000
	// will be coerced to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListOmnichannelSettings`
	// call. Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListOmnichannelSettings`
	// 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"`
	// contains filtered or unexported fields
}

Request message for the ListOmnichannelSettings method.

func (*ListOmnichannelSettingsRequest) Descriptor

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

Deprecated: Use ListOmnichannelSettingsRequest.ProtoReflect.Descriptor instead.

func (*ListOmnichannelSettingsRequest) GetPageSize

func (x *ListOmnichannelSettingsRequest) GetPageSize() int32

func (*ListOmnichannelSettingsRequest) GetPageToken

func (x *ListOmnichannelSettingsRequest) GetPageToken() string

func (*ListOmnichannelSettingsRequest) GetParent

func (x *ListOmnichannelSettingsRequest) GetParent() string

func (*ListOmnichannelSettingsRequest) ProtoMessage

func (*ListOmnichannelSettingsRequest) ProtoMessage()

func (*ListOmnichannelSettingsRequest) ProtoReflect

func (*ListOmnichannelSettingsRequest) Reset

func (x *ListOmnichannelSettingsRequest) Reset()

func (*ListOmnichannelSettingsRequest) String

ListOmnichannelSettingsResponse

type ListOmnichannelSettingsResponse struct {

	// The omnichannel settings from the specified merchant.
	OmnichannelSettings []*OmnichannelSetting `protobuf:"bytes,1,rep,name=omnichannel_settings,json=omnichannelSettings,proto3" json:"omnichannel_settings,omitempty"`
	// A token, which can be sent as `page_token` 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 ListOmnichannelSettings method.

func (*ListOmnichannelSettingsResponse) Descriptor

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

Deprecated: Use ListOmnichannelSettingsResponse.ProtoReflect.Descriptor instead.

func (*ListOmnichannelSettingsResponse) GetNextPageToken

func (x *ListOmnichannelSettingsResponse) GetNextPageToken() string

func (*ListOmnichannelSettingsResponse) GetOmnichannelSettings

func (x *ListOmnichannelSettingsResponse) GetOmnichannelSettings() []*OmnichannelSetting

func (*ListOmnichannelSettingsResponse) ProtoMessage

func (*ListOmnichannelSettingsResponse) ProtoMessage()

func (*ListOmnichannelSettingsResponse) ProtoReflect

func (*ListOmnichannelSettingsResponse) Reset

func (*ListOmnichannelSettingsResponse) String

ListOnlineReturnPoliciesRequest

type ListOnlineReturnPoliciesRequest struct {

	// Required. The Merchant Center account for which to list return policies.
	// Format: `accounts/{account}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of `OnlineReturnPolicy` resources to return.
	// The service returns fewer than this value if the number of return policies
	// for the given business is less that than the `pageSize`. The default value
	// is 10. The maximum value is 100; If a value higher than the maximum is
	// specified, then the `pageSize` will default to the maximum
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListOnlineReturnPolicies`
	// call. Provide the page token to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to
	// `ListOnlineReturnPolicies` must match the call that provided the page
	// token. The token returned as
	// [nextPageToken][google.shopping.merchant.accounts.v1.ListOnlineReturnPoliciesResponse.next_page_token]
	// in the response to the previous request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message for the ListOnlineReturnPolicies method.

func (*ListOnlineReturnPoliciesRequest) Descriptor

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

Deprecated: Use ListOnlineReturnPoliciesRequest.ProtoReflect.Descriptor instead.

func (*ListOnlineReturnPoliciesRequest) GetPageSize

func (x *ListOnlineReturnPoliciesRequest) GetPageSize() int32

func (*ListOnlineReturnPoliciesRequest) GetPageToken

func (x *ListOnlineReturnPoliciesRequest) GetPageToken() string

func (*ListOnlineReturnPoliciesRequest) GetParent

func (x *ListOnlineReturnPoliciesRequest) GetParent() string

func (*ListOnlineReturnPoliciesRequest) ProtoMessage

func (*ListOnlineReturnPoliciesRequest) ProtoMessage()

func (*ListOnlineReturnPoliciesRequest) ProtoReflect

func (*ListOnlineReturnPoliciesRequest) Reset

func (*ListOnlineReturnPoliciesRequest) String

ListOnlineReturnPoliciesResponse

type ListOnlineReturnPoliciesResponse struct {

	// The retrieved return policies.
	OnlineReturnPolicies []*OnlineReturnPolicy `protobuf:"bytes,1,rep,name=online_return_policies,json=onlineReturnPolicies,proto3" json:"online_return_policies,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 ListOnlineReturnPolicies method.

func (*ListOnlineReturnPoliciesResponse) Descriptor

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

Deprecated: Use ListOnlineReturnPoliciesResponse.ProtoReflect.Descriptor instead.

func (*ListOnlineReturnPoliciesResponse) GetNextPageToken

func (x *ListOnlineReturnPoliciesResponse) GetNextPageToken() string

func (*ListOnlineReturnPoliciesResponse) GetOnlineReturnPolicies

func (x *ListOnlineReturnPoliciesResponse) GetOnlineReturnPolicies() []*OnlineReturnPolicy

func (*ListOnlineReturnPoliciesResponse) ProtoMessage

func (*ListOnlineReturnPoliciesResponse) ProtoMessage()

func (*ListOnlineReturnPoliciesResponse) ProtoReflect

func (*ListOnlineReturnPoliciesResponse) Reset

func (*ListOnlineReturnPoliciesResponse) String

ListProgramsRequest

type ListProgramsRequest struct {

	// Required. The name of the account for which to retrieve all programs.
	// Format: `accounts/{account}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of programs to return in a single response. If
	// unspecified (or 0), a default size of 1000 is used. The maximum value is
	// 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A continuation token, received from a previous `ListPrograms`
	// call. Provide this to retrieve the next page.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message for the ListPrograms method.

func (*ListProgramsRequest) Descriptor

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

Deprecated: Use ListProgramsRequest.ProtoReflect.Descriptor instead.

func (*ListProgramsRequest) GetPageSize

func (x *ListProgramsRequest) GetPageSize() int32

func (*ListProgramsRequest) GetPageToken

func (x *ListProgramsRequest) GetPageToken() string

func (*ListProgramsRequest) GetParent

func (x *ListProgramsRequest) GetParent() string

func (*ListProgramsRequest) ProtoMessage

func (*ListProgramsRequest) ProtoMessage()

func (*ListProgramsRequest) ProtoReflect

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

func (*ListProgramsRequest) Reset

func (x *ListProgramsRequest) Reset()

func (*ListProgramsRequest) String

func (x *ListProgramsRequest) String() string

ListProgramsResponse

type ListProgramsResponse struct {

	// The programs for the given account.
	Programs []*Program `protobuf:"bytes,1,rep,name=programs,proto3" json:"programs,omitempty"`
	// A token that can be sent as `page_token` 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 ListPrograms method.

func (*ListProgramsResponse) Descriptor

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

Deprecated: Use ListProgramsResponse.ProtoReflect.Descriptor instead.

func (*ListProgramsResponse) GetNextPageToken

func (x *ListProgramsResponse) GetNextPageToken() string

func (*ListProgramsResponse) GetPrograms

func (x *ListProgramsResponse) GetPrograms() []*Program

func (*ListProgramsResponse) ProtoMessage

func (*ListProgramsResponse) ProtoMessage()

func (*ListProgramsResponse) ProtoReflect

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

func (*ListProgramsResponse) Reset

func (x *ListProgramsResponse) Reset()

func (*ListProgramsResponse) String

func (x *ListProgramsResponse) String() string

ListRegionsRequest

type ListRegionsRequest struct {

	// Required. The account to list regions for.
	// Format: `accounts/{account}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of regions to return. The service may return
	// fewer than this value.
	// If unspecified, at most 50 regions will be returned.
	// The maximum value is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListRegions` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListRegions` 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"`
	// contains filtered or unexported fields
}

Request message for the ListRegions method.

func (*ListRegionsRequest) Descriptor

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

Deprecated: Use ListRegionsRequest.ProtoReflect.Descriptor instead.

func (*ListRegionsRequest) GetPageSize

func (x *ListRegionsRequest) GetPageSize() int32

func (*ListRegionsRequest) GetPageToken

func (x *ListRegionsRequest) GetPageToken() string

func (*ListRegionsRequest) GetParent

func (x *ListRegionsRequest) GetParent() string

func (*ListRegionsRequest) ProtoMessage

func (*ListRegionsRequest) ProtoMessage()

func (*ListRegionsRequest) ProtoReflect

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

func (*ListRegionsRequest) Reset

func (x *ListRegionsRequest) Reset()

func (*ListRegionsRequest) String

func (x *ListRegionsRequest) String() string

ListRegionsResponse

type ListRegionsResponse struct {

	// The regions from the specified business.
	Regions []*Region `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"`
	// A token, which can be sent as `page_token` 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 ListRegions method.

func (*ListRegionsResponse) Descriptor

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

Deprecated: Use ListRegionsResponse.ProtoReflect.Descriptor instead.

func (*ListRegionsResponse) GetNextPageToken

func (x *ListRegionsResponse) GetNextPageToken() string

func (*ListRegionsResponse) GetRegions

func (x *ListRegionsResponse) GetRegions() []*Region

func (*ListRegionsResponse) ProtoMessage

func (*ListRegionsResponse) ProtoMessage()

func (*ListRegionsResponse) ProtoReflect

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

func (*ListRegionsResponse) Reset

func (x *ListRegionsResponse) Reset()

func (*ListRegionsResponse) String

func (x *ListRegionsResponse) String() string

ListSubAccountsRequest

type ListSubAccountsRequest struct {

	// Required. The aggregation service provider.
	// Format: `accounts/{accountId}`
	Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	// Optional. The maximum number of accounts to return. The service may return
	// fewer than this value.  If unspecified, at most 250 accounts are returned.
	// The maximum value is 500; values above 500 are coerced to 500.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `accounts.list` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided in the `accounts.list`
	// request 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"`
	// contains filtered or unexported fields
}

Request message for the ListSubAccounts method.

func (*ListSubAccountsRequest) Descriptor

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

Deprecated: Use ListSubAccountsRequest.ProtoReflect.Descriptor instead.

func (*ListSubAccountsRequest) GetPageSize

func (x *ListSubAccountsRequest) GetPageSize() int32

func (*ListSubAccountsRequest) GetPageToken

func (x *ListSubAccountsRequest) GetPageToken() string

func (*ListSubAccountsRequest) GetProvider

func (x *ListSubAccountsRequest) GetProvider() string

func (*ListSubAccountsRequest) ProtoMessage

func (*ListSubAccountsRequest) ProtoMessage()

func (*ListSubAccountsRequest) ProtoReflect

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

func (*ListSubAccountsRequest) Reset

func (x *ListSubAccountsRequest) Reset()

func (*ListSubAccountsRequest) String

func (x *ListSubAccountsRequest) String() string

ListSubAccountsResponse

type ListSubAccountsResponse struct {

	// The accounts for which the given parent account is an aggregator.
	Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// A token, which can be sent as `page_token` 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 ListSubAccounts method.

func (*ListSubAccountsResponse) Descriptor

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

Deprecated: Use ListSubAccountsResponse.ProtoReflect.Descriptor instead.

func (*ListSubAccountsResponse) GetAccounts

func (x *ListSubAccountsResponse) GetAccounts() []*Account

func (*ListSubAccountsResponse) GetNextPageToken

func (x *ListSubAccountsResponse) GetNextPageToken() string

func (*ListSubAccountsResponse) ProtoMessage

func (*ListSubAccountsResponse) ProtoMessage()

func (*ListSubAccountsResponse) ProtoReflect

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

func (*ListSubAccountsResponse) Reset

func (x *ListSubAccountsResponse) Reset()

func (*ListSubAccountsResponse) String

func (x *ListSubAccountsResponse) String() string

ListUsersRequest

type ListUsersRequest struct {

	// Required. The parent, which owns this collection of users.
	// Format: `accounts/{account}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of users to return. The service may return
	// fewer than this value. If unspecified, at most 50 users will be returned.
	// The maximum value is 100; values above 100 will be coerced to 100
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListUsers` call.
	// Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to `ListUsers` 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"`
	// contains filtered or unexported fields
}

Request message for the ListUsers method.

func (*ListUsersRequest) Descriptor

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

Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.

func (*ListUsersRequest) GetPageSize

func (x *ListUsersRequest) GetPageSize() int32

func (*ListUsersRequest) GetPageToken

func (x *ListUsersRequest) GetPageToken() string

func (*ListUsersRequest) GetParent

func (x *ListUsersRequest) GetParent() string

func (*ListUsersRequest) ProtoMessage

func (*ListUsersRequest) ProtoMessage()

func (*ListUsersRequest) ProtoReflect

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

func (*ListUsersRequest) Reset

func (x *ListUsersRequest) Reset()

func (*ListUsersRequest) String

func (x *ListUsersRequest) String() string

ListUsersResponse

type ListUsersResponse struct {

	// The users from the specified account.
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// A token, which can be sent as `page_token` 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 ListUsers method.

func (*ListUsersResponse) Descriptor

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

Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.

func (*ListUsersResponse) GetNextPageToken

func (x *ListUsersResponse) GetNextPageToken() string

func (*ListUsersResponse) GetUsers

func (x *ListUsersResponse) GetUsers() []*User

func (*ListUsersResponse) ProtoMessage

func (*ListUsersResponse) ProtoMessage()

func (*ListUsersResponse) ProtoReflect

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

func (*ListUsersResponse) Reset

func (x *ListUsersResponse) Reset()

func (*ListUsersResponse) String

func (x *ListUsersResponse) String() string

LocalListingManagement

type LocalListingManagement struct {
	// contains filtered or unexported fields
}

LocalListingManagement payload.

func (*LocalListingManagement) Descriptor

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

Deprecated: Use LocalListingManagement.ProtoReflect.Descriptor instead.

func (*LocalListingManagement) ProtoMessage

func (*LocalListingManagement) ProtoMessage()

func (*LocalListingManagement) ProtoReflect

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

func (*LocalListingManagement) Reset

func (x *LocalListingManagement) Reset()

func (*LocalListingManagement) String

func (x *LocalListingManagement) String() string

LocationIdSet

type LocationIdSet struct {

	// Required. A non-empty list of
	// [location
	// IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting).
	// They must all be of the same location type (For
	// example, state).
	LocationIds []string `protobuf:"bytes,1,rep,name=location_ids,json=locationIds,proto3" json:"location_ids,omitempty"`
	// contains filtered or unexported fields
}

A list of location ID sets. Must be non-empty. Can only be set if all other fields are not set.

func (*LocationIdSet) Descriptor

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

Deprecated: Use LocationIdSet.ProtoReflect.Descriptor instead.

func (*LocationIdSet) GetLocationIds

func (x *LocationIdSet) GetLocationIds() []string

func (*LocationIdSet) ProtoMessage

func (*LocationIdSet) ProtoMessage()

func (*LocationIdSet) ProtoReflect

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

func (*LocationIdSet) Reset

func (x *LocationIdSet) Reset()

func (*LocationIdSet) String

func (x *LocationIdSet) String() string

MinimumOrderValueTable

type MinimumOrderValueTable struct {

	// Required. A list of store code sets sharing the same minimum order value
	// (MOV). At least two sets are required and the last one must be empty, which
	// signifies 'MOV for all other stores'. Each store code can only appear once
	// across all the sets. All prices within a service must have the same
	// currency.
	StoreCodeSetWithMovs []*MinimumOrderValueTable_StoreCodeSetWithMov `protobuf:"bytes,1,rep,name=store_code_set_with_movs,json=storeCodeSetWithMovs,proto3" json:"store_code_set_with_movs,omitempty"`
	// contains filtered or unexported fields
}

Table of per store minimum order values for the pickup fulfillment type.

func (*MinimumOrderValueTable) Descriptor

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

Deprecated: Use MinimumOrderValueTable.ProtoReflect.Descriptor instead.

func (*MinimumOrderValueTable) GetStoreCodeSetWithMovs

func (*MinimumOrderValueTable) ProtoMessage

func (*MinimumOrderValueTable) ProtoMessage()

func (*MinimumOrderValueTable) ProtoReflect

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

func (*MinimumOrderValueTable) Reset

func (x *MinimumOrderValueTable) Reset()

func (*MinimumOrderValueTable) String

func (x *MinimumOrderValueTable) String() string

MinimumOrderValueTable_StoreCodeSetWithMov

type MinimumOrderValueTable_StoreCodeSetWithMov struct {

	// Optional. A list of unique store codes or empty for the catch all.
	StoreCodes []string `protobuf:"bytes,1,rep,name=store_codes,json=storeCodes,proto3" json:"store_codes,omitempty"`
	// The minimum order value for the given stores.
	Value *typepb.Price `protobuf:"bytes,2,opt,name=value,proto3,oneof" json:"value,omitempty"`
	// contains filtered or unexported fields
}

A list of store code sets sharing the same minimum order value. At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.

func (*MinimumOrderValueTable_StoreCodeSetWithMov) Descriptor

Deprecated: Use MinimumOrderValueTable_StoreCodeSetWithMov.ProtoReflect.Descriptor instead.

func (*MinimumOrderValueTable_StoreCodeSetWithMov) GetStoreCodes

func (*MinimumOrderValueTable_StoreCodeSetWithMov) GetValue

func (*MinimumOrderValueTable_StoreCodeSetWithMov) ProtoMessage

func (*MinimumOrderValueTable_StoreCodeSetWithMov) ProtoReflect

func (*MinimumOrderValueTable_StoreCodeSetWithMov) Reset

func (*MinimumOrderValueTable_StoreCodeSetWithMov) String

OmnichannelSetting

type OmnichannelSetting struct {

	// Identifier. The resource name of the omnichannel setting. Format:
	// `accounts/{account}/omnichannelSettings/{omnichannel_setting}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Immutable. Region code defined by
	// [CLDR](https://cldr.unicode.org/). Must be provided in the Create method,
	// and is immutable.
	RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
	// Required. The Local Store Front type for this country.
	LsfType OmnichannelSetting_LsfType `protobuf:"varint,12,opt,name=lsf_type,json=lsfType,proto3,enum=google.shopping.merchant.accounts.v1.OmnichannelSetting_LsfType" json:"lsf_type,omitempty"`
	// Optional. The InStock URI and state for this country.
	InStock *InStock `protobuf:"bytes,13,opt,name=in_stock,json=inStock,proto3" json:"in_stock,omitempty"`
	// Optional. The Pickup URI and state for this country.
	Pickup *Pickup `protobuf:"bytes,14,opt,name=pickup,proto3" json:"pickup,omitempty"`
	// Output only. The established link to a LFP provider.
	LfpLink *LfpLink `protobuf:"bytes,5,opt,name=lfp_link,json=lfpLink,proto3" json:"lfp_link,omitempty"`
	// Optional. The On Display to Order (ODO) policy URI and state for this
	// country.
	Odo *OnDisplayToOrder `protobuf:"bytes,6,opt,name=odo,proto3" json:"odo,omitempty"`
	// Optional. The about page URI and state for this country.
	About *About `protobuf:"bytes,7,opt,name=about,proto3" json:"about,omitempty"`
	// Optional. The inventory verification contact and state for this country.
	InventoryVerification *InventoryVerification `protobuf:"bytes,8,opt,name=inventory_verification,json=inventoryVerification,proto3" json:"inventory_verification,omitempty"`
	// contains filtered or unexported fields
}

Collection of information related to the omnichannel settings of a merchant.

func (*OmnichannelSetting) Descriptor

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

Deprecated: Use OmnichannelSetting.ProtoReflect.Descriptor instead.

func (*OmnichannelSetting) GetAbout

func (x *OmnichannelSetting) GetAbout() *About

func (*OmnichannelSetting) GetInStock

func (x *OmnichannelSetting) GetInStock() *InStock

func (*OmnichannelSetting) GetInventoryVerification

func (x *OmnichannelSetting) GetInventoryVerification() *InventoryVerification
func (x *OmnichannelSetting) GetLfpLink() *LfpLink

func (*OmnichannelSetting) GetLsfType

func (*OmnichannelSetting) GetName

func (x *OmnichannelSetting) GetName() string

func (*OmnichannelSetting) GetOdo

func (x *OmnichannelSetting) GetOdo() *OnDisplayToOrder

func (*OmnichannelSetting) GetPickup

func (x *OmnichannelSetting) GetPickup() *Pickup

func (*OmnichannelSetting) GetRegionCode

func (x *OmnichannelSetting) GetRegionCode() string

func (*OmnichannelSetting) ProtoMessage

func (*OmnichannelSetting) ProtoMessage()

func (*OmnichannelSetting) ProtoReflect

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

func (*OmnichannelSetting) Reset

func (x *OmnichannelSetting) Reset()

func (*OmnichannelSetting) String

func (x *OmnichannelSetting) String() string

OmnichannelSetting_LsfType

type OmnichannelSetting_LsfType int32

The product page experience type, which is also called the Local Store Front (LSF) type. Check the HC article for more details.

OmnichannelSetting_LSF_TYPE_UNSPECIFIED, OmnichannelSetting_GHLSF, OmnichannelSetting_MHLSF_BASIC, OmnichannelSetting_MHLSF_FULL

const (
	// Default value. This value is unused.
	OmnichannelSetting_LSF_TYPE_UNSPECIFIED OmnichannelSetting_LsfType = 0
	// Google-Hosted Local Store Front. Check the [HC
	// article](https://support.google.com/merchants/answer/14869424) for more
	// details.
	OmnichannelSetting_GHLSF OmnichannelSetting_LsfType = 1
	// Merchant-Hosted Local Store Front Basic. Check the [HC
	// article](https://support.google.com/merchants/answer/14615867) for more
	// details.
	OmnichannelSetting_MHLSF_BASIC OmnichannelSetting_LsfType = 2
	// Merchant-Hosted Local Store Front Full. Check the [HC
	// article](https://support.google.com/merchants/answer/14617076) for more
	// details.
	OmnichannelSetting_MHLSF_FULL OmnichannelSetting_LsfType = 3
)

func (OmnichannelSetting_LsfType) Descriptor

func (OmnichannelSetting_LsfType) Enum

func (OmnichannelSetting_LsfType) EnumDescriptor

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

Deprecated: Use OmnichannelSetting_LsfType.Descriptor instead.

func (OmnichannelSetting_LsfType) Number

func (OmnichannelSetting_LsfType) String

func (OmnichannelSetting_LsfType) Type

OmnichannelSettingsServiceClient

type OmnichannelSettingsServiceClient interface {
	// Get the omnichannel settings for a given merchant.
	GetOmnichannelSetting(ctx context.Context, in *GetOmnichannelSettingRequest, opts ...grpc.CallOption) (*OmnichannelSetting, error)
	// List all the omnichannel settings for a given merchant.
	ListOmnichannelSettings(ctx context.Context, in *ListOmnichannelSettingsRequest, opts ...grpc.CallOption) (*ListOmnichannelSettingsResponse, error)
	// Create the omnichannel settings for a given merchant.
	CreateOmnichannelSetting(ctx context.Context, in *CreateOmnichannelSettingRequest, opts ...grpc.CallOption) (*OmnichannelSetting, error)
	// Update the omnichannel setting for a given merchant in a given country.
	UpdateOmnichannelSetting(ctx context.Context, in *UpdateOmnichannelSettingRequest, opts ...grpc.CallOption) (*OmnichannelSetting, error)
	// Requests inventory verification for a given merchant in a given country.
	RequestInventoryVerification(ctx context.Context, in *RequestInventoryVerificationRequest, opts ...grpc.CallOption) (*RequestInventoryVerificationResponse, error)
}

OmnichannelSettingsServiceClient is the client API for OmnichannelSettingsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewOmnichannelSettingsServiceClient

func NewOmnichannelSettingsServiceClient(cc grpc.ClientConnInterface) OmnichannelSettingsServiceClient

OmnichannelSettingsServiceServer

type OmnichannelSettingsServiceServer interface {
	// Get the omnichannel settings for a given merchant.
	GetOmnichannelSetting(context.Context, *GetOmnichannelSettingRequest) (*OmnichannelSetting, error)
	// List all the omnichannel settings for a given merchant.
	ListOmnichannelSettings(context.Context, *ListOmnichannelSettingsRequest) (*ListOmnichannelSettingsResponse, error)
	// Create the omnichannel settings for a given merchant.
	CreateOmnichannelSetting(context.Context, *CreateOmnichannelSettingRequest) (*OmnichannelSetting, error)
	// Update the omnichannel setting for a given merchant in a given country.
	UpdateOmnichannelSetting(context.Context, *UpdateOmnichannelSettingRequest) (*OmnichannelSetting, error)
	// Requests inventory verification for a given merchant in a given country.
	RequestInventoryVerification(context.Context, *RequestInventoryVerificationRequest) (*RequestInventoryVerificationResponse, error)
}

OmnichannelSettingsServiceServer is the server API for OmnichannelSettingsService service. All implementations should embed UnimplementedOmnichannelSettingsServiceServer for forward compatibility

OnDisplayToOrder

type OnDisplayToOrder struct {

	// Required. The on display to order (ODO) policy URI.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// Output only. The state of the URI.
	State ReviewState_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.shopping.merchant.accounts.v1.ReviewState_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

Collection of information related to the on display to order (ODO).

func (*OnDisplayToOrder) Descriptor

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

Deprecated: Use OnDisplayToOrder.ProtoReflect.Descriptor instead.

func (*OnDisplayToOrder) GetState

func (x *OnDisplayToOrder) GetState() ReviewState_State

func (*OnDisplayToOrder) GetUri

func (x *OnDisplayToOrder) GetUri() string

func (*OnDisplayToOrder) ProtoMessage

func (*OnDisplayToOrder) ProtoMessage()

func (*OnDisplayToOrder) ProtoReflect

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

func (*OnDisplayToOrder) Reset

func (x *OnDisplayToOrder) Reset()

func (*OnDisplayToOrder) String

func (x *OnDisplayToOrder) String() string

OnlineReturnPolicy

type OnlineReturnPolicy struct {

	// Identifier. The name of the `OnlineReturnPolicy` resource.
	// Format: `accounts/{account}/onlineReturnPolicies/{return_policy}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Return policy ID generated by Google.
	ReturnPolicyId string `protobuf:"bytes,2,opt,name=return_policy_id,json=returnPolicyId,proto3" json:"return_policy_id,omitempty"`
	// Optional. Immutable. This field represents the unique user-defined label of
	// the return policy for the given country. It is important to note that the
	// same label cannot be used in different return policies for the same
	// country. If not given, policies will be automatically treated as the
	// 'default' for the country. When using label, you are creating an exception
	// policy in that country to assign a custom return policy to certain product
	// groups, follow the instructions provided in the [Return policy label]
	// (https://support.google.com/merchants/answer/9445425). The label can
	// contain up to 50 characters.
	Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
	// Required. Immutable. The countries of sale where the return policy applies.
	// The values must be a valid 2 letter ISO 3166 code.
	Countries []string `protobuf:"bytes,4,rep,name=countries,proto3" json:"countries,omitempty"`
	// Optional. The return policy.
	Policy *OnlineReturnPolicy_Policy `protobuf:"bytes,5,opt,name=policy,proto3" json:"policy,omitempty"`
	// Optional. Overrides to the general policy for orders placed during a
	// specific set of time intervals.
	SeasonalOverrides []*OnlineReturnPolicy_SeasonalOverride `protobuf:"bytes,14,rep,name=seasonal_overrides,json=seasonalOverrides,proto3" json:"seasonal_overrides,omitempty"`
	// Optional. The restocking fee that applies to all return reason categories.
	// This would be treated as a free restocking fee if the value is not set.
	RestockingFee *OnlineReturnPolicy_RestockingFee `protobuf:"bytes,6,opt,name=restocking_fee,json=restockingFee,proto3" json:"restocking_fee,omitempty"`
	// Optional. The return methods of how customers can return an item. This
	// value is required to not be empty unless the type of return policy is
	// noReturns.
	ReturnMethods []OnlineReturnPolicy_ReturnMethod `protobuf:"varint,7,rep,packed,name=return_methods,json=returnMethods,proto3,enum=google.shopping.merchant.accounts.v1.OnlineReturnPolicy_ReturnMethod" json:"return_methods,omitempty"`
	// Optional. The item conditions accepted for returns must not be empty unless
	// the type of return policy is 'noReturns'.
	ItemConditions []OnlineReturnPolicy_ItemCondition `protobuf:"varint,8,rep,packed,name=item_conditions,json=itemConditions,proto3,enum=google.shopping.merchant.accounts.v1.OnlineReturnPolicy_ItemCondition" json:"item_conditions,omitempty"`
	// Optional. The return shipping fee. Should be set only when customer need to
	// download and print the return label.
	ReturnShippingFee *OnlineReturnPolicy_ReturnShippingFee `protobuf:"bytes,9,opt,name=return_shipping_fee,json=returnShippingFee,proto3" json:"return_shipping_fee,omitempty"`
	// Required. The return policy uri. This can used by Google to do a sanity
	// check for the policy. It must be a valid URL.
	ReturnPolicyUri string `protobuf:"bytes,10,opt,name=return_policy_uri,json=returnPolicyUri,proto3" json:"return_policy_uri,omitempty"`
	// Optional. This field specifies if business
	// only accepts defective products for returns.
	AcceptDefectiveOnly *bool `protobuf:"varint,11,opt,name=accept_defective_only,json=acceptDefectiveOnly,proto3,oneof" json:"accept_defective_only,omitempty"`
	// Optional. The field specifies the number of
	// days it takes for business to process refunds.
	ProcessRefundDays *int32 `protobuf:"varint,12,opt,name=process_refund_days,json=processRefundDays,proto3,oneof" json:"process_refund_days,omitempty"`
	// Optional. This field specifies if business
	// allows customers to exchange products.
	AcceptExchange *bool `protobuf:"varint,13,opt,name=accept_exchange,json=acceptExchange,proto3,oneof" json:"accept_exchange,omitempty"`
	// Optional. The field specifies the return
	// label source.
	ReturnLabelSource *OnlineReturnPolicy_ReturnLabelSource `protobuf:"varint,15,opt,name=return_label_source,json=returnLabelSource,proto3,enum=google.shopping.merchant.accounts.v1.OnlineReturnPolicy_ReturnLabelSource,oneof" json:"return_label_source,omitempty"`
	// contains filtered or unexported fields
}

Online return policy object. This is currently used to represent return policies for ads and free listings programs.

func (*OnlineReturnPolicy) Descriptor

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

Deprecated: Use OnlineReturnPolicy.ProtoReflect.Descriptor instead.

func (*OnlineReturnPolicy) GetAcceptDefectiveOnly

func (x *OnlineReturnPolicy) GetAcceptDefectiveOnly() bool

func (*OnlineReturnPolicy) GetAcceptExchange

func (x *OnlineReturnPolicy) GetAcceptExchange() bool

func (*OnlineReturnPolicy) GetCountries

func (x *OnlineReturnPolicy) GetCountries() []string

func (*OnlineReturnPolicy) GetItemConditions

func (x *OnlineReturnPolicy) GetItemConditions() []OnlineReturnPolicy_ItemCondition

func (*OnlineReturnPolicy) GetLabel

func (x *OnlineReturnPolicy) GetLabel() string

func (*OnlineReturnPolicy) GetName

func (x *OnlineReturnPolicy) GetName() string

func (*OnlineReturnPolicy) GetPolicy

func (*OnlineReturnPolicy) GetProcessRefundDays

func (x *OnlineReturnPolicy) GetProcessRefundDays() int32

func (*OnlineReturnPolicy) GetRestockingFee

func (*OnlineReturnPolicy) GetReturnLabelSource

func (x *OnlineReturnPolicy) GetReturnLabelSource() OnlineReturnPolicy_ReturnLabelSource

func (*OnlineReturnPolicy) GetReturnMethods

func (x *OnlineReturnPolicy) GetReturnMethods() []OnlineReturnPolicy_ReturnMethod

func (*OnlineReturnPolicy) GetReturnPolicyId

func (x *OnlineReturnPolicy) GetReturnPolicyId() string

func (*OnlineReturnPolicy) GetReturnPolicyUri

func (x *OnlineReturnPolicy) GetReturnPolicyUri() string

func (*OnlineReturnPolicy) GetReturnShippingFee

func (x *OnlineReturnPolicy) GetReturnShippingFee() *OnlineReturnPolicy_ReturnShippingFee

func (*OnlineReturnPolicy) GetSeasonalOverrides

func (x *OnlineReturnPolicy) GetSeasonalOverrides() []*OnlineReturnPolicy_SeasonalOverride

func (*OnlineReturnPolicy) ProtoMessage

func (*OnlineReturnPolicy) ProtoMessage()

func (*OnlineReturnPolicy) ProtoReflect

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

func (*OnlineReturnPolicy) Reset

func (x *OnlineReturnPolicy) Reset()

func (*OnlineReturnPolicy) String

func (x *OnlineReturnPolicy) String() string

OnlineReturnPolicyServiceClient

type OnlineReturnPolicyServiceClient interface {
	// Gets an existing return policy for a given business.
	GetOnlineReturnPolicy(ctx context.Context, in *GetOnlineReturnPolicyRequest, opts ...grpc.CallOption) (*OnlineReturnPolicy, error)
	// Lists all existing return policies for a given business.
	ListOnlineReturnPolicies(ctx context.Context, in *ListOnlineReturnPoliciesRequest, opts ...grpc.CallOption) (*ListOnlineReturnPoliciesResponse, error)
	// Creates a new return policy for a given business.
	CreateOnlineReturnPolicy(ctx context.Context, in *CreateOnlineReturnPolicyRequest, opts ...grpc.CallOption) (*OnlineReturnPolicy, error)
	// Deletes an existing return policy.
	DeleteOnlineReturnPolicy(ctx context.Context, in *DeleteOnlineReturnPolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

OnlineReturnPolicyServiceClient is the client API for OnlineReturnPolicyService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewOnlineReturnPolicyServiceClient

func NewOnlineReturnPolicyServiceClient(cc grpc.ClientConnInterface) OnlineReturnPolicyServiceClient

OnlineReturnPolicyServiceServer

type OnlineReturnPolicyServiceServer interface {
	// Gets an existing return policy for a given business.
	GetOnlineReturnPolicy(context.Context, *GetOnlineReturnPolicyRequest) (*OnlineReturnPolicy, error)
	// Lists all existing return policies for a given business.
	ListOnlineReturnPolicies(context.Context, *ListOnlineReturnPoliciesRequest) (*ListOnlineReturnPoliciesResponse, error)
	// Creates a new return policy for a given business.
	CreateOnlineReturnPolicy(context.Context, *CreateOnlineReturnPolicyRequest) (*OnlineReturnPolicy, error)
	// Deletes an existing return policy.
	DeleteOnlineReturnPolicy(context.Context, *DeleteOnlineReturnPolicyRequest) (*emptypb.Empty, error)
}

OnlineReturnPolicyServiceServer is the server API for OnlineReturnPolicyService service. All implementations should embed UnimplementedOnlineReturnPolicyServiceServer for forward compatibility

OnlineReturnPolicy_ItemCondition

type OnlineReturnPolicy_ItemCondition int32

The available item conditions.

OnlineReturnPolicy_ITEM_CONDITION_UNSPECIFIED, OnlineReturnPolicy_NEW, OnlineReturnPolicy_USED

const (
	// Default value. This value is unused.
	OnlineReturnPolicy_ITEM_CONDITION_UNSPECIFIED OnlineReturnPolicy_ItemCondition = 0
	// New.
	OnlineReturnPolicy_NEW OnlineReturnPolicy_ItemCondition = 1
	// Used.
	OnlineReturnPolicy_USED OnlineReturnPolicy_ItemCondition = 2
)

func (OnlineReturnPolicy_ItemCondition) Descriptor

func (OnlineReturnPolicy_ItemCondition) Enum

func (OnlineReturnPolicy_ItemCondition) EnumDescriptor

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

Deprecated: Use OnlineReturnPolicy_ItemCondition.Descriptor instead.

func (OnlineReturnPolicy_ItemCondition) Number

func (OnlineReturnPolicy_ItemCondition) String

func (OnlineReturnPolicy_ItemCondition) Type

OnlineReturnPolicy_Policy

type OnlineReturnPolicy_Policy struct {

	// Policy type.
	Type OnlineReturnPolicy_Policy_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.shopping.merchant.accounts.v1.OnlineReturnPolicy_Policy_Type" json:"type,omitempty"`
	// The number of days items can be returned after delivery, where one day
	// is defined as 24 hours after the delivery timestamp. Required for
	// `NUMBER_OF_DAYS_AFTER_DELIVERY` returns.
	Days int64 `protobuf:"varint,2,opt,name=days,proto3" json:"days,omitempty"`
	// contains filtered or unexported fields
}

The available policies.

func (*OnlineReturnPolicy_Policy) Descriptor

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

Deprecated: Use OnlineReturnPolicy_Policy.ProtoReflect.Descriptor instead.

func (*OnlineReturnPolicy_Policy) GetDays

func (x *OnlineReturnPolicy_Policy) GetDays() int64

func (*OnlineReturnPolicy_Policy) GetType

func (*OnlineReturnPolicy_Policy) ProtoMessage

func (*OnlineReturnPolicy_Policy) ProtoMessage()

func (*OnlineReturnPolicy_Policy) ProtoReflect

func (*OnlineReturnPolicy_Policy) Reset

func (x *OnlineReturnPolicy_Policy) Reset()

func (*OnlineReturnPolicy_Policy) String

func (x *OnlineReturnPolicy_Policy) String() string

OnlineReturnPolicy_Policy_Type

type OnlineReturnPolicy_Policy_Type int32

Return policy types.

OnlineReturnPolicy_Policy_TYPE_UNSPECIFIED, OnlineReturnPolicy_Policy_NUMBER_OF_DAYS_AFTER_DELIVERY, OnlineReturnPolicy_Policy_NO_RETURNS, OnlineReturnPolicy_Policy_LIFETIME_RETURNS

const (
	// Default value. This value is unused.
	OnlineReturnPolicy_Policy_TYPE_UNSPECIFIED OnlineReturnPolicy_Policy_Type = 0
	// The number of days within which a return is valid after delivery.
	OnlineReturnPolicy_Policy_NUMBER_OF_DAYS_AFTER_DELIVERY OnlineReturnPolicy_Policy_Type = 1
	// No returns.
	OnlineReturnPolicy_Policy_NO_RETURNS OnlineReturnPolicy_Policy_Type = 2
	// Life time returns.
	OnlineReturnPolicy_Policy_LIFETIME_RETURNS OnlineReturnPolicy_Policy_Type = 3
)

func (OnlineReturnPolicy_Policy_Type) Descriptor

func (OnlineReturnPolicy_Policy_Type) Enum

func (OnlineReturnPolicy_Policy_Type) EnumDescriptor

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

Deprecated: Use OnlineReturnPolicy_Policy_Type.Descriptor instead.

func (OnlineReturnPolicy_Policy_Type) Number

func (OnlineReturnPolicy_Policy_Type) String

func (OnlineReturnPolicy_Policy_Type) Type

OnlineReturnPolicy_RestockingFee

type OnlineReturnPolicy_RestockingFee struct {

	// Types that are assignable to Type:
	//
	//	*OnlineReturnPolicy_RestockingFee_FixedFee
	//	*OnlineReturnPolicy_RestockingFee_MicroPercent
	Type isOnlineReturnPolicy_RestockingFee_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

The restocking fee. This can be a flat fee or a micro percent.

func (*OnlineReturnPolicy_RestockingFee) Descriptor

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

Deprecated: Use OnlineReturnPolicy_RestockingFee.ProtoReflect.Descriptor instead.

func (*OnlineReturnPolicy_RestockingFee) GetFixedFee

func (x *OnlineReturnPolicy_RestockingFee) GetFixedFee() *typepb.Price

func (*OnlineReturnPolicy_RestockingFee) GetMicroPercent

func (x *OnlineReturnPolicy_RestockingFee) GetMicroPercent() int32

func (*OnlineReturnPolicy_RestockingFee) GetType

func (m *OnlineReturnPolicy_RestockingFee) GetType() isOnlineReturnPolicy_RestockingFee_Type

func (*OnlineReturnPolicy_RestockingFee) ProtoMessage

func (*OnlineReturnPolicy_RestockingFee) ProtoMessage()

func (*OnlineReturnPolicy_RestockingFee) ProtoReflect

func (*OnlineReturnPolicy_RestockingFee) Reset

func (*OnlineReturnPolicy_RestockingFee) String

OnlineReturnPolicy_RestockingFee_FixedFee

type OnlineReturnPolicy_RestockingFee_FixedFee struct {
	// Fixed restocking fee.
	FixedFee *typepb.Price `protobuf:"bytes,1,opt,name=fixed_fee,json=fixedFee,proto3,oneof"`
}

OnlineReturnPolicy_RestockingFee_MicroPercent

type OnlineReturnPolicy_RestockingFee_MicroPercent struct {
	// Percent of total price in micros. 15,000,000 means 15% of the total
	// price would be charged.
	MicroPercent int32 `protobuf:"varint,2,opt,name=micro_percent,json=microPercent,proto3,oneof"`
}

OnlineReturnPolicy_ReturnLabelSource

type OnlineReturnPolicy_ReturnLabelSource int32

The available return label sources.

OnlineReturnPolicy_RETURN_LABEL_SOURCE_UNSPECIFIED, OnlineReturnPolicy_DOWNLOAD_AND_PRINT, OnlineReturnPolicy_IN_THE_PACKAGE, OnlineReturnPolicy_CUSTOMER_RESPONSIBILITY

const (
	// Default value. This value is unused.
	OnlineReturnPolicy_RETURN_LABEL_SOURCE_UNSPECIFIED OnlineReturnPolicy_ReturnLabelSource = 0
	// Download and print.
	OnlineReturnPolicy_DOWNLOAD_AND_PRINT OnlineReturnPolicy_ReturnLabelSource = 1
	// Label include in the package.
	OnlineReturnPolicy_IN_THE_PACKAGE OnlineReturnPolicy_ReturnLabelSource = 2
	// Customer to provide.
	OnlineReturnPolicy_CUSTOMER_RESPONSIBILITY OnlineReturnPolicy_ReturnLabelSource = 3
)

func (OnlineReturnPolicy_ReturnLabelSource) Descriptor

func (OnlineReturnPolicy_ReturnLabelSource) Enum

func (OnlineReturnPolicy_ReturnLabelSource) EnumDescriptor

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

Deprecated: Use OnlineReturnPolicy_ReturnLabelSource.Descriptor instead.

func (OnlineReturnPolicy_ReturnLabelSource) Number

func (OnlineReturnPolicy_ReturnLabelSource) String

func (OnlineReturnPolicy_ReturnLabelSource) Type

OnlineReturnPolicy_ReturnMethod

type OnlineReturnPolicy_ReturnMethod int32

The available return methods.

OnlineReturnPolicy_RETURN_METHOD_UNSPECIFIED, OnlineReturnPolicy_BY_MAIL, OnlineReturnPolicy_IN_STORE, OnlineReturnPolicy_AT_A_KIOSK

const (
	// Default value. This value is unused.
	OnlineReturnPolicy_RETURN_METHOD_UNSPECIFIED OnlineReturnPolicy_ReturnMethod = 0
	// Return by mail.
	OnlineReturnPolicy_BY_MAIL OnlineReturnPolicy_ReturnMethod = 1
	// Return in store.
	OnlineReturnPolicy_IN_STORE OnlineReturnPolicy_ReturnMethod = 2
	// Return at a kiosk.
	OnlineReturnPolicy_AT_A_KIOSK OnlineReturnPolicy_ReturnMethod = 3
)

func (OnlineReturnPolicy_ReturnMethod) Descriptor

func (OnlineReturnPolicy_ReturnMethod) Enum

func (OnlineReturnPolicy_ReturnMethod) EnumDescriptor

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

Deprecated: Use OnlineReturnPolicy_ReturnMethod.Descriptor instead.

func (OnlineReturnPolicy_ReturnMethod) Number

func (OnlineReturnPolicy_ReturnMethod) String

func (OnlineReturnPolicy_ReturnMethod) Type

OnlineReturnPolicy_ReturnShippingFee

type OnlineReturnPolicy_ReturnShippingFee struct {

	// Required. Type of return shipping fee.
	Type OnlineReturnPolicy_ReturnShippingFee_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.shopping.merchant.accounts.v1.OnlineReturnPolicy_ReturnShippingFee_Type" json:"type,omitempty"`
	// Fixed return shipping fee amount. This value is only applicable when type
	// is `FIXED`. We will treat the return shipping fee as free if type is
	// `FIXED` and this value is not set.
	FixedFee *typepb.Price `protobuf:"bytes,2,opt,name=fixed_fee,json=fixedFee,proto3" json:"fixed_fee,omitempty"`
	// contains filtered or unexported fields
}

The return shipping fee. This can either be a fixed fee or a boolean to indicate that the customer pays the actual shipping cost.

func (*OnlineReturnPolicy_ReturnShippingFee) Descriptor

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

Deprecated: Use OnlineReturnPolicy_ReturnShippingFee.ProtoReflect.Descriptor instead.

func (*OnlineReturnPolicy_ReturnShippingFee) GetFixedFee

func (*OnlineReturnPolicy_ReturnShippingFee) GetType

func (*OnlineReturnPolicy_ReturnShippingFee) ProtoMessage

func (*OnlineReturnPolicy_ReturnShippingFee) ProtoMessage()

func (*OnlineReturnPolicy_ReturnShippingFee) ProtoReflect

func (*OnlineReturnPolicy_ReturnShippingFee) Reset

func (*OnlineReturnPolicy_ReturnShippingFee) String

OnlineReturnPolicy_ReturnShippingFee_Type

type OnlineReturnPolicy_ReturnShippingFee_Type int32

Return shipping fee types.

OnlineReturnPolicy_ReturnShippingFee_TYPE_UNSPECIFIED, OnlineReturnPolicy_ReturnShippingFee_FIXED, OnlineReturnPolicy_ReturnShippingFee_CUSTOMER_PAYING_ACTUAL_FEE

const (
	// Default value. This value is unused.
	OnlineReturnPolicy_ReturnShippingFee_TYPE_UNSPECIFIED OnlineReturnPolicy_ReturnShippingFee_Type = 0
	// The return shipping fee is a fixed value.
	OnlineReturnPolicy_ReturnShippingFee_FIXED OnlineReturnPolicy_ReturnShippingFee_Type = 1
	// Customers will pay the actual return shipping fee.
	OnlineReturnPolicy_ReturnShippingFee_CUSTOMER_PAYING_ACTUAL_FEE OnlineReturnPolicy_ReturnShippingFee_Type = 2
)

func (OnlineReturnPolicy_ReturnShippingFee_Type) Descriptor

func (OnlineReturnPolicy_ReturnShippingFee_Type) Enum

func (OnlineReturnPolicy_ReturnShippingFee_Type) EnumDescriptor

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

Deprecated: Use OnlineReturnPolicy_ReturnShippingFee_Type.Descriptor instead.

func (OnlineReturnPolicy_ReturnShippingFee_Type) Number

func (OnlineReturnPolicy_ReturnShippingFee_Type) String

func (OnlineReturnPolicy_ReturnShippingFee_Type) Type

OnlineReturnPolicy_SeasonalOverride

type OnlineReturnPolicy_SeasonalOverride struct {

	// ReturnWindow: Specifies either a fixed return date or the number of
	// days (from the delivery date) until which a product can be returned.
	// [Merchant Return Days](https://schema.org/merchantReturnDays)
	//
	// Types that are assignable to ReturnWindow:
	//
	//	*OnlineReturnPolicy_SeasonalOverride_ReturnDays
	//	*OnlineReturnPolicy_SeasonalOverride_ReturnUntilDate
	ReturnWindow isOnlineReturnPolicy_SeasonalOverride_ReturnWindow `protobuf_oneof:"return_window"`
	// Required. Display name of this seasonal override in Merchant Center.
	Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	// Required. Defines the date range when this seasonal override applies.
	// Both start_date and end_date are inclusive.
	// The dates of the seasonal overrides should not overlap.
	StartDate *date.Date `protobuf:"bytes,2,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
	// Required. seasonal override end date (inclusive).
	EndDate *date.Date `protobuf:"bytes,3,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
	// contains filtered or unexported fields
}

func (*OnlineReturnPolicy_SeasonalOverride) Descriptor

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

Deprecated: Use OnlineReturnPolicy_SeasonalOverride.ProtoReflect.Descriptor instead.

func (*OnlineReturnPolicy_SeasonalOverride) GetEndDate

func (*OnlineReturnPolicy_SeasonalOverride) GetLabel

func (*OnlineReturnPolicy_SeasonalOverride) GetReturnDays

func (x *OnlineReturnPolicy_SeasonalOverride) GetReturnDays() int32

func (*OnlineReturnPolicy_SeasonalOverride) GetReturnUntilDate

func (x *OnlineReturnPolicy_SeasonalOverride) GetReturnUntilDate() *date.Date

func (*OnlineReturnPolicy_SeasonalOverride) GetReturnWindow

func (m *OnlineReturnPolicy_SeasonalOverride) GetReturnWindow() isOnlineReturnPolicy_SeasonalOverride_ReturnWindow

func (*OnlineReturnPolicy_SeasonalOverride) GetStartDate

func (x *OnlineReturnPolicy_SeasonalOverride) GetStartDate() *date.Date

func (*OnlineReturnPolicy_SeasonalOverride) ProtoMessage

func (*OnlineReturnPolicy_SeasonalOverride) ProtoMessage()

func (*OnlineReturnPolicy_SeasonalOverride) ProtoReflect

func (*OnlineReturnPolicy_SeasonalOverride) Reset

func (*OnlineReturnPolicy_SeasonalOverride) String

OnlineReturnPolicy_SeasonalOverride_ReturnDays

type OnlineReturnPolicy_SeasonalOverride_ReturnDays struct {
	// Number of days (from the delivery date) that the product can be
	// returned.
	ReturnDays int32 `protobuf:"varint,5,opt,name=return_days,json=returnDays,proto3,oneof"`
}

OnlineReturnPolicy_SeasonalOverride_ReturnUntilDate

type OnlineReturnPolicy_SeasonalOverride_ReturnUntilDate struct {
	// Fixed end date until which the product can be returned.
	ReturnUntilDate *date.Date `protobuf:"bytes,6,opt,name=return_until_date,json=returnUntilDate,proto3,oneof"`
}

PhoneVerificationState

type PhoneVerificationState int32

The phone verification state.

PhoneVerificationState_PHONE_VERIFICATION_STATE_UNSPECIFIED, PhoneVerificationState_PHONE_VERIFICATION_STATE_VERIFIED, PhoneVerificationState_PHONE_VERIFICATION_STATE_UNVERIFIED

const (
	// Default value. This value is unused.
	PhoneVerificationState_PHONE_VERIFICATION_STATE_UNSPECIFIED PhoneVerificationState = 0
	// The phone is verified.
	PhoneVerificationState_PHONE_VERIFICATION_STATE_VERIFIED PhoneVerificationState = 1
	// The phone is unverified.
	PhoneVerificationState_PHONE_VERIFICATION_STATE_UNVERIFIED PhoneVerificationState = 2
)

func (PhoneVerificationState) Descriptor

func (PhoneVerificationState) Enum

func (PhoneVerificationState) EnumDescriptor

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

Deprecated: Use PhoneVerificationState.Descriptor instead.

func (PhoneVerificationState) Number

func (PhoneVerificationState) String

func (x PhoneVerificationState) String() string

func (PhoneVerificationState) Type

Pickup

type Pickup struct {

	// Required. Pickup product page URI. It is only used for the review of pickup
	// serving. This URI domain should match with the business's homepage.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// Output only. The state of the pickup serving.
	State ReviewState_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.shopping.merchant.accounts.v1.ReviewState_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

Collection of information related to Pickup.

func (*Pickup) Descriptor

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

Deprecated: Use Pickup.ProtoReflect.Descriptor instead.

func (*Pickup) GetState

func (x *Pickup) GetState() ReviewState_State

func (*Pickup) GetUri

func (x *Pickup) GetUri() string

func (*Pickup) ProtoMessage

func (*Pickup) ProtoMessage()

func (*Pickup) ProtoReflect

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

func (*Pickup) Reset

func (x *Pickup) Reset()

func (*Pickup) String

func (x *Pickup) String() string

ProductsManagement

type ProductsManagement struct {
	// contains filtered or unexported fields
}

ProductsManagement payload.

func (*ProductsManagement) Descriptor

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

Deprecated: Use ProductsManagement.ProtoReflect.Descriptor instead.

func (*ProductsManagement) ProtoMessage

func (*ProductsManagement) ProtoMessage()

func (*ProductsManagement) ProtoReflect

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

func (*ProductsManagement) Reset

func (x *ProductsManagement) Reset()

func (*ProductsManagement) String

func (x *ProductsManagement) String() string

Program

type Program struct {

	// Identifier. The resource name of the program.
	// Format: `accounts/{account}/programs/{program}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The URL of a Merchant Center help page describing the program.
	DocumentationUri string `protobuf:"bytes,2,opt,name=documentation_uri,json=documentationUri,proto3" json:"documentation_uri,omitempty"`
	// Output only. The participation state of the account in the program.
	State Program_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.shopping.merchant.accounts.v1.Program_State" json:"state,omitempty"`
	// Output only. The regions in which the account is actively participating in
	// the program. Active regions are defined as those where all program
	// requirements affecting the regions have been met.
	//
	// Region codes are defined by [CLDR](https://cldr.unicode.org/). This is
	// either a country where the program applies specifically to that country or
	// `001` when the program applies globally.
	ActiveRegionCodes []string `protobuf:"bytes,4,rep,name=active_region_codes,json=activeRegionCodes,proto3" json:"active_region_codes,omitempty"`
	// Output only. The requirements that the account has not yet satisfied that
	// are affecting participation in the program.
	UnmetRequirements []*Program_Requirement `protobuf:"bytes,5,rep,name=unmet_requirements,json=unmetRequirements,proto3" json:"unmet_requirements,omitempty"`
	// contains filtered or unexported fields
}

Defines participation in a given program for the specified account.

Programs provide a mechanism for adding functionality to a Merchant Center accounts. A typical example of this is the Free product listings program, which enables products from a business's store to be shown across Google for free.

The following list is the available set of program resource IDs accessible through the API:

  • free-listings
  • shopping-ads
  • youtube-shopping-checkout

func (*Program) Descriptor

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

Deprecated: Use Program.ProtoReflect.Descriptor instead.

func (*Program) GetActiveRegionCodes

func (x *Program) GetActiveRegionCodes() []string

func (*Program) GetDocumentationUri

func (x *Program) GetDocumentationUri() string

func (*Program) GetName

func (x *Program) GetName() string

func (*Program) GetState

func (x *Program) GetState() Program_State

func (*Program) GetUnmetRequirements

func (x *Program) GetUnmetRequirements() []*Program_Requirement

func (*Program) ProtoMessage

func (*Program) ProtoMessage()

func (*Program) ProtoReflect

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

func (*Program) Reset

func (x *Program) Reset()

func (*Program) String

func (x *Program) String() string

Program_Requirement

type Program_Requirement struct {

	// Output only. Name of the requirement.
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// Output only. The URL of a help page describing the requirement.
	DocumentationUri string `protobuf:"bytes,2,opt,name=documentation_uri,json=documentationUri,proto3" json:"documentation_uri,omitempty"`
	// Output only. The regions that are currently affected by this requirement
	// not being met.
	//
	// Region codes are defined by [CLDR](https://cldr.unicode.org/). This is
	// either a country where the program applies specifically to that country
	// or `001` when the program applies globally.
	AffectedRegionCodes []string `protobuf:"bytes,3,rep,name=affected_region_codes,json=affectedRegionCodes,proto3" json:"affected_region_codes,omitempty"`
	// contains filtered or unexported fields
}

Defines a requirement specified for participation in the program.

func (*Program_Requirement) Descriptor

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

Deprecated: Use Program_Requirement.ProtoReflect.Descriptor instead.

func (*Program_Requirement) GetAffectedRegionCodes

func (x *Program_Requirement) GetAffectedRegionCodes() []string

func (*Program_Requirement) GetDocumentationUri

func (x *Program_Requirement) GetDocumentationUri() string

func (*Program_Requirement) GetTitle

func (x *Program_Requirement) GetTitle() string

func (*Program_Requirement) ProtoMessage

func (*Program_Requirement) ProtoMessage()

func (*Program_Requirement) ProtoReflect

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

func (*Program_Requirement) Reset

func (x *Program_Requirement) Reset()

func (*Program_Requirement) String

func (x *Program_Requirement) String() string

Program_State

type Program_State int32

Possible program participation states for the account.

Program_STATE_UNSPECIFIED, Program_NOT_ELIGIBLE, Program_ELIGIBLE, Program_ENABLED

const (
	// Default value. This value is unused.
	Program_STATE_UNSPECIFIED Program_State = 0
	// The account is not eligible to participate in the program.
	Program_NOT_ELIGIBLE Program_State = 1
	// The account is eligible to participate in the program.
	Program_ELIGIBLE Program_State = 2
	// The program is enabled for the account.
	Program_ENABLED Program_State = 3
)

func (Program_State) Descriptor

func (Program_State) Enum

func (x Program_State) Enum() *Program_State

func (Program_State) EnumDescriptor

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

Deprecated: Use Program_State.Descriptor instead.

func (Program_State) Number

func (Program_State) String

func (x Program_State) String() string

func (Program_State) Type

ProgramsServiceClient

type ProgramsServiceClient interface {
	// Retrieves the specified program for the account.
	GetProgram(ctx context.Context, in *GetProgramRequest, opts ...grpc.CallOption) (*Program, error)
	// Retrieves all programs for the account.
	ListPrograms(ctx context.Context, in *ListProgramsRequest, opts ...grpc.CallOption) (*ListProgramsResponse, error)
	// Enable participation in the specified program for the account.
	EnableProgram(ctx context.Context, in *EnableProgramRequest, opts ...grpc.CallOption) (*Program, error)
	// Disable participation in the specified program for the account.
	DisableProgram(ctx context.Context, in *DisableProgramRequest, opts ...grpc.CallOption) (*Program, error)
}

ProgramsServiceClient is the client API for ProgramsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewProgramsServiceClient

func NewProgramsServiceClient(cc grpc.ClientConnInterface) ProgramsServiceClient

ProgramsServiceServer

type ProgramsServiceServer interface {
	// Retrieves the specified program for the account.
	GetProgram(context.Context, *GetProgramRequest) (*Program, error)
	// Retrieves all programs for the account.
	ListPrograms(context.Context, *ListProgramsRequest) (*ListProgramsResponse, error)
	// Enable participation in the specified program for the account.
	EnableProgram(context.Context, *EnableProgramRequest) (*Program, error)
	// Disable participation in the specified program for the account.
	DisableProgram(context.Context, *DisableProgramRequest) (*Program, error)
}

ProgramsServiceServer is the server API for ProgramsService service. All implementations should embed UnimplementedProgramsServiceServer for forward compatibility

ProposeAccountServiceRequest

type ProposeAccountServiceRequest struct {

	// Required. The resource name of the parent account for the service.
	// Format: `accounts/{account}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The provider of the service. Either the reference to an account
	// such as `providers/123` or a well-known service provider (one of
	// `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`).
	Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
	// Required. The account service to propose.
	AccountService *AccountService `protobuf:"bytes,4,opt,name=account_service,json=accountService,proto3" json:"account_service,omitempty"`
	// contains filtered or unexported fields
}

Request to propose an account service.

func (*ProposeAccountServiceRequest) Descriptor

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

Deprecated: Use ProposeAccountServiceRequest.ProtoReflect.Descriptor instead.

func (*ProposeAccountServiceRequest) GetAccountService

func (x *ProposeAccountServiceRequest) GetAccountService() *AccountService

func (*ProposeAccountServiceRequest) GetParent

func (x *ProposeAccountServiceRequest) GetParent() string

func (*ProposeAccountServiceRequest) GetProvider

func (x *ProposeAccountServiceRequest) GetProvider() string

func (*ProposeAccountServiceRequest) ProtoMessage

func (*ProposeAccountServiceRequest) ProtoMessage()

func (*ProposeAccountServiceRequest) ProtoReflect

func (*ProposeAccountServiceRequest) Reset

func (x *ProposeAccountServiceRequest) Reset()

func (*ProposeAccountServiceRequest) String

RateGroup

type RateGroup struct {

	// Required. A list of [shipping
	// labels](https://support.google.com/merchants/answer/6324504) defining the
	// products to which this rate group applies to. This is a disjunction: only
	// one of the labels has to match for the rate group to apply. May only be
	// empty for the last rate group of a service.
	ApplicableShippingLabels []string `protobuf:"bytes,1,rep,name=applicable_shipping_labels,json=applicableShippingLabels,proto3" json:"applicable_shipping_labels,omitempty"`
	// The value of the rate group (For example flat rate $10). Can only be set
	// if `main_table` and `subtables` are not set.
	SingleValue *Value `protobuf:"bytes,2,opt,name=single_value,json=singleValue,proto3,oneof" json:"single_value,omitempty"`
	// A table defining the rate group, when `single_value` is not
	// expressive enough. Can only be set if `single_value` is not
	// set.
	MainTable *Table `protobuf:"bytes,3,opt,name=main_table,json=mainTable,proto3,oneof" json:"main_table,omitempty"`
	// Optional. A list of subtables referred to by `main_table`. Can only
	// be set if `main_table` is set.
	Subtables []*Table `protobuf:"bytes,4,rep,name=subtables,proto3" json:"subtables,omitempty"`
	// Optional. A list of carrier rates that can be referred to by
	// `main_table` or `single_value`.
	CarrierRates []*CarrierRate `protobuf:"bytes,5,rep,name=carrier_rates,json=carrierRates,proto3" json:"carrier_rates,omitempty"`
	// Optional. Name of the rate group.
	// If set has to be unique within shipping service.
	Name *string `protobuf:"bytes,6,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Shipping rate group definitions. Only the last one is allowed to have an empty applicable_shipping_labels, which means "everything else". The other applicable_shipping_labels must not overlap.

func (*RateGroup) Descriptor

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

Deprecated: Use RateGroup.ProtoReflect.Descriptor instead.

func (*RateGroup) GetApplicableShippingLabels

func (x *RateGroup) GetApplicableShippingLabels() []string

func (*RateGroup) GetCarrierRates

func (x *RateGroup) GetCarrierRates() []*CarrierRate

func (*RateGroup) GetMainTable

func (x *RateGroup) GetMainTable() *Table

func (*RateGroup) GetName

func (x *RateGroup) GetName() string

func (*RateGroup) GetSingleValue

func (x *RateGroup) GetSingleValue() *Value

func (*RateGroup) GetSubtables

func (x *RateGroup) GetSubtables() []*Table

func (*RateGroup) ProtoMessage

func (*RateGroup) ProtoMessage()

func (*RateGroup) ProtoReflect

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

func (*RateGroup) Reset

func (x *RateGroup) Reset()

func (*RateGroup) String

func (x *RateGroup) String() string

Region

type Region struct {

	// Identifier. The resource name of the region.
	// Format: `accounts/{account}/regions/{region}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. The display name of the region.
	DisplayName *string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"`
	// Optional. A list of postal codes that defines the region area.
	PostalCodeArea *Region_PostalCodeArea `protobuf:"bytes,3,opt,name=postal_code_area,json=postalCodeArea,proto3" json:"postal_code_area,omitempty"`
	// Optional. A list of geotargets that defines the region area.
	GeotargetArea *Region_GeoTargetArea `protobuf:"bytes,4,opt,name=geotarget_area,json=geotargetArea,proto3" json:"geotarget_area,omitempty"`
	// Output only. Indicates if the region is eligible for use in the Regional
	// Inventory configuration.
	RegionalInventoryEligible *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=regional_inventory_eligible,json=regionalInventoryEligible,proto3" json:"regional_inventory_eligible,omitempty"`
	// Output only. Indicates if the region is eligible for use in the Shipping
	// Services configuration.
	ShippingEligible *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=shipping_eligible,json=shippingEligible,proto3" json:"shipping_eligible,omitempty"`
	// contains filtered or unexported fields
}

Represents a geographic region that you can use as a target with both the RegionalInventory and ShippingSettings services. You can define regions as collections of either postal codes or, in some countries, using predefined geotargets. For more information, see Set up regions for more information.

func (*Region) Descriptor

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

Deprecated: Use Region.ProtoReflect.Descriptor instead.

func (*Region) GetDisplayName

func (x *Region) GetDisplayName() string

func (*Region) GetGeotargetArea

func (x *Region) GetGeotargetArea() *Region_GeoTargetArea

func (*Region) GetName

func (x *Region) GetName() string

func (*Region) GetPostalCodeArea

func (x *Region) GetPostalCodeArea() *Region_PostalCodeArea

func (*Region) GetRegionalInventoryEligible

func (x *Region) GetRegionalInventoryEligible() *wrapperspb.BoolValue

func (*Region) GetShippingEligible

func (x *Region) GetShippingEligible() *wrapperspb.BoolValue

func (*Region) ProtoMessage

func (*Region) ProtoMessage()

func (*Region) ProtoReflect

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

func (*Region) Reset

func (x *Region) Reset()

func (*Region) String

func (x *Region) String() string

Region_GeoTargetArea

type Region_GeoTargetArea struct {

	// Required. A non-empty list of [location
	// IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting).
	// They must all be of the same location type (for example, state).
	GeotargetCriteriaIds []int64 `protobuf:"varint,1,rep,packed,name=geotarget_criteria_ids,json=geotargetCriteriaIds,proto3" json:"geotarget_criteria_ids,omitempty"`
	// contains filtered or unexported fields
}

A list of geotargets that defines the region area.

func (*Region_GeoTargetArea) Descriptor

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

Deprecated: Use Region_GeoTargetArea.ProtoReflect.Descriptor instead.

func (*Region_GeoTargetArea) GetGeotargetCriteriaIds

func (x *Region_GeoTargetArea) GetGeotargetCriteriaIds() []int64

func (*Region_GeoTargetArea) ProtoMessage

func (*Region_GeoTargetArea) ProtoMessage()

func (*Region_GeoTargetArea) ProtoReflect

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

func (*Region_GeoTargetArea) Reset

func (x *Region_GeoTargetArea) Reset()

func (*Region_GeoTargetArea) String

func (x *Region_GeoTargetArea) String() string

Region_PostalCodeArea

type Region_PostalCodeArea struct {

	// Required. [CLDR territory
	// code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
	// or the country the postal code group applies to.
	RegionCode string `protobuf:"bytes,1,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
	// Required. A range of postal codes.
	PostalCodes []*Region_PostalCodeArea_PostalCodeRange `protobuf:"bytes,2,rep,name=postal_codes,json=postalCodes,proto3" json:"postal_codes,omitempty"`
	// contains filtered or unexported fields
}

A list of postal codes that defines the region area. Note: All regions defined using postal codes are accessible through the account's ShippingSettings.postalCodeGroups resource.

func (*Region_PostalCodeArea) Descriptor

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

Deprecated: Use Region_PostalCodeArea.ProtoReflect.Descriptor instead.

func (*Region_PostalCodeArea) GetPostalCodes

func (*Region_PostalCodeArea) GetRegionCode

func (x *Region_PostalCodeArea) GetRegionCode() string

func (*Region_PostalCodeArea) ProtoMessage

func (*Region_PostalCodeArea) ProtoMessage()

func (*Region_PostalCodeArea) ProtoReflect

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

func (*Region_PostalCodeArea) Reset

func (x *Region_PostalCodeArea) Reset()

func (*Region_PostalCodeArea) String

func (x *Region_PostalCodeArea) String() string

Region_PostalCodeArea_PostalCodeRange

type Region_PostalCodeArea_PostalCodeRange struct {

	// Required. A postal code or a pattern of the form prefix* denoting the
	// inclusive lower bound of the range defining the area. Examples values:
	// `94108`, `9410*`, `9*`.
	Begin string `protobuf:"bytes,1,opt,name=begin,proto3" json:"begin,omitempty"`
	// Optional. A postal code or a pattern of the form `prefix*` denoting the
	// inclusive upper bound of the range defining the area. It must have the
	// same length as postalCodeRangeBegin: if postalCodeRangeBegin is a
	// postal code then postalCodeRangeEnd must be a postal code too; if
	// postalCodeRangeBegin is a pattern then postalCodeRangeEnd must be a
	// pattern with the same prefix length. Optional: if not set, then the
	// area is defined as being all the postal codes matching
	// postalCodeRangeBegin.
	End string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

A range of postal codes that defines the region area.

func (*Region_PostalCodeArea_PostalCodeRange) Descriptor

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

Deprecated: Use Region_PostalCodeArea_PostalCodeRange.ProtoReflect.Descriptor instead.

func (*Region_PostalCodeArea_PostalCodeRange) GetBegin

func (*Region_PostalCodeArea_PostalCodeRange) GetEnd

func (*Region_PostalCodeArea_PostalCodeRange) ProtoMessage

func (*Region_PostalCodeArea_PostalCodeRange) ProtoMessage()

func (*Region_PostalCodeArea_PostalCodeRange) ProtoReflect

func (*Region_PostalCodeArea_PostalCodeRange) Reset

func (*Region_PostalCodeArea_PostalCodeRange) String

RegionsServiceClient

type RegionsServiceClient interface {
	// Retrieves a region defined in your Merchant Center account.
	GetRegion(ctx context.Context, in *GetRegionRequest, opts ...grpc.CallOption) (*Region, error)
	// Creates a region definition in your Merchant Center account. Executing this
	// method requires admin access.
	CreateRegion(ctx context.Context, in *CreateRegionRequest, opts ...grpc.CallOption) (*Region, error)
	// Creates one or more regions in your Merchant Center account.
	// Executing this method requires admin access.
	BatchCreateRegions(ctx context.Context, in *BatchCreateRegionsRequest, opts ...grpc.CallOption) (*BatchCreateRegionsResponse, error)
	// Updates a region definition in your Merchant Center account.
	// Executing this method requires admin access.
	UpdateRegion(ctx context.Context, in *UpdateRegionRequest, opts ...grpc.CallOption) (*Region, error)
	// Updates one or more regions in your Merchant Center account.
	// Executing this method requires admin access.
	BatchUpdateRegions(ctx context.Context, in *BatchUpdateRegionsRequest, opts ...grpc.CallOption) (*BatchUpdateRegionsResponse, error)
	// Deletes a region definition from your Merchant Center account. Executing
	// this method requires admin access.
	DeleteRegion(ctx context.Context, in *DeleteRegionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Deletes multiple regions by name from your Merchant Center account.
	// Executing this method requires admin access.
	BatchDeleteRegions(ctx context.Context, in *BatchDeleteRegionsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Lists the regions in your Merchant Center account.
	ListRegions(ctx context.Context, in *ListRegionsRequest, opts ...grpc.CallOption) (*ListRegionsResponse, error)
}

RegionsServiceClient is the client API for RegionsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewRegionsServiceClient

func NewRegionsServiceClient(cc grpc.ClientConnInterface) RegionsServiceClient

RegionsServiceServer

type RegionsServiceServer interface {
	// Retrieves a region defined in your Merchant Center account.
	GetRegion(context.Context, *GetRegionRequest) (*Region, error)
	// Creates a region definition in your Merchant Center account. Executing this
	// method requires admin access.
	CreateRegion(context.Context, *CreateRegionRequest) (*Region, error)
	// Creates one or more regions in your Merchant Center account.
	// Executing this method requires admin access.
	BatchCreateRegions(context.Context, *BatchCreateRegionsRequest) (*BatchCreateRegionsResponse, error)
	// Updates a region definition in your Merchant Center account.
	// Executing this method requires admin access.
	UpdateRegion(context.Context, *UpdateRegionRequest) (*Region, error)
	// Updates one or more regions in your Merchant Center account.
	// Executing this method requires admin access.
	BatchUpdateRegions(context.Context, *BatchUpdateRegionsRequest) (*BatchUpdateRegionsResponse, error)
	// Deletes a region definition from your Merchant Center account. Executing
	// this method requires admin access.
	DeleteRegion(context.Context, *DeleteRegionRequest) (*emptypb.Empty, error)
	// Deletes multiple regions by name from your Merchant Center account.
	// Executing this method requires admin access.
	BatchDeleteRegions(context.Context, *BatchDeleteRegionsRequest) (*emptypb.Empty, error)
	// Lists the regions in your Merchant Center account.
	ListRegions(context.Context, *ListRegionsRequest) (*ListRegionsResponse, error)
}

RegionsServiceServer is the server API for RegionsService service. All implementations should embed UnimplementedRegionsServiceServer for forward compatibility

RegisterGcpRequest

type RegisterGcpRequest struct {

	// Required. The name of the developer registration to be created for the
	// merchant account that the GCP will be registered with. Format:
	// `accounts/{account}/developerRegistration`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Immutable. If the developer email provided is associated with a user in the
	// merchant account provided, the user will be updated to have "API developer"
	// access type and the email preference corresponding to that user will be
	// updated to have the new "API notifications" preference. If the developer
	// email provided is not associated with any user we will just add it as a
	// contact. The email preference corresponding to that contact will have the
	// new "API notifications" preference
	DeveloperEmail string `protobuf:"bytes,2,opt,name=developer_email,json=developerEmail,proto3" json:"developer_email,omitempty"`
	// contains filtered or unexported fields
}

Request message for the RegisterGCP method.

func (*RegisterGcpRequest) Descriptor

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

Deprecated: Use RegisterGcpRequest.ProtoReflect.Descriptor instead.

func (*RegisterGcpRequest) GetDeveloperEmail

func (x *RegisterGcpRequest) GetDeveloperEmail() string

func (*RegisterGcpRequest) GetName

func (x *RegisterGcpRequest) GetName() string

func (*RegisterGcpRequest) ProtoMessage

func (*RegisterGcpRequest) ProtoMessage()

func (*RegisterGcpRequest) ProtoReflect

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

func (*RegisterGcpRequest) Reset

func (x *RegisterGcpRequest) Reset()

func (*RegisterGcpRequest) String

func (x *RegisterGcpRequest) String() string

RejectAccountServiceRequest

type RejectAccountServiceRequest struct {

	// Required. The resource name of the account service to reject.
	// Format: `accounts/{account}/services/{service}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request to reject an account service.

func (*RejectAccountServiceRequest) Descriptor

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

Deprecated: Use RejectAccountServiceRequest.ProtoReflect.Descriptor instead.

func (*RejectAccountServiceRequest) GetName

func (x *RejectAccountServiceRequest) GetName() string

func (*RejectAccountServiceRequest) ProtoMessage

func (*RejectAccountServiceRequest) ProtoMessage()

func (*RejectAccountServiceRequest) ProtoReflect

func (*RejectAccountServiceRequest) Reset

func (x *RejectAccountServiceRequest) Reset()

func (*RejectAccountServiceRequest) String

func (x *RejectAccountServiceRequest) String() string

RequestInventoryVerificationRequest

type RequestInventoryVerificationRequest struct {

	// Required. The name of the omnichannel setting to request inventory
	// verification. Format:
	// `accounts/{account}/omnichannelSettings/{omnichannel_setting}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the RequestInventoryVerification method.

func (*RequestInventoryVerificationRequest) Descriptor

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

Deprecated: Use RequestInventoryVerificationRequest.ProtoReflect.Descriptor instead.

func (*RequestInventoryVerificationRequest) GetName

func (*RequestInventoryVerificationRequest) ProtoMessage

func (*RequestInventoryVerificationRequest) ProtoMessage()

func (*RequestInventoryVerificationRequest) ProtoReflect

func (*RequestInventoryVerificationRequest) Reset

func (*RequestInventoryVerificationRequest) String

RequestInventoryVerificationResponse

type RequestInventoryVerificationResponse struct {

	// The omnichannel setting that was updated.
	OmnichannelSetting *OmnichannelSetting `protobuf:"bytes,1,opt,name=omnichannel_setting,json=omnichannelSetting,proto3" json:"omnichannel_setting,omitempty"`
	// contains filtered or unexported fields
}

Response message for the RequestInventoryVerification method.

func (*RequestInventoryVerificationResponse) Descriptor

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

Deprecated: Use RequestInventoryVerificationResponse.ProtoReflect.Descriptor instead.

func (*RequestInventoryVerificationResponse) GetOmnichannelSetting

func (x *RequestInventoryVerificationResponse) GetOmnichannelSetting() *OmnichannelSetting

func (*RequestInventoryVerificationResponse) ProtoMessage

func (*RequestInventoryVerificationResponse) ProtoMessage()

func (*RequestInventoryVerificationResponse) ProtoReflect

func (*RequestInventoryVerificationResponse) Reset

func (*RequestInventoryVerificationResponse) String

Required

type Required struct {

	// Required. The `TermsOfService` that need to be accepted.
	TermsOfService string `protobuf:"bytes,1,opt,name=terms_of_service,json=termsOfService,proto3" json:"terms_of_service,omitempty"`
	// Required. Full URL to the terms of service file. This field is the same as
	// `TermsOfService.file_uri`, it is added here for convenience only.
	TosFileUri string `protobuf:"bytes,2,opt,name=tos_file_uri,json=tosFileUri,proto3" json:"tos_file_uri,omitempty"`
	// contains filtered or unexported fields
}

Describes the terms of service which are required to be accepted.

func (*Required) Descriptor

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

Deprecated: Use Required.ProtoReflect.Descriptor instead.

func (*Required) GetTermsOfService

func (x *Required) GetTermsOfService() string

func (*Required) GetTosFileUri

func (x *Required) GetTosFileUri() string

func (*Required) ProtoMessage

func (*Required) ProtoMessage()

func (*Required) ProtoReflect

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

func (*Required) Reset

func (x *Required) Reset()

func (*Required) String

func (x *Required) String() string

RetrieveForApplicationTermsOfServiceAgreementStateRequest

type RetrieveForApplicationTermsOfServiceAgreementStateRequest struct {

	// Required. The account for which to get a TermsOfServiceAgreementState
	// Format: `accounts/{account}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

Request message for the RetrieveForApplicationTermsOfServiceAgreementState method.

func (*RetrieveForApplicationTermsOfServiceAgreementStateRequest) Descriptor

Deprecated: Use RetrieveForApplicationTermsOfServiceAgreementStateRequest.ProtoReflect.Descriptor instead.

func (*RetrieveForApplicationTermsOfServiceAgreementStateRequest) GetParent

func (*RetrieveForApplicationTermsOfServiceAgreementStateRequest) ProtoMessage

func (*RetrieveForApplicationTermsOfServiceAgreementStateRequest) ProtoReflect

func (*RetrieveForApplicationTermsOfServiceAgreementStateRequest) Reset

func (*RetrieveForApplicationTermsOfServiceAgreementStateRequest) String

RetrieveLatestTermsOfServiceRequest

type RetrieveLatestTermsOfServiceRequest struct {

	// Required. Region code as defined by [CLDR](https://cldr.unicode.org/). This
	// is either a country when the ToS applies specifically to that country or
	// 001 when it applies globally.
	RegionCode string `protobuf:"bytes,1,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
	// Required. The Kind this terms of service version applies to.
	Kind TermsOfServiceKind `protobuf:"varint,2,opt,name=kind,proto3,enum=google.shopping.merchant.accounts.v1.TermsOfServiceKind" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

Request message for the RetrieveLatestTermsOfService method.

func (*RetrieveLatestTermsOfServiceRequest) Descriptor

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

Deprecated: Use RetrieveLatestTermsOfServiceRequest.ProtoReflect.Descriptor instead.

func (*RetrieveLatestTermsOfServiceRequest) GetKind

func (*RetrieveLatestTermsOfServiceRequest) GetRegionCode

func (x *RetrieveLatestTermsOfServiceRequest) GetRegionCode() string

func (*RetrieveLatestTermsOfServiceRequest) ProtoMessage

func (*RetrieveLatestTermsOfServiceRequest) ProtoMessage()

func (*RetrieveLatestTermsOfServiceRequest) ProtoReflect

func (*RetrieveLatestTermsOfServiceRequest) Reset

func (*RetrieveLatestTermsOfServiceRequest) String

ReviewState

type ReviewState struct {
	// contains filtered or unexported fields
}

The state of a omnichannel setting related review process.

func (*ReviewState) Descriptor

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

Deprecated: Use ReviewState.ProtoReflect.Descriptor instead.

func (*ReviewState) ProtoMessage

func (*ReviewState) ProtoMessage()

func (*ReviewState) ProtoReflect

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

func (*ReviewState) Reset

func (x *ReviewState) Reset()

func (*ReviewState) String

func (x *ReviewState) String() string

ReviewState_State

type ReviewState_State int32

The state of the review process.

ReviewState_STATE_UNSPECIFIED, ReviewState_ACTIVE, ReviewState_FAILED, ReviewState_RUNNING, ReviewState_ACTION_REQUIRED

const (
	// Default value. This value is unused.
	ReviewState_STATE_UNSPECIFIED ReviewState_State = 0
	// The review process has concluded successfully. The reviewed item is
	// active.
	ReviewState_ACTIVE ReviewState_State = 1
	// The review process failed.
	ReviewState_FAILED ReviewState_State = 2
	// The review process is running.
	ReviewState_RUNNING ReviewState_State = 3
	// The review process is waiting for the merchant to take action.
	ReviewState_ACTION_REQUIRED ReviewState_State = 4
)

func (ReviewState_State) Descriptor

func (ReviewState_State) Enum

func (ReviewState_State) EnumDescriptor

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

Deprecated: Use ReviewState_State.Descriptor instead.

func (ReviewState_State) Number

func (ReviewState_State) String

func (x ReviewState_State) String() string

func (ReviewState_State) Type

Row

type Row struct {

	// Required. The list of cells that constitute the row. Must have the same
	// length as `columnHeaders` for two-dimensional tables, a length of 1 for
	// one-dimensional tables.
	Cells []*Value `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"`
	// contains filtered or unexported fields
}

Include a list of cells.

func (*Row) Descriptor

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

Deprecated: Use Row.ProtoReflect.Descriptor instead.

func (*Row) GetCells

func (x *Row) GetCells() []*Value

func (*Row) ProtoMessage

func (*Row) ProtoMessage()

func (*Row) ProtoReflect

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

func (*Row) Reset

func (x *Row) Reset()

func (*Row) String

func (x *Row) String() string

Service

type Service struct {

	// Required. Free-form name of the service. Must be unique within target
	// account.
	ServiceName *string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3,oneof" json:"service_name,omitempty"`
	// Required. A boolean exposing the active status of the shipping service.
	Active *bool `protobuf:"varint,2,opt,name=active,proto3,oneof" json:"active,omitempty"`
	// Required. The CLDR territory code of the countries to which the service
	// applies.
	DeliveryCountries []string `protobuf:"bytes,3,rep,name=delivery_countries,json=deliveryCountries,proto3" json:"delivery_countries,omitempty"`
	// Required. The CLDR code of the currency to which this service applies. Must
	// match that of the prices in rate groups.
	CurrencyCode *string `protobuf:"bytes,4,opt,name=currency_code,json=currencyCode,proto3,oneof" json:"currency_code,omitempty"`
	// Required. Time spent in various aspects from order to the delivery of the
	// product.
	DeliveryTime *DeliveryTime `protobuf:"bytes,5,opt,name=delivery_time,json=deliveryTime,proto3,oneof" json:"delivery_time,omitempty"`
	// Optional. Shipping rate group definitions. Only the last one is allowed to
	// have an empty `applicable_shipping_labels`, which means "everything else".
	// The other `applicable_shipping_labels` must not overlap.
	RateGroups []*RateGroup `protobuf:"bytes,6,rep,name=rate_groups,json=rateGroups,proto3" json:"rate_groups,omitempty"`
	// Optional. Type of locations this service ships orders to.
	ShipmentType *Service_ShipmentType `protobuf:"varint,7,opt,name=shipment_type,json=shipmentType,proto3,enum=google.shopping.merchant.accounts.v1.Service_ShipmentType,oneof" json:"shipment_type,omitempty"`
	// Optional. Minimum order value for this service. If set, indicates that
	// customers will have to spend at least this amount. All prices within a
	// service must have the same currency. Cannot be set together with
	// `minimum_order_value_table`.
	MinimumOrderValue *typepb.Price `protobuf:"bytes,8,opt,name=minimum_order_value,json=minimumOrderValue,proto3,oneof" json:"minimum_order_value,omitempty"`
	// Optional. Table of per store minimum order values for the pickup
	// fulfillment type. Cannot be set together with `minimum_order_value`.
	MinimumOrderValueTable *MinimumOrderValueTable `protobuf:"bytes,9,opt,name=minimum_order_value_table,json=minimumOrderValueTable,proto3,oneof" json:"minimum_order_value_table,omitempty"`
	// A list of stores your products are delivered from.
	// This is only valid for the local delivery shipment type.
	StoreConfig *Service_StoreConfig `protobuf:"bytes,10,opt,name=store_config,json=storeConfig,proto3,oneof" json:"store_config,omitempty"`
	// Optional. Loyalty programs that this shipping service is limited to.
	LoyaltyPrograms []*Service_LoyaltyProgram `protobuf:"bytes,11,rep,name=loyalty_programs,json=loyaltyPrograms,proto3" json:"loyalty_programs,omitempty"`
	// contains filtered or unexported fields
}

Shipping service.

func (*Service) Descriptor

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

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetActive

func (x *Service) GetActive() bool

func (*Service) GetCurrencyCode

func (x *Service) GetCurrencyCode() string

func (*Service) GetDeliveryCountries

func (x *Service) GetDeliveryCountries() []string

func (*Service) GetDeliveryTime

func (x *Service) GetDeliveryTime() *DeliveryTime

func (*Service) GetLoyaltyPrograms

func (x *Service) GetLoyaltyPrograms() []*Service_LoyaltyProgram

func (*Service) GetMinimumOrderValue

func (x *Service) GetMinimumOrderValue() *typepb.Price

func (*Service) GetMinimumOrderValueTable

func (x *Service) GetMinimumOrderValueTable() *MinimumOrderValueTable

func (*Service) GetRateGroups

func (x *Service) GetRateGroups() []*RateGroup

func (*Service) GetServiceName

func (x *Service) GetServiceName() string

func (*Service) GetShipmentType

func (x *Service) GetShipmentType() Service_ShipmentType

func (*Service) GetStoreConfig

func (x *Service) GetStoreConfig() *Service_StoreConfig

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

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

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

Service_LoyaltyProgram

type Service_LoyaltyProgram struct {

	// This is the loyalty program label set in your loyalty program settings in
	// Merchant Center. This sub-attribute allows Google to map your loyalty
	// program to eligible offers.
	ProgramLabel *string `protobuf:"bytes,1,opt,name=program_label,json=programLabel,proto3,oneof" json:"program_label,omitempty"`
	// Optional. Loyalty program tier of this shipping service.
	LoyaltyProgramTiers []*Service_LoyaltyProgram_LoyaltyProgramTiers `protobuf:"bytes,2,rep,name=loyalty_program_tiers,json=loyaltyProgramTiers,proto3" json:"loyalty_program_tiers,omitempty"`
	// contains filtered or unexported fields
}

Loyalty program provided by a business.

func (*Service_LoyaltyProgram) Descriptor

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

Deprecated: Use Service_LoyaltyProgram.ProtoReflect.Descriptor instead.

func (*Service_LoyaltyProgram) GetLoyaltyProgramTiers

func (*Service_LoyaltyProgram) GetProgramLabel

func (x *Service_LoyaltyProgram) GetProgramLabel() string

func (*Service_LoyaltyProgram) ProtoMessage

func (*Service_LoyaltyProgram) ProtoMessage()

func (*Service_LoyaltyProgram) ProtoReflect

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

func (*Service_LoyaltyProgram) Reset

func (x *Service_LoyaltyProgram) Reset()

func (*Service_LoyaltyProgram) String

func (x *Service_LoyaltyProgram) String() string

Service_LoyaltyProgram_LoyaltyProgramTiers

type Service_LoyaltyProgram_LoyaltyProgramTiers struct {

	// The tier label [tier_label] sub-attribute differentiates offer level
	// benefits between each tier. This value is also set in your program
	// settings in Merchant Center, and is required for data source changes
	// even if your loyalty program only has 1 tier.
	TierLabel *string `protobuf:"bytes,1,opt,name=tier_label,json=tierLabel,proto3,oneof" json:"tier_label,omitempty"`
	// contains filtered or unexported fields
}

Subset of a business's loyalty program.

func (*Service_LoyaltyProgram_LoyaltyProgramTiers) Descriptor

Deprecated: Use Service_LoyaltyProgram_LoyaltyProgramTiers.ProtoReflect.Descriptor instead.

func (*Service_LoyaltyProgram_LoyaltyProgramTiers) GetTierLabel

func (*Service_LoyaltyProgram_LoyaltyProgramTiers) ProtoMessage

func (*Service_LoyaltyProgram_LoyaltyProgramTiers) ProtoReflect

func (*Service_LoyaltyProgram_LoyaltyProgramTiers) Reset

func (*Service_LoyaltyProgram_LoyaltyProgramTiers) String

Service_ShipmentType

type Service_ShipmentType int32

Shipment type of shipping service.

Service_SHIPMENT_TYPE_UNSPECIFIED, Service_DELIVERY, Service_LOCAL_DELIVERY, Service_COLLECTION_POINT

const (
	// This service did not specify shipment type.
	Service_SHIPMENT_TYPE_UNSPECIFIED Service_ShipmentType = 0
	// This service ships orders to an address chosen by the customer.
	Service_DELIVERY Service_ShipmentType = 1
	// This service ships orders to an address chosen by the customer.
	// The order is shipped from a local store near by.
	Service_LOCAL_DELIVERY Service_ShipmentType = 2
	// This service ships orders to an address chosen by the customer.
	// The order is shipped from a collection point.
	Service_COLLECTION_POINT Service_ShipmentType = 3
)

func (Service_ShipmentType) Descriptor

func (Service_ShipmentType) Enum

func (Service_ShipmentType) EnumDescriptor

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

Deprecated: Use Service_ShipmentType.Descriptor instead.

func (Service_ShipmentType) Number

func (Service_ShipmentType) String

func (x Service_ShipmentType) String() string

func (Service_ShipmentType) Type

Service_StoreConfig

type Service_StoreConfig struct {

	// Indicates whether all stores, or selected stores, listed by this
	// business provide local delivery.
	StoreServiceType *Service_StoreConfig_StoreServiceType `protobuf:"varint,1,opt,name=store_service_type,json=storeServiceType,proto3,enum=google.shopping.merchant.accounts.v1.Service_StoreConfig_StoreServiceType,oneof" json:"store_service_type,omitempty"`
	// Optional. A list of store codes that provide local delivery.
	// If empty, then `all_stores` must be true.
	StoreCodes []string `protobuf:"bytes,2,rep,name=store_codes,json=storeCodes,proto3" json:"store_codes,omitempty"`
	// Configs related to local delivery ends for the day.
	CutoffConfig *Service_StoreConfig_CutoffConfig `protobuf:"bytes,3,opt,name=cutoff_config,json=cutoffConfig,proto3,oneof" json:"cutoff_config,omitempty"`
	// Maximum delivery radius.
	// This is only required for the local delivery shipment type.
	ServiceRadius *Distance `protobuf:"bytes,4,opt,name=service_radius,json=serviceRadius,proto3,oneof" json:"service_radius,omitempty"`
	// contains filtered or unexported fields
}

A list of stores your products are delivered from. This is only valid for the local delivery shipment type.

func (*Service_StoreConfig) Descriptor

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

Deprecated: Use Service_StoreConfig.ProtoReflect.Descriptor instead.

func (*Service_StoreConfig) GetCutoffConfig

func (*Service_StoreConfig) GetServiceRadius

func (x *Service_StoreConfig) GetServiceRadius() *Distance

func (*Service_StoreConfig) GetStoreCodes

func (x *Service_StoreConfig) GetStoreCodes() []string

func (*Service_StoreConfig) GetStoreServiceType

func (*Service_StoreConfig) ProtoMessage

func (*Service_StoreConfig) ProtoMessage()

func (*Service_StoreConfig) ProtoReflect

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

func (*Service_StoreConfig) Reset

func (x *Service_StoreConfig) Reset()

func (*Service_StoreConfig) String

func (x *Service_StoreConfig) String() string

Service_StoreConfig_CutoffConfig

type Service_StoreConfig_CutoffConfig struct {

	// Time that local delivery ends for the day.
	LocalCutoffTime *Service_StoreConfig_CutoffConfig_LocalCutoffTime `protobuf:"bytes,1,opt,name=local_cutoff_time,json=localCutoffTime,proto3,oneof" json:"local_cutoff_time,omitempty"`
	// Only valid with local delivery fulfillment. Represents cutoff time
	// as the number of hours before store closing. Mutually exclusive
	// with `local_cutoff_time`.
	StoreCloseOffsetHours *int64 `protobuf:"varint,2,opt,name=store_close_offset_hours,json=storeCloseOffsetHours,proto3,oneof" json:"store_close_offset_hours,omitempty"`
	// Businesses can opt-out of showing n+1 day local delivery when they have
	// a shipping service configured to n day local delivery. For example, if
	// the shipping service defines same-day delivery, and it's past the
	// cut-off, setting this field to `true` results in the calculated
	// shipping service rate returning `NO_DELIVERY_POST_CUTOFF`. In the
	// same example, setting this field to `false` results in the calculated
	// shipping time being one day. This is only for local delivery.
	NoDeliveryPostCutoff *bool `protobuf:"varint,3,opt,name=no_delivery_post_cutoff,json=noDeliveryPostCutoff,proto3,oneof" json:"no_delivery_post_cutoff,omitempty"`
	// contains filtered or unexported fields
}

Configs related to local delivery ends for the day.

func (*Service_StoreConfig_CutoffConfig) Descriptor

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

Deprecated: Use Service_StoreConfig_CutoffConfig.ProtoReflect.Descriptor instead.

func (*Service_StoreConfig_CutoffConfig) GetLocalCutoffTime

func (*Service_StoreConfig_CutoffConfig) GetNoDeliveryPostCutoff

func (x *Service_StoreConfig_CutoffConfig) GetNoDeliveryPostCutoff() bool

func (*Service_StoreConfig_CutoffConfig) GetStoreCloseOffsetHours

func (x *Service_StoreConfig_CutoffConfig) GetStoreCloseOffsetHours() int64

func (*Service_StoreConfig_CutoffConfig) ProtoMessage

func (*Service_StoreConfig_CutoffConfig) ProtoMessage()

func (*Service_StoreConfig_CutoffConfig) ProtoReflect

func (*Service_StoreConfig_CutoffConfig) Reset

func (*Service_StoreConfig_CutoffConfig) String

Service_StoreConfig_CutoffConfig_LocalCutoffTime

type Service_StoreConfig_CutoffConfig_LocalCutoffTime struct {

	// Hour local delivery orders must be placed by to process the same
	// day.
	Hour *int64 `protobuf:"varint,1,opt,name=hour,proto3,oneof" json:"hour,omitempty"`
	// Minute local delivery orders must be placed by to process the same
	// day.
	Minute *int64 `protobuf:"varint,2,opt,name=minute,proto3,oneof" json:"minute,omitempty"`
	// contains filtered or unexported fields
}

Time that local delivery ends for the day.

func (*Service_StoreConfig_CutoffConfig_LocalCutoffTime) Descriptor

Deprecated: Use Service_StoreConfig_CutoffConfig_LocalCutoffTime.ProtoReflect.Descriptor instead.

func (*Service_StoreConfig_CutoffConfig_LocalCutoffTime) GetHour

func (*Service_StoreConfig_CutoffConfig_LocalCutoffTime) GetMinute

func (*Service_StoreConfig_CutoffConfig_LocalCutoffTime) ProtoMessage

func (*Service_StoreConfig_CutoffConfig_LocalCutoffTime) ProtoReflect

func (*Service_StoreConfig_CutoffConfig_LocalCutoffTime) Reset

func (*Service_StoreConfig_CutoffConfig_LocalCutoffTime) String

Service_StoreConfig_StoreServiceType

type Service_StoreConfig_StoreServiceType int32

Indicates whether all stores, or selected stores, listed by the business provide local delivery.

Service_StoreConfig_STORE_SERVICE_TYPE_UNSPECIFIED, Service_StoreConfig_ALL_STORES, Service_StoreConfig_SELECTED_STORES

const (
	// Did not specify store service type.
	Service_StoreConfig_STORE_SERVICE_TYPE_UNSPECIFIED Service_StoreConfig_StoreServiceType = 0
	// Indicates whether all stores, current and future, listed by this
	// business provide local delivery.
	Service_StoreConfig_ALL_STORES Service_StoreConfig_StoreServiceType = 1
	// Indicates that only the stores listed in `store_codes` are eligible
	// for local delivery.
	Service_StoreConfig_SELECTED_STORES Service_StoreConfig_StoreServiceType = 2
)

func (Service_StoreConfig_StoreServiceType) Descriptor

func (Service_StoreConfig_StoreServiceType) Enum

func (Service_StoreConfig_StoreServiceType) EnumDescriptor

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

Deprecated: Use Service_StoreConfig_StoreServiceType.Descriptor instead.

func (Service_StoreConfig_StoreServiceType) Number

func (Service_StoreConfig_StoreServiceType) String

func (Service_StoreConfig_StoreServiceType) Type

ShippingSettings

type ShippingSettings struct {

	// Identifier. The resource name of the shipping settings.
	// Format: `accounts/{account}/shippingSettings`. For example,
	// `accounts/123456/shippingSettings`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. The target account's list of services.
	Services []*Service `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"`
	// Optional. A list of warehouses which can be referred to in `services`.
	Warehouses []*Warehouse `protobuf:"bytes,3,rep,name=warehouses,proto3" json:"warehouses,omitempty"`
	// Required. This field helps avoid async issues. It ensures that the shipping
	// setting
	//
	//	data doesn't change between the `get` call and the `insert` call. The user
	//	should follow these steps:
	//
	// 1. Set the etag field as an empty string for the initial shipping setting
	// creation.
	//
	// 2. After the initial creation, call the `get` method to obtain an etag and
	// the current shipping setting data before calling `insert`.
	//
	// 3. Modify the shipping setting information.
	//
	// 4. Call the `insert` method with the shipping setting information
	// and the etag obtained in step 2.
	//
	// 5. If the shipping setting data changes between step 2 and step 4, the
	// insert request will fail because the etag changes every time the shipping
	// setting data changes. In this case, the user should repeat steps 2-4 with
	// the new etag.
	Etag string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

The Merchant Center account's [shipping

settings](https://support.google.com/merchants/answer/6069284). The
`ShippingSettings` resource lets you retrieve and update the shipping
settings of your advanced account and all its associated sub-accounts.

func (*ShippingSettings) Descriptor

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

Deprecated: Use ShippingSettings.ProtoReflect.Descriptor instead.

func (*ShippingSettings) GetEtag

func (x *ShippingSettings) GetEtag() string

func (*ShippingSettings) GetName

func (x *ShippingSettings) GetName() string

func (*ShippingSettings) GetServices

func (x *ShippingSettings) GetServices() []*Service

func (*ShippingSettings) GetWarehouses

func (x *ShippingSettings) GetWarehouses() []*Warehouse

func (*ShippingSettings) ProtoMessage

func (*ShippingSettings) ProtoMessage()

func (*ShippingSettings) ProtoReflect

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

func (*ShippingSettings) Reset

func (x *ShippingSettings) Reset()

func (*ShippingSettings) String

func (x *ShippingSettings) String() string

ShippingSettingsServiceClient

type ShippingSettingsServiceClient interface {
	// Retrieve shipping setting information.
	GetShippingSettings(ctx context.Context, in *GetShippingSettingsRequest, opts ...grpc.CallOption) (*ShippingSettings, error)
	// Replace the shipping setting of a business with the request shipping
	// setting. Executing this method requires admin access.
	InsertShippingSettings(ctx context.Context, in *InsertShippingSettingsRequest, opts ...grpc.CallOption) (*ShippingSettings, error)
}

ShippingSettingsServiceClient is the client API for ShippingSettingsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewShippingSettingsServiceClient

func NewShippingSettingsServiceClient(cc grpc.ClientConnInterface) ShippingSettingsServiceClient

ShippingSettingsServiceServer

type ShippingSettingsServiceServer interface {
	// Retrieve shipping setting information.
	GetShippingSettings(context.Context, *GetShippingSettingsRequest) (*ShippingSettings, error)
	// Replace the shipping setting of a business with the request shipping
	// setting. Executing this method requires admin access.
	InsertShippingSettings(context.Context, *InsertShippingSettingsRequest) (*ShippingSettings, error)
}

ShippingSettingsServiceServer is the server API for ShippingSettingsService service. All implementations should embed UnimplementedShippingSettingsServiceServer for forward compatibility

Table

type Table struct {

	// Name of the table. Required for subtables, ignored for the main table.
	Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Required. Headers of the table's rows.
	RowHeaders *Headers `protobuf:"bytes,2,opt,name=row_headers,json=rowHeaders,proto3,oneof" json:"row_headers,omitempty"`
	// Headers of the table's columns. Optional: if not set then the table has
	// only one dimension.
	ColumnHeaders *Headers `protobuf:"bytes,3,opt,name=column_headers,json=columnHeaders,proto3,oneof" json:"column_headers,omitempty"`
	// Required. The list of rows that constitute the table. Must have the same
	// length as `row_headers`.
	Rows []*Row `protobuf:"bytes,4,rep,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

A table defining the rate group, when single_value is not expressive enough.

func (*Table) Descriptor

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

Deprecated: Use Table.ProtoReflect.Descriptor instead.

func (*Table) GetColumnHeaders

func (x *Table) GetColumnHeaders() *Headers

func (*Table) GetName

func (x *Table) GetName() string

func (*Table) GetRowHeaders

func (x *Table) GetRowHeaders() *Headers

func (*Table) GetRows

func (x *Table) GetRows() []*Row

func (*Table) ProtoMessage

func (*Table) ProtoMessage()

func (*Table) ProtoReflect

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

func (*Table) Reset

func (x *Table) Reset()

func (*Table) String

func (x *Table) String() string

TermsOfService

type TermsOfService struct {

	// Identifier. The resource name of the terms of service version.
	// Format: `termsOfService/{version}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Region code as defined by [CLDR](https://cldr.unicode.org/). This is either
	// a country where the ToS applies specifically to that country or `001` when
	// the same `TermsOfService` can be signed in any country. However note that
	// when signing a ToS that applies globally we still expect that a specific
	// country is provided  (this should be merchant business country or program
	// country of participation).
	RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
	// The Kind this terms of service version applies to.
	Kind TermsOfServiceKind `protobuf:"varint,3,opt,name=kind,proto3,enum=google.shopping.merchant.accounts.v1.TermsOfServiceKind" json:"kind,omitempty"`
	// URI for terms of service file that needs to be displayed to signing users.
	FileUri *string `protobuf:"bytes,4,opt,name=file_uri,json=fileUri,proto3,oneof" json:"file_uri,omitempty"`
	// Whether this terms of service version is external. External terms of
	// service versions can only be agreed through external processes and not
	// directly by the merchant through UI or API.
	External bool `protobuf:"varint,5,opt,name=external,proto3" json:"external,omitempty"`
	// contains filtered or unexported fields
}

The TermsOfService message represents a specific version of the terms of service that merchants must accept to access certain features or services. For more information, see Terms of Service.

This message is important for the onboarding process, ensuring that merchants agree to the necessary legal agreements for using the service. Merchants can retrieve the latest terms of service for a given kind and region through RetrieveLatestTermsOfService, and accept them as required through AcceptTermsOfService.

func (*TermsOfService) Descriptor

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

Deprecated: Use TermsOfService.ProtoReflect.Descriptor instead.

func (*TermsOfService) GetExternal

func (x *TermsOfService) GetExternal() bool

func (*TermsOfService) GetFileUri

func (x *TermsOfService) GetFileUri() string

func (*TermsOfService) GetKind

func (x *TermsOfService) GetKind() TermsOfServiceKind

func (*TermsOfService) GetName

func (x *TermsOfService) GetName() string

func (*TermsOfService) GetRegionCode

func (x *TermsOfService) GetRegionCode() string

func (*TermsOfService) ProtoMessage

func (*TermsOfService) ProtoMessage()

func (*TermsOfService) ProtoReflect

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

func (*TermsOfService) Reset

func (x *TermsOfService) Reset()

func (*TermsOfService) String

func (x *TermsOfService) String() string

TermsOfServiceAgreementState

type TermsOfServiceAgreementState struct {

	// Identifier. The resource name of the terms of service version.
	// Format: `accounts/{account}/termsOfServiceAgreementState/{identifier}`
	// The identifier format is:
	// `{[TermsOfServiceKind][google.shopping.merchant.accounts.v1.TermsOfServiceKind]}-{country}`
	// For example, an identifier could be: `MERCHANT_CENTER-EU` or
	// `MERCHANT_CENTER-US`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Region code as defined by https://cldr.unicode.org/. This is the
	// country the current state applies to.
	RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
	// Required. Terms of Service kind associated with the particular version.
	TermsOfServiceKind TermsOfServiceKind `protobuf:"varint,3,opt,name=terms_of_service_kind,json=termsOfServiceKind,proto3,enum=google.shopping.merchant.accounts.v1.TermsOfServiceKind" json:"terms_of_service_kind,omitempty"`
	// Optional. The accepted terms of service of this kind and for the associated
	// region_code
	Accepted *Accepted `protobuf:"bytes,4,opt,name=accepted,proto3,oneof" json:"accepted,omitempty"`
	// Optional. The required terms of service
	Required *Required `protobuf:"bytes,5,opt,name=required,proto3,oneof" json:"required,omitempty"`
	// contains filtered or unexported fields
}

This resource represents the agreement state for a given account and terms of service kind. The state is as follows:

  • If the business has accepted a terms of service, [accepted][google.shopping.merchant.accounts.v1.Accepted] will be populated, otherwise it will be empty
  • If the business must sign a terms of service, [required][google.shopping.merchant.accounts.v1.Required] will be populated, otherwise it will be empty.

Note that both required and accepted can be present. In this case the accepted terms of services will have an expiration date set in the [valid_until][google.shopping.merchant.accounts.v1.Accepted.valid_until] field. The required terms of services need to be accepted before valid_until in order for the account to continue having a valid agreement. When accepting new terms of services we expect third-party providers to display the text associated with the given terms of service agreement (the url to the file containing the text is added in the Required message below as [tos_file_uri][google.shopping.merchant.accounts.v1.Required.tos_file_uri]). The actual acceptance of the terms of service is done by calling accept on the [TermsOfService][google.shopping.merchant.accounts.v1.Accepted.terms_of_service] resource. valid_until field.

func (*TermsOfServiceAgreementState) Descriptor

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

Deprecated: Use TermsOfServiceAgreementState.ProtoReflect.Descriptor instead.

func (*TermsOfServiceAgreementState) GetAccepted

func (x *TermsOfServiceAgreementState) GetAccepted() *Accepted

func (*TermsOfServiceAgreementState) GetName

func (x *TermsOfServiceAgreementState) GetName() string

func (*TermsOfServiceAgreementState) GetRegionCode

func (x *TermsOfServiceAgreementState) GetRegionCode() string

func (*TermsOfServiceAgreementState) GetRequired

func (x *TermsOfServiceAgreementState) GetRequired() *Required

func (*TermsOfServiceAgreementState) GetTermsOfServiceKind

func (x *TermsOfServiceAgreementState) GetTermsOfServiceKind() TermsOfServiceKind

func (*TermsOfServiceAgreementState) ProtoMessage

func (*TermsOfServiceAgreementState) ProtoMessage()

func (*TermsOfServiceAgreementState) ProtoReflect

func (*TermsOfServiceAgreementState) Reset

func (x *TermsOfServiceAgreementState) Reset()

func (*TermsOfServiceAgreementState) String

TermsOfServiceAgreementStateServiceClient

type TermsOfServiceAgreementStateServiceClient interface {
	// Returns the state of a terms of service agreement.
	GetTermsOfServiceAgreementState(ctx context.Context, in *GetTermsOfServiceAgreementStateRequest, opts ...grpc.CallOption) (*TermsOfServiceAgreementState, error)
	// Retrieves the state of the agreement for the application terms of service.
	//
	// Application terms of service covers permissions related to the usage of
	// data provided through Merchant Center, CSS Center, Manufacturer Center, and
	// more.
	RetrieveForApplicationTermsOfServiceAgreementState(ctx context.Context, in *RetrieveForApplicationTermsOfServiceAgreementStateRequest, opts ...grpc.CallOption) (*TermsOfServiceAgreementState, error)
}

TermsOfServiceAgreementStateServiceClient is the client API for TermsOfServiceAgreementStateService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewTermsOfServiceAgreementStateServiceClient

func NewTermsOfServiceAgreementStateServiceClient(cc grpc.ClientConnInterface) TermsOfServiceAgreementStateServiceClient

TermsOfServiceAgreementStateServiceServer

type TermsOfServiceAgreementStateServiceServer interface {
	// Returns the state of a terms of service agreement.
	GetTermsOfServiceAgreementState(context.Context, *GetTermsOfServiceAgreementStateRequest) (*TermsOfServiceAgreementState, error)
	// Retrieves the state of the agreement for the application terms of service.
	//
	// Application terms of service covers permissions related to the usage of
	// data provided through Merchant Center, CSS Center, Manufacturer Center, and
	// more.
	RetrieveForApplicationTermsOfServiceAgreementState(context.Context, *RetrieveForApplicationTermsOfServiceAgreementStateRequest) (*TermsOfServiceAgreementState, error)
}

TermsOfServiceAgreementStateServiceServer is the server API for TermsOfServiceAgreementStateService service. All implementations should embed UnimplementedTermsOfServiceAgreementStateServiceServer for forward compatibility

TermsOfServiceKind

type TermsOfServiceKind int32

The TermsOfService Kind.

TermsOfServiceKind_TERMS_OF_SERVICE_KIND_UNSPECIFIED, TermsOfServiceKind_MERCHANT_CENTER

const (
	// Default value. This value is unused.
	TermsOfServiceKind_TERMS_OF_SERVICE_KIND_UNSPECIFIED TermsOfServiceKind = 0
	// Merchant Center application.
	TermsOfServiceKind_MERCHANT_CENTER TermsOfServiceKind = 1
)

func (TermsOfServiceKind) Descriptor

func (TermsOfServiceKind) Enum

func (TermsOfServiceKind) EnumDescriptor

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

Deprecated: Use TermsOfServiceKind.Descriptor instead.

func (TermsOfServiceKind) Number

func (TermsOfServiceKind) String

func (x TermsOfServiceKind) String() string

func (TermsOfServiceKind) Type

TermsOfServiceServiceClient

type TermsOfServiceServiceClient interface {
	// Retrieves the `TermsOfService` associated with the provided version.
	GetTermsOfService(ctx context.Context, in *GetTermsOfServiceRequest, opts ...grpc.CallOption) (*TermsOfService, error)
	// Retrieves the latest version of the `TermsOfService` for a given `kind` and
	// `region_code`.
	RetrieveLatestTermsOfService(ctx context.Context, in *RetrieveLatestTermsOfServiceRequest, opts ...grpc.CallOption) (*TermsOfService, error)
	// Accepts a `TermsOfService`. Executing this method requires admin access.
	AcceptTermsOfService(ctx context.Context, in *AcceptTermsOfServiceRequest, opts ...grpc.CallOption) (*AcceptTermsOfServiceResponse, error)
}

TermsOfServiceServiceClient is the client API for TermsOfServiceService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewTermsOfServiceServiceClient

func NewTermsOfServiceServiceClient(cc grpc.ClientConnInterface) TermsOfServiceServiceClient

TermsOfServiceServiceServer

type TermsOfServiceServiceServer interface {
	// Retrieves the `TermsOfService` associated with the provided version.
	GetTermsOfService(context.Context, *GetTermsOfServiceRequest) (*TermsOfService, error)
	// Retrieves the latest version of the `TermsOfService` for a given `kind` and
	// `region_code`.
	RetrieveLatestTermsOfService(context.Context, *RetrieveLatestTermsOfServiceRequest) (*TermsOfService, error)
	// Accepts a `TermsOfService`. Executing this method requires admin access.
	AcceptTermsOfService(context.Context, *AcceptTermsOfServiceRequest) (*AcceptTermsOfServiceResponse, error)
}

TermsOfServiceServiceServer is the server API for TermsOfServiceService service. All implementations should embed UnimplementedTermsOfServiceServiceServer for forward compatibility

TransitTable

type TransitTable struct {

	// Required. A list of region names
	// [Region.name][google.shopping.merchant.accounts.v1.Region.name] . The last
	// value can be
	// `"all other locations"`. Example:
	// `["zone 1", "zone 2", "all other locations"]`. The referred
	// postal code groups must match the delivery country of the service.
	PostalCodeGroupNames []string `protobuf:"bytes,1,rep,name=postal_code_group_names,json=postalCodeGroupNames,proto3" json:"postal_code_group_names,omitempty"`
	// Required. A list of transit time labels. The last value can be
	// `"all other labels"`. Example:
	// `["food", "electronics", "all other labels"]`.
	TransitTimeLabels []string `protobuf:"bytes,2,rep,name=transit_time_labels,json=transitTimeLabels,proto3" json:"transit_time_labels,omitempty"`
	// Required. If there's only one dimension set of `postal_code_group_names` or
	// `transit_time_labels`, there are multiple rows each with one value
	// for that dimension. If there are two dimensions, each row corresponds to a
	// `postal_code_group_names`, and columns (values) to a
	// `transit_time_labels`.
	Rows []*TransitTable_TransitTimeRow `protobuf:"bytes,3,rep,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

Transit time table, number of business days spent in transit based on row and column dimensions. Either min_transit_days, max_transit_days or transit_time_table can be set, but not both.

func (*TransitTable) Descriptor

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

Deprecated: Use TransitTable.ProtoReflect.Descriptor instead.

func (*TransitTable) GetPostalCodeGroupNames

func (x *TransitTable) GetPostalCodeGroupNames() []string

func (*TransitTable) GetRows

func (x *TransitTable) GetRows() []*TransitTable_TransitTimeRow

func (*TransitTable) GetTransitTimeLabels

func (x *TransitTable) GetTransitTimeLabels() []string

func (*TransitTable) ProtoMessage

func (*TransitTable) ProtoMessage()

func (*TransitTable) ProtoReflect

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

func (*TransitTable) Reset

func (x *TransitTable) Reset()

func (*TransitTable) String

func (x *TransitTable) String() string

TransitTable_TransitTimeRow

type TransitTable_TransitTimeRow struct {

	// Required. Transit time range (min-max) in business days.
	Values []*TransitTable_TransitTimeRow_TransitTimeValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

If there's only one dimension set of postal_code_group_names or transit_time_labels, there are multiple rows each with one value for that dimension. If there are two dimensions, each row corresponds to a postal_code_group_names, and columns (values) to a transit_time_labels.

func (*TransitTable_TransitTimeRow) Descriptor

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

Deprecated: Use TransitTable_TransitTimeRow.ProtoReflect.Descriptor instead.

func (*TransitTable_TransitTimeRow) GetValues

func (*TransitTable_TransitTimeRow) ProtoMessage

func (*TransitTable_TransitTimeRow) ProtoMessage()

func (*TransitTable_TransitTimeRow) ProtoReflect

func (*TransitTable_TransitTimeRow) Reset

func (x *TransitTable_TransitTimeRow) Reset()

func (*TransitTable_TransitTimeRow) String

func (x *TransitTable_TransitTimeRow) String() string

TransitTable_TransitTimeRow_TransitTimeValue

type TransitTable_TransitTimeRow_TransitTimeValue struct {

	// Minimum transit time range in business days. 0 means same
	// day delivery, 1 means next day delivery.
	MinTransitDays *int32 `protobuf:"varint,1,opt,name=min_transit_days,json=minTransitDays,proto3,oneof" json:"min_transit_days,omitempty"`
	// Must be greater than or equal to `min_transit_days`.
	MaxTransitDays *int32 `protobuf:"varint,2,opt,name=max_transit_days,json=maxTransitDays,proto3,oneof" json:"max_transit_days,omitempty"`
	// contains filtered or unexported fields
}

Transit time range (min-max) in business days.

func (*TransitTable_TransitTimeRow_TransitTimeValue) Descriptor

Deprecated: Use TransitTable_TransitTimeRow_TransitTimeValue.ProtoReflect.Descriptor instead.

func (*TransitTable_TransitTimeRow_TransitTimeValue) GetMaxTransitDays

func (x *TransitTable_TransitTimeRow_TransitTimeValue) GetMaxTransitDays() int32

func (*TransitTable_TransitTimeRow_TransitTimeValue) GetMinTransitDays

func (x *TransitTable_TransitTimeRow_TransitTimeValue) GetMinTransitDays() int32

func (*TransitTable_TransitTimeRow_TransitTimeValue) ProtoMessage

func (*TransitTable_TransitTimeRow_TransitTimeValue) ProtoReflect

func (*TransitTable_TransitTimeRow_TransitTimeValue) Reset

func (*TransitTable_TransitTimeRow_TransitTimeValue) String

UnclaimHomepageRequest

type UnclaimHomepageRequest struct {

	// Required. The name of the homepage to unclaim.
	// Format: `accounts/{account}/homepage`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the UnclaimHomepage method.

func (*UnclaimHomepageRequest) Descriptor

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

Deprecated: Use UnclaimHomepageRequest.ProtoReflect.Descriptor instead.

func (*UnclaimHomepageRequest) GetName

func (x *UnclaimHomepageRequest) GetName() string

func (*UnclaimHomepageRequest) ProtoMessage

func (*UnclaimHomepageRequest) ProtoMessage()

func (*UnclaimHomepageRequest) ProtoReflect

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

func (*UnclaimHomepageRequest) Reset

func (x *UnclaimHomepageRequest) Reset()

func (*UnclaimHomepageRequest) String

func (x *UnclaimHomepageRequest) String() string

UnimplementedAccountIssueServiceServer

type UnimplementedAccountIssueServiceServer struct {
}

UnimplementedAccountIssueServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedAccountIssueServiceServer) ListAccountIssues

UnimplementedAccountRelationshipsServiceServer

type UnimplementedAccountRelationshipsServiceServer struct {
}

UnimplementedAccountRelationshipsServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedAccountRelationshipsServiceServer) GetAccountRelationship

func (UnimplementedAccountRelationshipsServiceServer) ListAccountRelationships

func (UnimplementedAccountRelationshipsServiceServer) UpdateAccountRelationship

UnimplementedAccountServicesServiceServer

type UnimplementedAccountServicesServiceServer struct {
}

UnimplementedAccountServicesServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedAccountServicesServiceServer) ApproveAccountService

func (UnimplementedAccountServicesServiceServer) GetAccountService

func (UnimplementedAccountServicesServiceServer) ListAccountServices

func (UnimplementedAccountServicesServiceServer) ProposeAccountService

func (UnimplementedAccountServicesServiceServer) RejectAccountService

UnimplementedAccountsServiceServer

type UnimplementedAccountsServiceServer struct {
}

UnimplementedAccountsServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedAccountsServiceServer) CreateAndConfigureAccount

func (UnimplementedAccountsServiceServer) DeleteAccount

func (UnimplementedAccountsServiceServer) GetAccount

func (UnimplementedAccountsServiceServer) ListAccounts

func (UnimplementedAccountsServiceServer) ListSubAccounts

func (UnimplementedAccountsServiceServer) UpdateAccount

UnimplementedAutofeedSettingsServiceServer

type UnimplementedAutofeedSettingsServiceServer struct {
}

UnimplementedAutofeedSettingsServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedAutofeedSettingsServiceServer) GetAutofeedSettings

func (UnimplementedAutofeedSettingsServiceServer) UpdateAutofeedSettings

UnimplementedAutomaticImprovementsServiceServer

type UnimplementedAutomaticImprovementsServiceServer struct {
}

UnimplementedAutomaticImprovementsServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedAutomaticImprovementsServiceServer) GetAutomaticImprovements

func (UnimplementedAutomaticImprovementsServiceServer) UpdateAutomaticImprovements

UnimplementedBusinessIdentityServiceServer

type UnimplementedBusinessIdentityServiceServer struct {
}

UnimplementedBusinessIdentityServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedBusinessIdentityServiceServer) GetBusinessIdentity

func (UnimplementedBusinessIdentityServiceServer) UpdateBusinessIdentity

UnimplementedBusinessInfoServiceServer

type UnimplementedBusinessInfoServiceServer struct {
}

UnimplementedBusinessInfoServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedBusinessInfoServiceServer) GetBusinessInfo

func (UnimplementedBusinessInfoServiceServer) UpdateBusinessInfo

UnimplementedCheckoutSettingsServiceServer

type UnimplementedCheckoutSettingsServiceServer struct {
}

UnimplementedCheckoutSettingsServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedCheckoutSettingsServiceServer) CreateCheckoutSettings

func (UnimplementedCheckoutSettingsServiceServer) DeleteCheckoutSettings

func (UnimplementedCheckoutSettingsServiceServer) GetCheckoutSettings

func (UnimplementedCheckoutSettingsServiceServer) UpdateCheckoutSettings

UnimplementedDeveloperRegistrationServiceServer

type UnimplementedDeveloperRegistrationServiceServer struct {
}

UnimplementedDeveloperRegistrationServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedDeveloperRegistrationServiceServer) GetDeveloperRegistration

func (UnimplementedDeveloperRegistrationServiceServer) RegisterGcp

func (UnimplementedDeveloperRegistrationServiceServer) UnregisterGcp

UnimplementedEmailPreferencesServiceServer

type UnimplementedEmailPreferencesServiceServer struct {
}

UnimplementedEmailPreferencesServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedEmailPreferencesServiceServer) GetEmailPreferences

func (UnimplementedEmailPreferencesServiceServer) UpdateEmailPreferences

UnimplementedGbpAccountsServiceServer

type UnimplementedGbpAccountsServiceServer struct {
}

UnimplementedGbpAccountsServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedGbpAccountsServiceServer) LinkGbpAccount

func (UnimplementedGbpAccountsServiceServer) ListGbpAccounts

UnimplementedHomepageServiceServer

type UnimplementedHomepageServiceServer struct {
}

UnimplementedHomepageServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedHomepageServiceServer) ClaimHomepage

func (UnimplementedHomepageServiceServer) GetHomepage

func (UnimplementedHomepageServiceServer) UnclaimHomepage

func (UnimplementedHomepageServiceServer) UpdateHomepage

UnimplementedLfpProvidersServiceServer

type UnimplementedLfpProvidersServiceServer struct {
}

UnimplementedLfpProvidersServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedLfpProvidersServiceServer) FindLfpProviders

func (UnimplementedLfpProvidersServiceServer) LinkLfpProvider

UnimplementedOmnichannelSettingsServiceServer

type UnimplementedOmnichannelSettingsServiceServer struct {
}

UnimplementedOmnichannelSettingsServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedOmnichannelSettingsServiceServer) CreateOmnichannelSetting

func (UnimplementedOmnichannelSettingsServiceServer) GetOmnichannelSetting

func (UnimplementedOmnichannelSettingsServiceServer) ListOmnichannelSettings

func (UnimplementedOmnichannelSettingsServiceServer) RequestInventoryVerification

func (UnimplementedOmnichannelSettingsServiceServer) UpdateOmnichannelSetting

UnimplementedOnlineReturnPolicyServiceServer

type UnimplementedOnlineReturnPolicyServiceServer struct {
}

UnimplementedOnlineReturnPolicyServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedOnlineReturnPolicyServiceServer) CreateOnlineReturnPolicy

func (UnimplementedOnlineReturnPolicyServiceServer) DeleteOnlineReturnPolicy

func (UnimplementedOnlineReturnPolicyServiceServer) GetOnlineReturnPolicy

func (UnimplementedOnlineReturnPolicyServiceServer) ListOnlineReturnPolicies

UnimplementedProgramsServiceServer

type UnimplementedProgramsServiceServer struct {
}

UnimplementedProgramsServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedProgramsServiceServer) DisableProgram

func (UnimplementedProgramsServiceServer) EnableProgram

func (UnimplementedProgramsServiceServer) GetProgram

func (UnimplementedProgramsServiceServer) ListPrograms

UnimplementedRegionsServiceServer

type UnimplementedRegionsServiceServer struct {
}

UnimplementedRegionsServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedRegionsServiceServer) BatchCreateRegions

func (UnimplementedRegionsServiceServer) BatchDeleteRegions

func (UnimplementedRegionsServiceServer) BatchUpdateRegions

func (UnimplementedRegionsServiceServer) CreateRegion

func (UnimplementedRegionsServiceServer) DeleteRegion

func (UnimplementedRegionsServiceServer) GetRegion

func (UnimplementedRegionsServiceServer) ListRegions

func (UnimplementedRegionsServiceServer) UpdateRegion

UnimplementedShippingSettingsServiceServer

type UnimplementedShippingSettingsServiceServer struct {
}

UnimplementedShippingSettingsServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedShippingSettingsServiceServer) GetShippingSettings

func (UnimplementedShippingSettingsServiceServer) InsertShippingSettings

UnimplementedTermsOfServiceAgreementStateServiceServer

type UnimplementedTermsOfServiceAgreementStateServiceServer struct {
}

UnimplementedTermsOfServiceAgreementStateServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedTermsOfServiceAgreementStateServiceServer) GetTermsOfServiceAgreementState

func (UnimplementedTermsOfServiceAgreementStateServiceServer) RetrieveForApplicationTermsOfServiceAgreementState

UnimplementedTermsOfServiceServiceServer

type UnimplementedTermsOfServiceServiceServer struct {
}

UnimplementedTermsOfServiceServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedTermsOfServiceServiceServer) AcceptTermsOfService

func (UnimplementedTermsOfServiceServiceServer) GetTermsOfService

func (UnimplementedTermsOfServiceServiceServer) RetrieveLatestTermsOfService

UnimplementedUserServiceServer

type UnimplementedUserServiceServer struct {
}

UnimplementedUserServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedUserServiceServer) CreateUser

func (UnimplementedUserServiceServer) DeleteUser

func (UnimplementedUserServiceServer) GetUser

func (UnimplementedUserServiceServer) ListUsers

func (UnimplementedUserServiceServer) UpdateUser

UnregisterGcpRequest

type UnregisterGcpRequest struct {

	// Required. The name of the developer registration to be created for the
	// merchant account that the GCP will be registered with. Format:
	// `accounts/{account}/developerRegistration`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the UnregisterGCP method.

func (*UnregisterGcpRequest) Descriptor

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

Deprecated: Use UnregisterGcpRequest.ProtoReflect.Descriptor instead.

func (*UnregisterGcpRequest) GetName

func (x *UnregisterGcpRequest) GetName() string

func (*UnregisterGcpRequest) ProtoMessage

func (*UnregisterGcpRequest) ProtoMessage()

func (*UnregisterGcpRequest) ProtoReflect

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

func (*UnregisterGcpRequest) Reset

func (x *UnregisterGcpRequest) Reset()

func (*UnregisterGcpRequest) String

func (x *UnregisterGcpRequest) String() string

UnsafeAccountIssueServiceServer

type UnsafeAccountIssueServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAccountIssueServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccountIssueServiceServer will result in compilation errors.

UnsafeAccountRelationshipsServiceServer

type UnsafeAccountRelationshipsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAccountRelationshipsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccountRelationshipsServiceServer will result in compilation errors.

UnsafeAccountServicesServiceServer

type UnsafeAccountServicesServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAccountServicesServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccountServicesServiceServer will result in compilation errors.

UnsafeAccountsServiceServer

type UnsafeAccountsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAccountsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccountsServiceServer will result in compilation errors.

UnsafeAutofeedSettingsServiceServer

type UnsafeAutofeedSettingsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAutofeedSettingsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AutofeedSettingsServiceServer will result in compilation errors.

UnsafeAutomaticImprovementsServiceServer

type UnsafeAutomaticImprovementsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAutomaticImprovementsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AutomaticImprovementsServiceServer will result in compilation errors.

UnsafeBusinessIdentityServiceServer

type UnsafeBusinessIdentityServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeBusinessIdentityServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BusinessIdentityServiceServer will result in compilation errors.

UnsafeBusinessInfoServiceServer

type UnsafeBusinessInfoServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeBusinessInfoServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BusinessInfoServiceServer will result in compilation errors.

UnsafeCheckoutSettingsServiceServer

type UnsafeCheckoutSettingsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeCheckoutSettingsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CheckoutSettingsServiceServer will result in compilation errors.

UnsafeDeveloperRegistrationServiceServer

type UnsafeDeveloperRegistrationServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeDeveloperRegistrationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeveloperRegistrationServiceServer will result in compilation errors.

UnsafeEmailPreferencesServiceServer

type UnsafeEmailPreferencesServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeEmailPreferencesServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EmailPreferencesServiceServer will result in compilation errors.

UnsafeGbpAccountsServiceServer

type UnsafeGbpAccountsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeGbpAccountsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GbpAccountsServiceServer will result in compilation errors.

UnsafeHomepageServiceServer

type UnsafeHomepageServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeHomepageServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HomepageServiceServer will result in compilation errors.

UnsafeLfpProvidersServiceServer

type UnsafeLfpProvidersServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeLfpProvidersServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LfpProvidersServiceServer will result in compilation errors.

UnsafeOmnichannelSettingsServiceServer

type UnsafeOmnichannelSettingsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeOmnichannelSettingsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OmnichannelSettingsServiceServer will result in compilation errors.

UnsafeOnlineReturnPolicyServiceServer

type UnsafeOnlineReturnPolicyServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeOnlineReturnPolicyServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OnlineReturnPolicyServiceServer will result in compilation errors.

UnsafeProgramsServiceServer

type UnsafeProgramsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeProgramsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProgramsServiceServer will result in compilation errors.

UnsafeRegionsServiceServer

type UnsafeRegionsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeRegionsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RegionsServiceServer will result in compilation errors.

UnsafeShippingSettingsServiceServer

type UnsafeShippingSettingsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeShippingSettingsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ShippingSettingsServiceServer will result in compilation errors.

UnsafeTermsOfServiceAgreementStateServiceServer

type UnsafeTermsOfServiceAgreementStateServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeTermsOfServiceAgreementStateServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TermsOfServiceAgreementStateServiceServer will result in compilation errors.

UnsafeTermsOfServiceServiceServer

type UnsafeTermsOfServiceServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeTermsOfServiceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TermsOfServiceServiceServer will result in compilation errors.

UnsafeUserServiceServer

type UnsafeUserServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.

UpdateAccountRelationshipRequest

type UpdateAccountRelationshipRequest struct {

	// Required. The new version of the account relationship.
	AccountRelationship *AccountRelationship `protobuf:"bytes,1,opt,name=account_relationship,json=accountRelationship,proto3" json:"account_relationship,omitempty"`
	// Optional. List of fields being updated.
	//
	// The following fields are supported (in both `snake_case` and
	// `lowerCamelCase`):
	//
	// - `account_id_alias`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for the UpdateAccountRelationship method.

func (*UpdateAccountRelationshipRequest) Descriptor

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

Deprecated: Use UpdateAccountRelationshipRequest.ProtoReflect.Descriptor instead.

func (*UpdateAccountRelationshipRequest) GetAccountRelationship

func (x *UpdateAccountRelationshipRequest) GetAccountRelationship() *AccountRelationship

func (*UpdateAccountRelationshipRequest) GetUpdateMask

func (*UpdateAccountRelationshipRequest) ProtoMessage

func (*UpdateAccountRelationshipRequest) ProtoMessage()

func (*UpdateAccountRelationshipRequest) ProtoReflect

func (*UpdateAccountRelationshipRequest) Reset

func (*UpdateAccountRelationshipRequest) String

UpdateAccountRequest

type UpdateAccountRequest struct {

	// Required. The new version of the account.
	Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// Optional. List of fields being updated.
	//
	// The following fields are supported (in both `snake_case` and
	// `lowerCamelCase`):
	//
	// - `account_name`
	// - `adult_content`
	// - `language_code`
	// - `time_zone`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for the UpdateAccount method.

func (*UpdateAccountRequest) Descriptor

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

Deprecated: Use UpdateAccountRequest.ProtoReflect.Descriptor instead.

func (*UpdateAccountRequest) GetAccount

func (x *UpdateAccountRequest) GetAccount() *Account

func (*UpdateAccountRequest) GetUpdateMask

func (x *UpdateAccountRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateAccountRequest) ProtoMessage

func (*UpdateAccountRequest) ProtoMessage()

func (*UpdateAccountRequest) ProtoReflect

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

func (*UpdateAccountRequest) Reset

func (x *UpdateAccountRequest) Reset()

func (*UpdateAccountRequest) String

func (x *UpdateAccountRequest) String() string

UpdateAutofeedSettingsRequest

type UpdateAutofeedSettingsRequest struct {

	// Required. The new version of the autofeed setting.
	AutofeedSettings *AutofeedSettings `protobuf:"bytes,1,opt,name=autofeed_settings,json=autofeedSettings,proto3" json:"autofeed_settings,omitempty"`
	// Required. List of fields being updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for the UpdateAutofeedSettings method.

func (*UpdateAutofeedSettingsRequest) Descriptor

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

Deprecated: Use UpdateAutofeedSettingsRequest.ProtoReflect.Descriptor instead.

func (*UpdateAutofeedSettingsRequest) GetAutofeedSettings

func (x *UpdateAutofeedSettingsRequest) GetAutofeedSettings() *AutofeedSettings

func (*UpdateAutofeedSettingsRequest) GetUpdateMask

func (*UpdateAutofeedSettingsRequest) ProtoMessage

func (*UpdateAutofeedSettingsRequest) ProtoMessage()

func (*UpdateAutofeedSettingsRequest) ProtoReflect

func (*UpdateAutofeedSettingsRequest) Reset

func (x *UpdateAutofeedSettingsRequest) Reset()

func (*UpdateAutofeedSettingsRequest) String

UpdateAutomaticImprovementsRequest

type UpdateAutomaticImprovementsRequest struct {

	// Required. The new version of the automatic imrovements.
	AutomaticImprovements *AutomaticImprovements `protobuf:"bytes,1,opt,name=automatic_improvements,json=automaticImprovements,proto3" json:"automatic_improvements,omitempty"`
	// Required. List of fields being updated.
	// The following fields are supported (in both `snake_case` and
	// `lowerCamelCase`):
	//
	// - `item_updates`
	// - `item_updates.account_level_settings`
	// - `image_improvements`
	// - `image_improvements.account_level_settings`
	// - `shipping_improvements`
	// - `shipping_improvements.allow_shipping_improvements`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for the UpdateAutomaticImprovements method.

func (*UpdateAutomaticImprovementsRequest) Descriptor

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

Deprecated: Use UpdateAutomaticImprovementsRequest.ProtoReflect.Descriptor instead.

func (*UpdateAutomaticImprovementsRequest) GetAutomaticImprovements

func (x *UpdateAutomaticImprovementsRequest) GetAutomaticImprovements() *AutomaticImprovements

func (*UpdateAutomaticImprovementsRequest) GetUpdateMask

func (*UpdateAutomaticImprovementsRequest) ProtoMessage

func (*UpdateAutomaticImprovementsRequest) ProtoMessage()

func (*UpdateAutomaticImprovementsRequest) ProtoReflect

func (*UpdateAutomaticImprovementsRequest) Reset

func (*UpdateAutomaticImprovementsRequest) String

UpdateBusinessIdentityRequest

type UpdateBusinessIdentityRequest struct {

	// Required. The new version of the business identity.
	BusinessIdentity *BusinessIdentity `protobuf:"bytes,1,opt,name=business_identity,json=businessIdentity,proto3" json:"business_identity,omitempty"`
	// Optional. List of fields being updated.
	//
	// The following fields are supported (in both `snake_case` and
	// `lowerCamelCase`):
	//
	// - `black_owned`
	// - `latino_owned`
	// - `promotions_consent`
	// - `small_business`
	// - `veteran_owned`
	// - `women_owned`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for the UpdateBusinessIdentity method.

func (*UpdateBusinessIdentityRequest) Descriptor

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

Deprecated: Use UpdateBusinessIdentityRequest.ProtoReflect.Descriptor instead.

func (*UpdateBusinessIdentityRequest) GetBusinessIdentity

func (x *UpdateBusinessIdentityRequest) GetBusinessIdentity() *BusinessIdentity

func (*UpdateBusinessIdentityRequest) GetUpdateMask

func (*UpdateBusinessIdentityRequest) ProtoMessage

func (*UpdateBusinessIdentityRequest) ProtoMessage()

func (*UpdateBusinessIdentityRequest) ProtoReflect

func (*UpdateBusinessIdentityRequest) Reset

func (x *UpdateBusinessIdentityRequest) Reset()

func (*UpdateBusinessIdentityRequest) String

UpdateBusinessInfoRequest

type UpdateBusinessInfoRequest struct {

	// Required. The new version of the business info.
	BusinessInfo *BusinessInfo `protobuf:"bytes,1,opt,name=business_info,json=businessInfo,proto3" json:"business_info,omitempty"`
	// Optional. List of fields being updated.
	//
	// The following fields are supported (in both `snake_case` and
	// `lowerCamelCase`):
	//
	// - `address`
	// - `customer_service`
	// - `korean_business_registration_number`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for the UpdateBusinessInfo method.

func (*UpdateBusinessInfoRequest) Descriptor

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

Deprecated: Use UpdateBusinessInfoRequest.ProtoReflect.Descriptor instead.

func (*UpdateBusinessInfoRequest) GetBusinessInfo

func (x *UpdateBusinessInfoRequest) GetBusinessInfo() *BusinessInfo

func (*UpdateBusinessInfoRequest) GetUpdateMask

func (x *UpdateBusinessInfoRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateBusinessInfoRequest) ProtoMessage

func (*UpdateBusinessInfoRequest) ProtoMessage()

func (*UpdateBusinessInfoRequest) ProtoReflect

func (*UpdateBusinessInfoRequest) Reset

func (x *UpdateBusinessInfoRequest) Reset()

func (*UpdateBusinessInfoRequest) String

func (x *UpdateBusinessInfoRequest) String() string

UpdateCheckoutSettingsRequest

type UpdateCheckoutSettingsRequest struct {

	// Required. The updated version of the `CheckoutSettings`.
	// The `name` field is used to identify the `CheckoutSettings`.
	// Format: `accounts/{account}/programs/{program}/checkoutSettings`
	CheckoutSettings *CheckoutSettings `protobuf:"bytes,1,opt,name=checkout_settings,json=checkoutSettings,proto3" json:"checkout_settings,omitempty"`
	// Required. List of fields being updated.
	// The following fields are supported (in both `snake_case` and
	// `lowerCamelCase`):
	//
	// - `eligible_destinations`
	// - `uri_settings`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for the UpdateCheckoutSettings method.

func (*UpdateCheckoutSettingsRequest) Descriptor

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

Deprecated: Use UpdateCheckoutSettingsRequest.ProtoReflect.Descriptor instead.

func (*UpdateCheckoutSettingsRequest) GetCheckoutSettings

func (x *UpdateCheckoutSettingsRequest) GetCheckoutSettings() *CheckoutSettings

func (*UpdateCheckoutSettingsRequest) GetUpdateMask

func (*UpdateCheckoutSettingsRequest) ProtoMessage

func (*UpdateCheckoutSettingsRequest) ProtoMessage()

func (*UpdateCheckoutSettingsRequest) ProtoReflect

func (*UpdateCheckoutSettingsRequest) Reset

func (x *UpdateCheckoutSettingsRequest) Reset()

func (*UpdateCheckoutSettingsRequest) String

UpdateEmailPreferencesRequest

type UpdateEmailPreferencesRequest struct {

	// Required. Email Preferences to be updated.
	EmailPreferences *EmailPreferences `protobuf:"bytes,1,opt,name=email_preferences,json=emailPreferences,proto3" json:"email_preferences,omitempty"`
	// Required. List of fields being updated.
	//
	// The following fields are supported (in both `snake_case` and
	// `lowerCamelCase`):
	//
	// - `news_and_tips`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for UpdateEmailPreferences method.

func (*UpdateEmailPreferencesRequest) Descriptor

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

Deprecated: Use UpdateEmailPreferencesRequest.ProtoReflect.Descriptor instead.

func (*UpdateEmailPreferencesRequest) GetEmailPreferences

func (x *UpdateEmailPreferencesRequest) GetEmailPreferences() *EmailPreferences

func (*UpdateEmailPreferencesRequest) GetUpdateMask

func (*UpdateEmailPreferencesRequest) ProtoMessage

func (*UpdateEmailPreferencesRequest) ProtoMessage()

func (*UpdateEmailPreferencesRequest) ProtoReflect

func (*UpdateEmailPreferencesRequest) Reset

func (x *UpdateEmailPreferencesRequest) Reset()

func (*UpdateEmailPreferencesRequest) String

UpdateHomepageRequest

type UpdateHomepageRequest struct {

	// Required. The new version of the homepage.
	Homepage *Homepage `protobuf:"bytes,1,opt,name=homepage,proto3" json:"homepage,omitempty"`
	// Optional. List of fields being updated.
	//
	// The following fields are supported (in both `snake_case` and
	// `lowerCamelCase`):
	//
	// - `uri`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for the UpdateHomepage method.

func (*UpdateHomepageRequest) Descriptor

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

Deprecated: Use UpdateHomepageRequest.ProtoReflect.Descriptor instead.

func (*UpdateHomepageRequest) GetHomepage

func (x *UpdateHomepageRequest) GetHomepage() *Homepage

func (*UpdateHomepageRequest) GetUpdateMask

func (x *UpdateHomepageRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateHomepageRequest) ProtoMessage

func (*UpdateHomepageRequest) ProtoMessage()

func (*UpdateHomepageRequest) ProtoReflect

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

func (*UpdateHomepageRequest) Reset

func (x *UpdateHomepageRequest) Reset()

func (*UpdateHomepageRequest) String

func (x *UpdateHomepageRequest) String() string

UpdateOmnichannelSettingRequest

type UpdateOmnichannelSettingRequest struct {

	// Required. The omnichannel setting to update.
	//
	// The omnichannel setting's `name` field is used to identify the
	// omnichannel setting to be updated.
	OmnichannelSetting *OmnichannelSetting `protobuf:"bytes,1,opt,name=omnichannel_setting,json=omnichannelSetting,proto3" json:"omnichannel_setting,omitempty"`
	// Required. The list of fields to be updated.
	//
	// The following fields are supported in snake_case only:
	// - `lsf_type`
	// - `in_stock`
	// - `pickup`
	// - `odo`
	// - `about`
	// - `inventory_verification`
	//
	// Full replacement with wildcard `*`is supported, while empty/implied update
	// mask is not.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for the UpdateOmnichannelSetting method.

func (*UpdateOmnichannelSettingRequest) Descriptor

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

Deprecated: Use UpdateOmnichannelSettingRequest.ProtoReflect.Descriptor instead.

func (*UpdateOmnichannelSettingRequest) GetOmnichannelSetting

func (x *UpdateOmnichannelSettingRequest) GetOmnichannelSetting() *OmnichannelSetting

func (*UpdateOmnichannelSettingRequest) GetUpdateMask

func (*UpdateOmnichannelSettingRequest) ProtoMessage

func (*UpdateOmnichannelSettingRequest) ProtoMessage()

func (*UpdateOmnichannelSettingRequest) ProtoReflect

func (*UpdateOmnichannelSettingRequest) Reset

func (*UpdateOmnichannelSettingRequest) String

UpdateRegionRequest

type UpdateRegionRequest struct {

	// Required. The updated region.
	Region *Region `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
	// Optional. The comma-separated field mask indicating the fields to update.
	// Example:
	// `"displayName,postalCodeArea.regionCode"`.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for the UpdateRegion method.

func (*UpdateRegionRequest) Descriptor

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

Deprecated: Use UpdateRegionRequest.ProtoReflect.Descriptor instead.

func (*UpdateRegionRequest) GetRegion

func (x *UpdateRegionRequest) GetRegion() *Region

func (*UpdateRegionRequest) GetUpdateMask

func (x *UpdateRegionRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateRegionRequest) ProtoMessage

func (*UpdateRegionRequest) ProtoMessage()

func (*UpdateRegionRequest) ProtoReflect

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

func (*UpdateRegionRequest) Reset

func (x *UpdateRegionRequest) Reset()

func (*UpdateRegionRequest) String

func (x *UpdateRegionRequest) String() string

UpdateUserRequest

type UpdateUserRequest struct {

	// Required. The new version of the user.
	//
	// Use `me` to refer to your own email address, for example
	// `accounts/{account}/users/me`.
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// Optional. List of fields being updated.
	//
	// The following fields are supported (in both `snake_case` and
	// `lowerCamelCase`):
	//
	// - `access_rights`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for the UpdateUser method.

func (*UpdateUserRequest) Descriptor

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

Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRequest) GetUpdateMask

func (x *UpdateUserRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateUserRequest) GetUser

func (x *UpdateUserRequest) GetUser() *User

func (*UpdateUserRequest) ProtoMessage

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) ProtoReflect

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

func (*UpdateUserRequest) Reset

func (x *UpdateUserRequest) Reset()

func (*UpdateUserRequest) String

func (x *UpdateUserRequest) String() string

UriSettings

type UriSettings struct {

	// Specifications related to the `Checkout` URL. The `UriTemplate` is
	// of the form `https://www.mystore.com/checkout?item_id={id}`
	// where `{id}` will be automatically replaced with [offer_id]
	// (https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.offer_id)
	// attribute from the merchant account
	//
	// Types that are assignable to UriTemplate:
	//
	//	*UriSettings_CheckoutUriTemplate
	//	*UriSettings_CartUriTemplate
	UriTemplate isUriSettings_UriTemplate `protobuf_oneof:"uri_template"`
	// contains filtered or unexported fields
}

URL settings for cart or checkout URL.

func (*UriSettings) Descriptor

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

Deprecated: Use UriSettings.ProtoReflect.Descriptor instead.

func (*UriSettings) GetCartUriTemplate

func (x *UriSettings) GetCartUriTemplate() string

func (*UriSettings) GetCheckoutUriTemplate

func (x *UriSettings) GetCheckoutUriTemplate() string

func (*UriSettings) GetUriTemplate

func (m *UriSettings) GetUriTemplate() isUriSettings_UriTemplate

func (*UriSettings) ProtoMessage

func (*UriSettings) ProtoMessage()

func (*UriSettings) ProtoReflect

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

func (*UriSettings) Reset

func (x *UriSettings) Reset()

func (*UriSettings) String

func (x *UriSettings) String() string

UriSettings_CartUriTemplate

type UriSettings_CartUriTemplate struct {
	// Cart URL template. When the placeholders are expanded will redirect the
	// buyer to the cart page on the merchant website with the selected
	// item in cart. For more details, check the [help center
	// doc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
	CartUriTemplate string `protobuf:"bytes,2,opt,name=cart_uri_template,json=cartUriTemplate,proto3,oneof"`
}

UriSettings_CheckoutUriTemplate

type UriSettings_CheckoutUriTemplate struct {
	// Checkout URL template. When the placeholders are expanded will redirect
	// the buyer to the merchant checkout page with the item in the cart. For
	// more details, check the [help center
	// doc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
	CheckoutUriTemplate string `protobuf:"bytes,1,opt,name=checkout_uri_template,json=checkoutUriTemplate,proto3,oneof"`
}

User

type User struct {

	// Identifier. The resource name of the user.
	// Format: `accounts/{account}/user/{email}`
	//
	// Use `me` to refer to your own email address, for example
	// `accounts/{account}/users/me`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The state of the user.
	State User_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.shopping.merchant.accounts.v1.User_State" json:"state,omitempty"`
	// Required. The [access
	// rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes)
	// the user has.
	AccessRights []AccessRight `protobuf:"varint,4,rep,packed,name=access_rights,json=accessRights,proto3,enum=google.shopping.merchant.accounts.v1.AccessRight" json:"access_rights,omitempty"`
	// contains filtered or unexported fields
}

The User message represents a user associated with a Merchant Center account. It is used to manage user permissions and access rights within the account. For more information, see Frequently asked questions about people and access levels.

func (*User) Descriptor

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAccessRights

func (x *User) GetAccessRights() []AccessRight

func (*User) GetName

func (x *User) GetName() string

func (*User) GetState

func (x *User) GetState() User_State

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

UserServiceClient

type UserServiceClient interface {
	// Retrieves a Merchant Center account user.
	GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*User, error)
	// Creates a Merchant Center account user. Executing this method requires
	// admin access.
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*User, error)
	// Deletes a Merchant Center account user. Executing this method requires
	// admin access. The user to be deleted can't be the last admin user of that
	// account. Also a user is protected from deletion if it
	// is managed by Business Manager"
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Updates a Merchant Center account user. Executing this method requires
	// admin access.
	UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*User, error)
	// Lists all users of a Merchant Center account.
	ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
}

UserServiceClient is the client API for UserService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewUserServiceClient

func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient

UserServiceServer

type UserServiceServer interface {
	// Retrieves a Merchant Center account user.
	GetUser(context.Context, *GetUserRequest) (*User, error)
	// Creates a Merchant Center account user. Executing this method requires
	// admin access.
	CreateUser(context.Context, *CreateUserRequest) (*User, error)
	// Deletes a Merchant Center account user. Executing this method requires
	// admin access. The user to be deleted can't be the last admin user of that
	// account. Also a user is protected from deletion if it
	// is managed by Business Manager"
	DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error)
	// Updates a Merchant Center account user. Executing this method requires
	// admin access.
	UpdateUser(context.Context, *UpdateUserRequest) (*User, error)
	// Lists all users of a Merchant Center account.
	ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
}

UserServiceServer is the server API for UserService service. All implementations should embed UnimplementedUserServiceServer for forward compatibility

User_State

type User_State int32

The possible states of a user.

User_STATE_UNSPECIFIED, User_PENDING, User_VERIFIED

const (
	// Default value. This value is unused.
	User_STATE_UNSPECIFIED User_State = 0
	// The user is pending confirmation. In this state, the user first needs to
	// accept the invitation before performing other actions.
	User_PENDING User_State = 1
	// The user is verified.
	User_VERIFIED User_State = 2
)

func (User_State) Descriptor

func (User_State) Descriptor() protoreflect.EnumDescriptor

func (User_State) Enum

func (x User_State) Enum() *User_State

func (User_State) EnumDescriptor

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

Deprecated: Use User_State.Descriptor instead.

func (User_State) Number

func (x User_State) Number() protoreflect.EnumNumber

func (User_State) String

func (x User_State) String() string

func (User_State) Type

Value

type Value struct {

	// If true, then the product can't be shipped. Must be true when set, can only
	// be set if all other fields are not set.
	NoShipping *bool `protobuf:"varint,1,opt,name=no_shipping,json=noShipping,proto3,oneof" json:"no_shipping,omitempty"`
	// A flat rate. Can only be set if all other fields are not set.
	FlatRate *typepb.Price `protobuf:"bytes,2,opt,name=flat_rate,json=flatRate,proto3,oneof" json:"flat_rate,omitempty"`
	// A percentage of the price represented as a number in decimal notation
	// (For example, `"5.4"`). Can only be set if all other fields are not
	// set.
	PricePercentage *string `protobuf:"bytes,3,opt,name=price_percentage,json=pricePercentage,proto3,oneof" json:"price_percentage,omitempty"`
	// The name of a carrier rate referring to a carrier rate defined in the
	// same rate group. Can only be set if all other fields are not set.
	CarrierRate *string `protobuf:"bytes,4,opt,name=carrier_rate,json=carrierRate,proto3,oneof" json:"carrier_rate,omitempty"`
	// The name of a subtable. Can only be set in table cells (For example, not
	// for single values), and only if all other fields are not set.
	Subtable *string `protobuf:"bytes,5,opt,name=subtable,proto3,oneof" json:"subtable,omitempty"`
	// contains filtered or unexported fields
}

The single value of a rate group or the value of a rate group table's cell. Exactly one of no_shipping, flat_rate, price_percentage, carrier_rateName, subtable_name must be set.

func (*Value) Descriptor

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

Deprecated: Use Value.ProtoReflect.Descriptor instead.

func (*Value) GetCarrierRate

func (x *Value) GetCarrierRate() string

func (*Value) GetFlatRate

func (x *Value) GetFlatRate() *typepb.Price

func (*Value) GetNoShipping

func (x *Value) GetNoShipping() bool

func (*Value) GetPricePercentage

func (x *Value) GetPricePercentage() string

func (*Value) GetSubtable

func (x *Value) GetSubtable() string

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) ProtoReflect

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

func (*Value) Reset

func (x *Value) Reset()

func (*Value) String

func (x *Value) String() string

Warehouse

type Warehouse struct {

	// Required. The name of the warehouse. Must be unique within account.
	Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Required. Shipping address of the warehouse.
	ShippingAddress *Address `protobuf:"bytes,2,opt,name=shipping_address,json=shippingAddress,proto3,oneof" json:"shipping_address,omitempty"`
	// Required. The latest time of day that an order can be accepted and begin
	// processing. Later orders will be processed in the next day. The time is
	// based on the warehouse postal code.
	CutoffTime *WarehouseCutoffTime `protobuf:"bytes,3,opt,name=cutoff_time,json=cutoffTime,proto3,oneof" json:"cutoff_time,omitempty"`
	// Required. The number of days it takes for this warehouse to pack up and
	// ship an item. This is on the warehouse level, but can be overridden on the
	// offer level based on the attributes of an item.
	HandlingDays *int64 `protobuf:"varint,4,opt,name=handling_days,json=handlingDays,proto3,oneof" json:"handling_days,omitempty"`
	// Business days of the warehouse.
	// If not set, will be Monday to Friday by default.
	BusinessDayConfig *BusinessDayConfig `protobuf:"bytes,5,opt,name=business_day_config,json=businessDayConfig,proto3,oneof" json:"business_day_config,omitempty"`
	// contains filtered or unexported fields
}

A fulfillment warehouse, which stores and handles inventory.

func (*Warehouse) Descriptor

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

Deprecated: Use Warehouse.ProtoReflect.Descriptor instead.

func (*Warehouse) GetBusinessDayConfig

func (x *Warehouse) GetBusinessDayConfig() *BusinessDayConfig

func (*Warehouse) GetCutoffTime

func (x *Warehouse) GetCutoffTime() *WarehouseCutoffTime

func (*Warehouse) GetHandlingDays

func (x *Warehouse) GetHandlingDays() int64

func (*Warehouse) GetName

func (x *Warehouse) GetName() string

func (*Warehouse) GetShippingAddress

func (x *Warehouse) GetShippingAddress() *Address

func (*Warehouse) ProtoMessage

func (*Warehouse) ProtoMessage()

func (*Warehouse) ProtoReflect

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

func (*Warehouse) Reset

func (x *Warehouse) Reset()

func (*Warehouse) String

func (x *Warehouse) String() string

WarehouseBasedDeliveryTime

type WarehouseBasedDeliveryTime struct {

	// Required. Carrier, such as `"UPS"` or `"Fedex"`.
	// [supported
	// carriers](https://support.google.com/merchants/answer/7050921#zippy=%2Ccarrier-rates-au-de-uk-and-us-only)
	Carrier *string `protobuf:"bytes,1,opt,name=carrier,proto3,oneof" json:"carrier,omitempty"`
	// Required. Carrier service, such as `"ground"` or `"2 days"`. The name of
	// the service must be in the eddSupportedServices list.
	CarrierService *string `protobuf:"bytes,2,opt,name=carrier_service,json=carrierService,proto3,oneof" json:"carrier_service,omitempty"`
	// Required. Warehouse name. This should match
	// [warehouse][google.shopping.merchant.accounts.v1.Warehouse].
	Warehouse *string `protobuf:"bytes,3,opt,name=warehouse,proto3,oneof" json:"warehouse,omitempty"`
	// contains filtered or unexported fields
}

Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in delivery_time should be set.

func (*WarehouseBasedDeliveryTime) Descriptor

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

Deprecated: Use WarehouseBasedDeliveryTime.ProtoReflect.Descriptor instead.

func (*WarehouseBasedDeliveryTime) GetCarrier

func (x *WarehouseBasedDeliveryTime) GetCarrier() string

func (*WarehouseBasedDeliveryTime) GetCarrierService

func (x *WarehouseBasedDeliveryTime) GetCarrierService() string

func (*WarehouseBasedDeliveryTime) GetWarehouse

func (x *WarehouseBasedDeliveryTime) GetWarehouse() string

func (*WarehouseBasedDeliveryTime) ProtoMessage

func (*WarehouseBasedDeliveryTime) ProtoMessage()

func (*WarehouseBasedDeliveryTime) ProtoReflect

func (*WarehouseBasedDeliveryTime) Reset

func (x *WarehouseBasedDeliveryTime) Reset()

func (*WarehouseBasedDeliveryTime) String

func (x *WarehouseBasedDeliveryTime) String() string

WarehouseCutoffTime

type WarehouseCutoffTime struct {

	// Required. Hour of the cutoff time until which an order has to be placed to
	// be processed in the same day by the warehouse. Hour is based on the
	// timezone of warehouse.
	Hour *int32 `protobuf:"varint,1,opt,name=hour,proto3,oneof" json:"hour,omitempty"`
	// Required. Minute of the cutoff time until which an order has to be placed
	// to be processed in the same day by the warehouse. Minute is based on the
	// timezone of warehouse.
	Minute *int32 `protobuf:"varint,2,opt,name=minute,proto3,oneof" json:"minute,omitempty"`
	// contains filtered or unexported fields
}

The latest time of day that an order can be accepted and begin processing. Later orders will be processed in the next day. The time is based on the warehouse postal code.

func (*WarehouseCutoffTime) Descriptor

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

Deprecated: Use WarehouseCutoffTime.ProtoReflect.Descriptor instead.

func (*WarehouseCutoffTime) GetHour

func (x *WarehouseCutoffTime) GetHour() int32

func (*WarehouseCutoffTime) GetMinute

func (x *WarehouseCutoffTime) GetMinute() int32

func (*WarehouseCutoffTime) ProtoMessage

func (*WarehouseCutoffTime) ProtoMessage()

func (*WarehouseCutoffTime) ProtoReflect

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

func (*WarehouseCutoffTime) Reset

func (x *WarehouseCutoffTime) Reset()

func (*WarehouseCutoffTime) String

func (x *WarehouseCutoffTime) String() string