Documentation ¶
Index ¶
- Variables
- func RegisterActionsSdkServer(s *grpc.Server, srv ActionsSdkServer)
- func RegisterActionsTestingServer(s *grpc.Server, srv ActionsTestingServer)
- type AccountLinking
- func (*AccountLinking) Descriptor() ([]byte, []int)deprecated
- func (x *AccountLinking) GetAppClientId() string
- func (x *AccountLinking) GetAuthGrantType() AccountLinking_AuthGrantType
- func (x *AccountLinking) GetAuthorizationUrl() string
- func (x *AccountLinking) GetEnableAccountCreation() bool
- func (x *AccountLinking) GetLearnMoreUrl() string
- func (x *AccountLinking) GetLinkingType() AccountLinking_LinkingType
- func (x *AccountLinking) GetScopes() []string
- func (x *AccountLinking) GetTokenUrl() string
- func (x *AccountLinking) GetUseBasicAuthHeader() bool
- func (*AccountLinking) ProtoMessage()
- func (x *AccountLinking) ProtoReflect() protoreflect.Message
- func (x *AccountLinking) Reset()
- func (x *AccountLinking) String() string
- type AccountLinkingSecret
- func (*AccountLinkingSecret) Descriptor() ([]byte, []int)deprecated
- func (x *AccountLinkingSecret) GetEncryptedClientSecret() []byte
- func (x *AccountLinkingSecret) GetEncryptionKeyVersion() string
- func (*AccountLinkingSecret) ProtoMessage()
- func (x *AccountLinkingSecret) ProtoReflect() protoreflect.Message
- func (x *AccountLinkingSecret) Reset()
- func (x *AccountLinkingSecret) String() string
- type AccountLinking_AuthGrantType
- func (AccountLinking_AuthGrantType) Descriptor() protoreflect.EnumDescriptor
- func (x AccountLinking_AuthGrantType) Enum() *AccountLinking_AuthGrantType
- func (AccountLinking_AuthGrantType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountLinking_AuthGrantType) Number() protoreflect.EnumNumber
- func (x AccountLinking_AuthGrantType) String() string
- func (AccountLinking_AuthGrantType) Type() protoreflect.EnumType
- type AccountLinking_LinkingType
- func (AccountLinking_LinkingType) Descriptor() protoreflect.EnumDescriptor
- func (x AccountLinking_LinkingType) Enum() *AccountLinking_LinkingType
- func (AccountLinking_LinkingType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountLinking_LinkingType) Number() protoreflect.EnumNumber
- func (x AccountLinking_LinkingType) String() string
- func (AccountLinking_LinkingType) Type() protoreflect.EnumType
- type Actions
- type ActionsSdkClient
- type ActionsSdkServer
- type ActionsSdk_CreateVersionClient
- type ActionsSdk_CreateVersionServer
- type ActionsSdk_ReadDraftClient
- type ActionsSdk_ReadDraftServer
- type ActionsSdk_ReadVersionClient
- type ActionsSdk_ReadVersionServer
- type ActionsSdk_WriteDraftClient
- type ActionsSdk_WriteDraftServer
- type ActionsSdk_WritePreviewClient
- type ActionsSdk_WritePreviewServer
- type ActionsTestingClient
- type ActionsTestingServer
- type Actions_CustomAction
- func (*Actions_CustomAction) Descriptor() ([]byte, []int)deprecated
- func (x *Actions_CustomAction) GetEngagement() *Actions_Engagement
- func (*Actions_CustomAction) ProtoMessage()
- func (x *Actions_CustomAction) ProtoReflect() protoreflect.Message
- func (x *Actions_CustomAction) Reset()
- func (x *Actions_CustomAction) String() string
- type Actions_Engagement
- func (*Actions_Engagement) Descriptor() ([]byte, []int)deprecated
- func (x *Actions_Engagement) GetActionLink() *Actions_Engagement_ActionLinkdeprecated
- func (x *Actions_Engagement) GetAssistantLink() *Actions_Engagement_AssistantLink
- func (x *Actions_Engagement) GetDailyUpdate() *Actions_Engagement_DailyUpdate
- func (x *Actions_Engagement) GetPushNotification() *Actions_Engagement_PushNotification
- func (m *Actions_Engagement) GetRecurringUpdate() isActions_Engagement_RecurringUpdate
- func (x *Actions_Engagement) GetTitle() string
- func (*Actions_Engagement) ProtoMessage()
- func (x *Actions_Engagement) ProtoReflect() protoreflect.Message
- func (x *Actions_Engagement) Reset()
- func (x *Actions_Engagement) String() string
- type Actions_Engagement_ActionLinkdeprecated
- func (*Actions_Engagement_ActionLink) Descriptor() ([]byte, []int)deprecated
- func (x *Actions_Engagement_ActionLink) GetTitle() string
- func (*Actions_Engagement_ActionLink) ProtoMessage()
- func (x *Actions_Engagement_ActionLink) ProtoReflect() protoreflect.Message
- func (x *Actions_Engagement_ActionLink) Reset()
- func (x *Actions_Engagement_ActionLink) String() string
- type Actions_Engagement_AssistantLink
- func (*Actions_Engagement_AssistantLink) Descriptor() ([]byte, []int)deprecated
- func (x *Actions_Engagement_AssistantLink) GetTitle() string
- func (*Actions_Engagement_AssistantLink) ProtoMessage()
- func (x *Actions_Engagement_AssistantLink) ProtoReflect() protoreflect.Message
- func (x *Actions_Engagement_AssistantLink) Reset()
- func (x *Actions_Engagement_AssistantLink) String() string
- type Actions_Engagement_DailyUpdate
- func (*Actions_Engagement_DailyUpdate) Descriptor() ([]byte, []int)deprecated
- func (*Actions_Engagement_DailyUpdate) ProtoMessage()
- func (x *Actions_Engagement_DailyUpdate) ProtoReflect() protoreflect.Message
- func (x *Actions_Engagement_DailyUpdate) Reset()
- func (x *Actions_Engagement_DailyUpdate) String() string
- type Actions_Engagement_DailyUpdate_
- type Actions_Engagement_PushNotification
- func (*Actions_Engagement_PushNotification) Descriptor() ([]byte, []int)deprecated
- func (*Actions_Engagement_PushNotification) ProtoMessage()
- func (x *Actions_Engagement_PushNotification) ProtoReflect() protoreflect.Message
- func (x *Actions_Engagement_PushNotification) Reset()
- func (x *Actions_Engagement_PushNotification) String() string
- type CapabilityRequirement
- func (*CapabilityRequirement) Descriptor() ([]byte, []int)deprecated
- func (x *CapabilityRequirement) GetCapability() CapabilityRequirement_SurfaceCapability
- func (*CapabilityRequirement) ProtoMessage()
- func (x *CapabilityRequirement) ProtoReflect() protoreflect.Message
- func (x *CapabilityRequirement) Reset()
- func (x *CapabilityRequirement) String() string
- type CapabilityRequirement_SurfaceCapability
- func (CapabilityRequirement_SurfaceCapability) Descriptor() protoreflect.EnumDescriptor
- func (x CapabilityRequirement_SurfaceCapability) Enum() *CapabilityRequirement_SurfaceCapability
- func (CapabilityRequirement_SurfaceCapability) EnumDescriptor() ([]byte, []int)deprecated
- func (x CapabilityRequirement_SurfaceCapability) Number() protoreflect.EnumNumber
- func (x CapabilityRequirement_SurfaceCapability) String() string
- func (CapabilityRequirement_SurfaceCapability) Type() protoreflect.EnumType
- type Condition
- func (*Condition) Descriptor() ([]byte, []int)deprecated
- func (x *Condition) GetExpression() string
- func (x *Condition) GetHandler() string
- func (x *Condition) GetNextSceneId() string
- func (*Condition) ProtoMessage()
- func (x *Condition) ProtoReflect() protoreflect.Message
- func (x *Condition) Reset()
- func (x *Condition) String() string
- type ConditionsEvaluated
- func (*ConditionsEvaluated) Descriptor() ([]byte, []int)deprecated
- func (x *ConditionsEvaluated) GetFailedConditions() []*Condition
- func (x *ConditionsEvaluated) GetSuccessCondition() *Condition
- func (*ConditionsEvaluated) ProtoMessage()
- func (x *ConditionsEvaluated) ProtoReflect() protoreflect.Message
- func (x *ConditionsEvaluated) Reset()
- func (x *ConditionsEvaluated) String() string
- type ConfigFile
- func (*ConfigFile) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigFile) GetAccountLinkingSecret() *AccountLinkingSecret
- func (x *ConfigFile) GetActions() *Actions
- func (x *ConfigFile) GetEntitySet() *interactionmodel.EntitySet
- func (m *ConfigFile) GetFile() isConfigFile_File
- func (x *ConfigFile) GetFilePath() string
- func (x *ConfigFile) GetGlobalIntentEvent() *interactionmodel.GlobalIntentEvent
- func (x *ConfigFile) GetIntent() *interactionmodel.Intent
- func (x *ConfigFile) GetManifest() *Manifest
- func (x *ConfigFile) GetResourceBundle() *structpb.Struct
- func (x *ConfigFile) GetScene() *interactionmodel.Scene
- func (x *ConfigFile) GetSettings() *Settings
- func (x *ConfigFile) GetStaticPrompt() *prompt.StaticPrompt
- func (x *ConfigFile) GetType() *_type.Type
- func (x *ConfigFile) GetWebhook() *Webhook
- func (*ConfigFile) ProtoMessage()
- func (x *ConfigFile) ProtoReflect() protoreflect.Message
- func (x *ConfigFile) Reset()
- func (x *ConfigFile) String() string
- type ConfigFile_AccountLinkingSecret
- type ConfigFile_Actions
- type ConfigFile_EntitySet
- type ConfigFile_GlobalIntentEvent
- type ConfigFile_Intent
- type ConfigFile_Manifest
- type ConfigFile_ResourceBundle
- type ConfigFile_Scene
- type ConfigFile_Settings
- type ConfigFile_StaticPrompt
- type ConfigFile_Type
- type ConfigFile_Webhook
- type ConfigFiles
- type CreateVersionRequest
- func (*CreateVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateVersionRequest) GetFiles() *Files
- func (x *CreateVersionRequest) GetParent() string
- func (x *CreateVersionRequest) GetReleaseChannel() string
- func (*CreateVersionRequest) ProtoMessage()
- func (x *CreateVersionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateVersionRequest) Reset()
- func (x *CreateVersionRequest) String() string
- type DataFile
- func (*DataFile) Descriptor() ([]byte, []int)deprecated
- func (x *DataFile) GetContentType() string
- func (x *DataFile) GetFilePath() string
- func (x *DataFile) GetPayload() []byte
- func (*DataFile) ProtoMessage()
- func (x *DataFile) ProtoReflect() protoreflect.Message
- func (x *DataFile) Reset()
- func (x *DataFile) String() string
- type DataFiles
- type DecryptSecretRequest
- func (*DecryptSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DecryptSecretRequest) GetEncryptedClientSecret() []byte
- func (*DecryptSecretRequest) ProtoMessage()
- func (x *DecryptSecretRequest) ProtoReflect() protoreflect.Message
- func (x *DecryptSecretRequest) Reset()
- func (x *DecryptSecretRequest) String() string
- type DecryptSecretResponse
- func (*DecryptSecretResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DecryptSecretResponse) GetClientSecret() string
- func (*DecryptSecretResponse) ProtoMessage()
- func (x *DecryptSecretResponse) ProtoReflect() protoreflect.Message
- func (x *DecryptSecretResponse) Reset()
- func (x *DecryptSecretResponse) String() string
- type DeviceProperties
- func (*DeviceProperties) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceProperties) GetLocale() string
- func (x *DeviceProperties) GetLocation() *Location
- func (x *DeviceProperties) GetSurface() DeviceProperties_Surface
- func (x *DeviceProperties) GetTimeZone() string
- func (*DeviceProperties) ProtoMessage()
- func (x *DeviceProperties) ProtoReflect() protoreflect.Message
- func (x *DeviceProperties) Reset()
- func (x *DeviceProperties) String() string
- type DeviceProperties_Surface
- func (DeviceProperties_Surface) Descriptor() protoreflect.EnumDescriptor
- func (x DeviceProperties_Surface) Enum() *DeviceProperties_Surface
- func (DeviceProperties_Surface) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeviceProperties_Surface) Number() protoreflect.EnumNumber
- func (x DeviceProperties_Surface) String() string
- func (DeviceProperties_Surface) Type() protoreflect.EnumType
- type Diagnostics
- type Draft
- type EncryptSecretRequest
- func (*EncryptSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptSecretRequest) GetClientSecret() string
- func (*EncryptSecretRequest) ProtoMessage()
- func (x *EncryptSecretRequest) ProtoReflect() protoreflect.Message
- func (x *EncryptSecretRequest) Reset()
- func (x *EncryptSecretRequest) String() string
- type EncryptSecretResponse
- func (*EncryptSecretResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptSecretResponse) GetAccountLinkingSecret() *AccountLinkingSecret
- func (*EncryptSecretResponse) ProtoMessage()
- func (x *EncryptSecretResponse) ProtoReflect() protoreflect.Message
- func (x *EncryptSecretResponse) Reset()
- func (x *EncryptSecretResponse) String() string
- type EndConversation
- type ExecutionEvent
- func (*ExecutionEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ExecutionEvent) GetConditionsEvaluated() *ConditionsEvaluated
- func (x *ExecutionEvent) GetEndConversation() *EndConversation
- func (m *ExecutionEvent) GetEventData() isExecutionEvent_EventData
- func (x *ExecutionEvent) GetEventTime() *timestamppb.Timestamp
- func (x *ExecutionEvent) GetExecutionState() *ExecutionState
- func (x *ExecutionEvent) GetFormFilled() *FormFilled
- func (x *ExecutionEvent) GetIntentMatch() *IntentMatch
- func (x *ExecutionEvent) GetOnSceneEnter() *OnSceneEnter
- func (x *ExecutionEvent) GetSlotMatch() *SlotMatch
- func (x *ExecutionEvent) GetSlotRequested() *SlotRequested
- func (x *ExecutionEvent) GetSlotValidated() *SlotValidated
- func (x *ExecutionEvent) GetStatus() *status.Status
- func (x *ExecutionEvent) GetUserInput() *UserConversationInput
- func (x *ExecutionEvent) GetWaitingUserInput() *WaitingForUserInput
- func (x *ExecutionEvent) GetWarningMessages() []string
- func (x *ExecutionEvent) GetWebhookInitiatedTransition() *WebhookInitiatedTransition
- func (x *ExecutionEvent) GetWebhookRequest() *WebhookRequest
- func (x *ExecutionEvent) GetWebhookResponse() *WebhookResponse
- func (*ExecutionEvent) ProtoMessage()
- func (x *ExecutionEvent) ProtoReflect() protoreflect.Message
- func (x *ExecutionEvent) Reset()
- func (x *ExecutionEvent) String() string
- type ExecutionEvent_ConditionsEvaluated
- type ExecutionEvent_EndConversation
- type ExecutionEvent_FormFilled
- type ExecutionEvent_IntentMatch
- type ExecutionEvent_OnSceneEnter
- type ExecutionEvent_SlotMatch
- type ExecutionEvent_SlotRequested
- type ExecutionEvent_SlotValidated
- type ExecutionEvent_UserInput
- type ExecutionEvent_WaitingUserInput
- type ExecutionEvent_WebhookInitiatedTransition
- type ExecutionEvent_WebhookRequest
- type ExecutionEvent_WebhookResponse
- type ExecutionState
- func (*ExecutionState) Descriptor() ([]byte, []int)deprecated
- func (x *ExecutionState) GetCurrentSceneId() string
- func (x *ExecutionState) GetHouseholdStorage() *structpb.Struct
- func (x *ExecutionState) GetPromptQueue() []*conversation.Prompt
- func (x *ExecutionState) GetSessionStorage() *structpb.Struct
- func (x *ExecutionState) GetSlots() *Slots
- func (x *ExecutionState) GetUserStorage() *structpb.Struct
- func (*ExecutionState) ProtoMessage()
- func (x *ExecutionState) ProtoReflect() protoreflect.Message
- func (x *ExecutionState) Reset()
- func (x *ExecutionState) String() string
- type Files
- func (*Files) Descriptor() ([]byte, []int)deprecated
- func (x *Files) GetConfigFiles() *ConfigFiles
- func (x *Files) GetDataFiles() *DataFiles
- func (m *Files) GetFileType() isFiles_FileType
- func (*Files) ProtoMessage()
- func (x *Files) ProtoReflect() protoreflect.Message
- func (x *Files) Reset()
- func (x *Files) String() string
- type Files_ConfigFiles
- type Files_DataFiles
- type FormFilled
- type IntentMatch
- func (*IntentMatch) Descriptor() ([]byte, []int)deprecated
- func (x *IntentMatch) GetHandler() string
- func (x *IntentMatch) GetIntentId() string
- func (x *IntentMatch) GetIntentParameters() map[string]*conversation.IntentParameterValue
- func (x *IntentMatch) GetNextSceneId() string
- func (*IntentMatch) ProtoMessage()
- func (x *IntentMatch) ProtoReflect() protoreflect.Message
- func (x *IntentMatch) Reset()
- func (x *IntentMatch) String() string
- type ListReleaseChannelsRequest
- func (*ListReleaseChannelsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListReleaseChannelsRequest) GetPageSize() int32
- func (x *ListReleaseChannelsRequest) GetPageToken() string
- func (x *ListReleaseChannelsRequest) GetParent() string
- func (*ListReleaseChannelsRequest) ProtoMessage()
- func (x *ListReleaseChannelsRequest) ProtoReflect() protoreflect.Message
- func (x *ListReleaseChannelsRequest) Reset()
- func (x *ListReleaseChannelsRequest) String() string
- type ListReleaseChannelsResponse
- func (*ListReleaseChannelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListReleaseChannelsResponse) GetNextPageToken() string
- func (x *ListReleaseChannelsResponse) GetReleaseChannels() []*ReleaseChannel
- func (*ListReleaseChannelsResponse) ProtoMessage()
- func (x *ListReleaseChannelsResponse) ProtoReflect() protoreflect.Message
- func (x *ListReleaseChannelsResponse) Reset()
- func (x *ListReleaseChannelsResponse) String() string
- type ListSampleProjectsRequest
- func (*ListSampleProjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSampleProjectsRequest) GetPageSize() int32
- func (x *ListSampleProjectsRequest) GetPageToken() string
- func (*ListSampleProjectsRequest) ProtoMessage()
- func (x *ListSampleProjectsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSampleProjectsRequest) Reset()
- func (x *ListSampleProjectsRequest) String() string
- type ListSampleProjectsResponse
- func (*ListSampleProjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSampleProjectsResponse) GetNextPageToken() string
- func (x *ListSampleProjectsResponse) GetSampleProjects() []*SampleProject
- func (*ListSampleProjectsResponse) ProtoMessage()
- func (x *ListSampleProjectsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSampleProjectsResponse) Reset()
- func (x *ListSampleProjectsResponse) String() string
- type ListVersionsRequest
- func (*ListVersionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListVersionsRequest) GetPageSize() int32
- func (x *ListVersionsRequest) GetPageToken() string
- func (x *ListVersionsRequest) GetParent() string
- func (*ListVersionsRequest) ProtoMessage()
- func (x *ListVersionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListVersionsRequest) Reset()
- func (x *ListVersionsRequest) String() string
- type ListVersionsResponse
- func (*ListVersionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListVersionsResponse) GetNextPageToken() string
- func (x *ListVersionsResponse) GetVersions() []*Version
- func (*ListVersionsResponse) ProtoMessage()
- func (x *ListVersionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListVersionsResponse) Reset()
- func (x *ListVersionsResponse) String() string
- type LocalizedSettings
- func (*LocalizedSettings) Descriptor() ([]byte, []int)deprecated
- func (x *LocalizedSettings) GetDeveloperEmail() string
- func (x *LocalizedSettings) GetDeveloperName() string
- func (x *LocalizedSettings) GetDisplayName() string
- func (x *LocalizedSettings) GetFullDescription() string
- func (x *LocalizedSettings) GetLargeBannerImage() string
- func (x *LocalizedSettings) GetPrivacyPolicyUrl() string
- func (x *LocalizedSettings) GetPronunciation() string
- func (x *LocalizedSettings) GetSampleInvocations() []string
- func (x *LocalizedSettings) GetShortDescription() string
- func (x *LocalizedSettings) GetSmallLogoImage() string
- func (x *LocalizedSettings) GetTermsOfServiceUrl() string
- func (x *LocalizedSettings) GetThemeCustomization() *ThemeCustomization
- func (x *LocalizedSettings) GetVoice() string
- func (x *LocalizedSettings) GetVoiceLocale() string
- func (*LocalizedSettings) ProtoMessage()
- func (x *LocalizedSettings) ProtoReflect() protoreflect.Message
- func (x *LocalizedSettings) Reset()
- func (x *LocalizedSettings) String() string
- type Location
- func (*Location) Descriptor() ([]byte, []int)deprecated
- func (x *Location) GetCity() string
- func (x *Location) GetCoordinates() *latlng.LatLng
- func (x *Location) GetFormattedAddress() string
- func (x *Location) GetZipCode() string
- func (*Location) ProtoMessage()
- func (x *Location) ProtoReflect() protoreflect.Message
- func (x *Location) Reset()
- func (x *Location) String() string
- type Manifest
- type MatchIntentsRequest
- func (*MatchIntentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MatchIntentsRequest) GetLocale() string
- func (x *MatchIntentsRequest) GetProject() string
- func (x *MatchIntentsRequest) GetQuery() string
- func (*MatchIntentsRequest) ProtoMessage()
- func (x *MatchIntentsRequest) ProtoReflect() protoreflect.Message
- func (x *MatchIntentsRequest) Reset()
- func (x *MatchIntentsRequest) String() string
- type MatchIntentsResponse
- func (*MatchIntentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MatchIntentsResponse) GetMatchedIntents() []*conversation.Intent
- func (*MatchIntentsResponse) ProtoMessage()
- func (x *MatchIntentsResponse) ProtoReflect() protoreflect.Message
- func (x *MatchIntentsResponse) Reset()
- func (x *MatchIntentsResponse) String() string
- type OnSceneEnter
- type Output
- func (*Output) Descriptor() ([]byte, []int)deprecated
- func (x *Output) GetActionsBuilderPrompt() *conversation.Prompt
- func (x *Output) GetCanvas() *conversation.Canvas
- func (x *Output) GetSpeech() []string
- func (x *Output) GetText() string
- func (*Output) ProtoMessage()
- func (x *Output) ProtoReflect() protoreflect.Message
- func (x *Output) Reset()
- func (x *Output) String() string
- type Preview
- func (*Preview) Descriptor() ([]byte, []int)deprecated
- func (x *Preview) GetName() string
- func (x *Preview) GetSimulatorUrl() string
- func (x *Preview) GetValidationResults() *ValidationResults
- func (*Preview) ProtoMessage()
- func (x *Preview) ProtoReflect() protoreflect.Message
- func (x *Preview) Reset()
- func (x *Preview) String() string
- type ReadDraftRequest
- func (*ReadDraftRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadDraftRequest) GetClientSecretEncryptionKeyVersion() string
- func (x *ReadDraftRequest) GetName() string
- func (*ReadDraftRequest) ProtoMessage()
- func (x *ReadDraftRequest) ProtoReflect() protoreflect.Message
- func (x *ReadDraftRequest) Reset()
- func (x *ReadDraftRequest) String() string
- type ReadDraftResponse
- type ReadVersionRequest
- func (*ReadVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadVersionRequest) GetClientSecretEncryptionKeyVersion() string
- func (x *ReadVersionRequest) GetName() string
- func (*ReadVersionRequest) ProtoMessage()
- func (x *ReadVersionRequest) ProtoReflect() protoreflect.Message
- func (x *ReadVersionRequest) Reset()
- func (x *ReadVersionRequest) String() string
- type ReadVersionResponse
- func (*ReadVersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadVersionResponse) GetFiles() *Files
- func (*ReadVersionResponse) ProtoMessage()
- func (x *ReadVersionResponse) ProtoReflect() protoreflect.Message
- func (x *ReadVersionResponse) Reset()
- func (x *ReadVersionResponse) String() string
- type ReleaseChannel
- func (*ReleaseChannel) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseChannel) GetCurrentVersion() string
- func (x *ReleaseChannel) GetName() string
- func (x *ReleaseChannel) GetPendingVersion() string
- func (*ReleaseChannel) ProtoMessage()
- func (x *ReleaseChannel) ProtoReflect() protoreflect.Message
- func (x *ReleaseChannel) Reset()
- func (x *ReleaseChannel) String() string
- type SampleProject
- func (*SampleProject) Descriptor() ([]byte, []int)deprecated
- func (x *SampleProject) GetDescription() string
- func (x *SampleProject) GetHostedUrl() string
- func (x *SampleProject) GetName() string
- func (*SampleProject) ProtoMessage()
- func (x *SampleProject) ProtoReflect() protoreflect.Message
- func (x *SampleProject) Reset()
- func (x *SampleProject) String() string
- type SendInteractionRequest
- func (*SendInteractionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendInteractionRequest) GetConversationToken() string
- func (x *SendInteractionRequest) GetDeviceProperties() *DeviceProperties
- func (x *SendInteractionRequest) GetInput() *UserInput
- func (x *SendInteractionRequest) GetProject() string
- func (*SendInteractionRequest) ProtoMessage()
- func (x *SendInteractionRequest) ProtoReflect() protoreflect.Message
- func (x *SendInteractionRequest) Reset()
- func (x *SendInteractionRequest) String() string
- type SendInteractionResponse
- func (*SendInteractionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendInteractionResponse) GetConversationToken() string
- func (x *SendInteractionResponse) GetDiagnostics() *Diagnostics
- func (x *SendInteractionResponse) GetOutput() *Output
- func (*SendInteractionResponse) ProtoMessage()
- func (x *SendInteractionResponse) ProtoReflect() protoreflect.Message
- func (x *SendInteractionResponse) Reset()
- func (x *SendInteractionResponse) String() string
- type SetWebAndAppActivityControlRequest
- func (*SetWebAndAppActivityControlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetWebAndAppActivityControlRequest) GetEnabled() bool
- func (*SetWebAndAppActivityControlRequest) ProtoMessage()
- func (x *SetWebAndAppActivityControlRequest) ProtoReflect() protoreflect.Message
- func (x *SetWebAndAppActivityControlRequest) Reset()
- func (x *SetWebAndAppActivityControlRequest) String() string
- type Settings
- func (*Settings) Descriptor() ([]byte, []int)deprecated
- func (x *Settings) GetAccountLinking() *AccountLinking
- func (x *Settings) GetCategory() Settings_Category
- func (x *Settings) GetContainsAlcoholOrTobaccoContent() bool
- func (x *Settings) GetDefaultLocale() string
- func (x *Settings) GetDesignedForFamily() bool
- func (x *Settings) GetDisabledRegions() []string
- func (x *Settings) GetEnabledRegions() []string
- func (x *Settings) GetKeepsMicOpen() bool
- func (x *Settings) GetLocalizedSettings() *LocalizedSettings
- func (x *Settings) GetProjectId() string
- func (x *Settings) GetSelectedAndroidApps() []string
- func (x *Settings) GetSurfaceRequirements() *SurfaceRequirements
- func (x *Settings) GetTestingInstructions() string
- func (x *Settings) GetUsesDigitalPurchaseApi() bool
- func (x *Settings) GetUsesHomeStorage() bool
- func (x *Settings) GetUsesInteractiveCanvas() bool
- func (x *Settings) GetUsesTransactionsApi() bool
- func (*Settings) ProtoMessage()
- func (x *Settings) ProtoReflect() protoreflect.Message
- func (x *Settings) Reset()
- func (x *Settings) String() string
- type Settings_Category
- func (Settings_Category) Descriptor() protoreflect.EnumDescriptor
- func (x Settings_Category) Enum() *Settings_Category
- func (Settings_Category) EnumDescriptor() ([]byte, []int)deprecated
- func (x Settings_Category) Number() protoreflect.EnumNumber
- func (x Settings_Category) String() string
- func (Settings_Category) Type() protoreflect.EnumType
- type SlotMatch
- type SlotRequested
- func (*SlotRequested) Descriptor() ([]byte, []int)deprecated
- func (x *SlotRequested) GetPrompt() *conversation.Prompt
- func (x *SlotRequested) GetSlot() string
- func (*SlotRequested) ProtoMessage()
- func (x *SlotRequested) ProtoReflect() protoreflect.Message
- func (x *SlotRequested) Reset()
- func (x *SlotRequested) String() string
- type SlotValidated
- type Slots
- func (*Slots) Descriptor() ([]byte, []int)deprecated
- func (x *Slots) GetSlots() map[string]*conversation.Slot
- func (x *Slots) GetStatus() conversation.SlotFillingStatus
- func (*Slots) ProtoMessage()
- func (x *Slots) ProtoReflect() protoreflect.Message
- func (x *Slots) Reset()
- func (x *Slots) String() string
- type SurfaceRequirements
- func (*SurfaceRequirements) Descriptor() ([]byte, []int)deprecated
- func (x *SurfaceRequirements) GetMinimumRequirements() []*CapabilityRequirement
- func (*SurfaceRequirements) ProtoMessage()
- func (x *SurfaceRequirements) ProtoReflect() protoreflect.Message
- func (x *SurfaceRequirements) Reset()
- func (x *SurfaceRequirements) String() string
- type ThemeCustomization
- func (*ThemeCustomization) Descriptor() ([]byte, []int)deprecated
- func (x *ThemeCustomization) GetBackgroundColor() string
- func (x *ThemeCustomization) GetFontFamily() string
- func (x *ThemeCustomization) GetImageCornerStyle() ThemeCustomization_ImageCornerStyle
- func (x *ThemeCustomization) GetLandscapeBackgroundImage() string
- func (x *ThemeCustomization) GetPortraitBackgroundImage() string
- func (x *ThemeCustomization) GetPrimaryColor() string
- func (*ThemeCustomization) ProtoMessage()
- func (x *ThemeCustomization) ProtoReflect() protoreflect.Message
- func (x *ThemeCustomization) Reset()
- func (x *ThemeCustomization) String() string
- type ThemeCustomization_ImageCornerStyle
- func (ThemeCustomization_ImageCornerStyle) Descriptor() protoreflect.EnumDescriptor
- func (x ThemeCustomization_ImageCornerStyle) Enum() *ThemeCustomization_ImageCornerStyle
- func (ThemeCustomization_ImageCornerStyle) EnumDescriptor() ([]byte, []int)deprecated
- func (x ThemeCustomization_ImageCornerStyle) Number() protoreflect.EnumNumber
- func (x ThemeCustomization_ImageCornerStyle) String() string
- func (ThemeCustomization_ImageCornerStyle) Type() protoreflect.EnumType
- type UnimplementedActionsSdkServer
- func (*UnimplementedActionsSdkServer) CreateVersion(ActionsSdk_CreateVersionServer) error
- func (*UnimplementedActionsSdkServer) DecryptSecret(context.Context, *DecryptSecretRequest) (*DecryptSecretResponse, error)
- func (*UnimplementedActionsSdkServer) EncryptSecret(context.Context, *EncryptSecretRequest) (*EncryptSecretResponse, error)
- func (*UnimplementedActionsSdkServer) ListReleaseChannels(context.Context, *ListReleaseChannelsRequest) (*ListReleaseChannelsResponse, error)
- func (*UnimplementedActionsSdkServer) ListSampleProjects(context.Context, *ListSampleProjectsRequest) (*ListSampleProjectsResponse, error)
- func (*UnimplementedActionsSdkServer) ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error)
- func (*UnimplementedActionsSdkServer) ReadDraft(*ReadDraftRequest, ActionsSdk_ReadDraftServer) error
- func (*UnimplementedActionsSdkServer) ReadVersion(*ReadVersionRequest, ActionsSdk_ReadVersionServer) error
- func (*UnimplementedActionsSdkServer) WriteDraft(ActionsSdk_WriteDraftServer) error
- func (*UnimplementedActionsSdkServer) WritePreview(ActionsSdk_WritePreviewServer) error
- type UnimplementedActionsTestingServer
- func (*UnimplementedActionsTestingServer) MatchIntents(context.Context, *MatchIntentsRequest) (*MatchIntentsResponse, error)
- func (*UnimplementedActionsTestingServer) SendInteraction(context.Context, *SendInteractionRequest) (*SendInteractionResponse, error)
- func (*UnimplementedActionsTestingServer) SetWebAndAppActivityControl(context.Context, *SetWebAndAppActivityControlRequest) (*emptypb.Empty, error)
- type UserConversationInput
- func (*UserConversationInput) Descriptor() ([]byte, []int)deprecated
- func (x *UserConversationInput) GetOriginalQuery() string
- func (x *UserConversationInput) GetType() string
- func (*UserConversationInput) ProtoMessage()
- func (x *UserConversationInput) ProtoReflect() protoreflect.Message
- func (x *UserConversationInput) Reset()
- func (x *UserConversationInput) String() string
- type UserInput
- type UserInput_InputType
- func (UserInput_InputType) Descriptor() protoreflect.EnumDescriptor
- func (x UserInput_InputType) Enum() *UserInput_InputType
- func (UserInput_InputType) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserInput_InputType) Number() protoreflect.EnumNumber
- func (x UserInput_InputType) String() string
- func (UserInput_InputType) Type() protoreflect.EnumType
- type ValidationResult
- func (*ValidationResult) Descriptor() ([]byte, []int)deprecated
- func (x *ValidationResult) GetValidationContext() *ValidationResult_ValidationContext
- func (x *ValidationResult) GetValidationMessage() string
- func (*ValidationResult) ProtoMessage()
- func (x *ValidationResult) ProtoReflect() protoreflect.Message
- func (x *ValidationResult) Reset()
- func (x *ValidationResult) String() string
- type ValidationResult_ValidationContext
- func (*ValidationResult_ValidationContext) Descriptor() ([]byte, []int)deprecated
- func (x *ValidationResult_ValidationContext) GetLanguageCode() string
- func (*ValidationResult_ValidationContext) ProtoMessage()
- func (x *ValidationResult_ValidationContext) ProtoReflect() protoreflect.Message
- func (x *ValidationResult_ValidationContext) Reset()
- func (x *ValidationResult_ValidationContext) String() string
- type ValidationResults
- func (*ValidationResults) Descriptor() ([]byte, []int)deprecated
- func (x *ValidationResults) GetResults() []*ValidationResult
- func (*ValidationResults) ProtoMessage()
- func (x *ValidationResults) ProtoReflect() protoreflect.Message
- func (x *ValidationResults) Reset()
- func (x *ValidationResults) String() string
- type Version
- func (*Version) Descriptor() ([]byte, []int)deprecated
- func (x *Version) GetCreator() string
- func (x *Version) GetName() string
- func (x *Version) GetUpdateTime() *timestamppb.Timestamp
- func (x *Version) GetVersionState() *Version_VersionState
- func (*Version) ProtoMessage()
- func (x *Version) ProtoReflect() protoreflect.Message
- func (x *Version) Reset()
- func (x *Version) String() string
- type Version_VersionState
- func (*Version_VersionState) Descriptor() ([]byte, []int)deprecated
- func (x *Version_VersionState) GetMessage() string
- func (x *Version_VersionState) GetState() Version_VersionState_State
- func (*Version_VersionState) ProtoMessage()
- func (x *Version_VersionState) ProtoReflect() protoreflect.Message
- func (x *Version_VersionState) Reset()
- func (x *Version_VersionState) String() string
- type Version_VersionState_State
- func (Version_VersionState_State) Descriptor() protoreflect.EnumDescriptor
- func (x Version_VersionState_State) Enum() *Version_VersionState_State
- func (Version_VersionState_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Version_VersionState_State) Number() protoreflect.EnumNumber
- func (x Version_VersionState_State) String() string
- func (Version_VersionState_State) Type() protoreflect.EnumType
- type WaitingForUserInput
- type Webhook
- func (*Webhook) Descriptor() ([]byte, []int)deprecated
- func (x *Webhook) GetHandlers() []*Webhook_Handler
- func (x *Webhook) GetHttpsEndpoint() *Webhook_HttpsEndpoint
- func (x *Webhook) GetInlineCloudFunction() *Webhook_InlineCloudFunction
- func (m *Webhook) GetWebhookType() isWebhook_WebhookType
- func (*Webhook) ProtoMessage()
- func (x *Webhook) ProtoReflect() protoreflect.Message
- func (x *Webhook) Reset()
- func (x *Webhook) String() string
- type WebhookInitiatedTransition
- func (*WebhookInitiatedTransition) Descriptor() ([]byte, []int)deprecated
- func (x *WebhookInitiatedTransition) GetNextSceneId() string
- func (*WebhookInitiatedTransition) ProtoMessage()
- func (x *WebhookInitiatedTransition) ProtoReflect() protoreflect.Message
- func (x *WebhookInitiatedTransition) Reset()
- func (x *WebhookInitiatedTransition) String() string
- type WebhookRequest
- type WebhookResponse
- type Webhook_Handler
- type Webhook_HttpsEndpoint
- func (*Webhook_HttpsEndpoint) Descriptor() ([]byte, []int)deprecated
- func (x *Webhook_HttpsEndpoint) GetBaseUrl() string
- func (x *Webhook_HttpsEndpoint) GetEndpointApiVersion() int32
- func (x *Webhook_HttpsEndpoint) GetHttpHeaders() map[string]string
- func (*Webhook_HttpsEndpoint) ProtoMessage()
- func (x *Webhook_HttpsEndpoint) ProtoReflect() protoreflect.Message
- func (x *Webhook_HttpsEndpoint) Reset()
- func (x *Webhook_HttpsEndpoint) String() string
- type Webhook_HttpsEndpoint_
- type Webhook_InlineCloudFunction
- func (*Webhook_InlineCloudFunction) Descriptor() ([]byte, []int)deprecated
- func (x *Webhook_InlineCloudFunction) GetExecuteFunction() string
- func (*Webhook_InlineCloudFunction) ProtoMessage()
- func (x *Webhook_InlineCloudFunction) ProtoReflect() protoreflect.Message
- func (x *Webhook_InlineCloudFunction) Reset()
- func (x *Webhook_InlineCloudFunction) String() string
- type Webhook_InlineCloudFunction_
- type WriteDraftRequest
- func (*WriteDraftRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteDraftRequest) GetFiles() *Files
- func (x *WriteDraftRequest) GetParent() string
- func (*WriteDraftRequest) ProtoMessage()
- func (x *WriteDraftRequest) ProtoReflect() protoreflect.Message
- func (x *WriteDraftRequest) Reset()
- func (x *WriteDraftRequest) String() string
- type WritePreviewRequest
- func (*WritePreviewRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WritePreviewRequest) GetDraft() *WritePreviewRequest_ContentFromDraft
- func (x *WritePreviewRequest) GetFiles() *Files
- func (x *WritePreviewRequest) GetParent() string
- func (x *WritePreviewRequest) GetPreviewSettings() *WritePreviewRequest_PreviewSettings
- func (m *WritePreviewRequest) GetSource() isWritePreviewRequest_Source
- func (x *WritePreviewRequest) GetSubmittedVersion() *WritePreviewRequest_ContentFromSubmittedVersion
- func (*WritePreviewRequest) ProtoMessage()
- func (x *WritePreviewRequest) ProtoReflect() protoreflect.Message
- func (x *WritePreviewRequest) Reset()
- func (x *WritePreviewRequest) String() string
- type WritePreviewRequest_ContentFromDraft
- func (*WritePreviewRequest_ContentFromDraft) Descriptor() ([]byte, []int)deprecated
- func (*WritePreviewRequest_ContentFromDraft) ProtoMessage()
- func (x *WritePreviewRequest_ContentFromDraft) ProtoReflect() protoreflect.Message
- func (x *WritePreviewRequest_ContentFromDraft) Reset()
- func (x *WritePreviewRequest_ContentFromDraft) String() string
- type WritePreviewRequest_ContentFromSubmittedVersion
- func (*WritePreviewRequest_ContentFromSubmittedVersion) Descriptor() ([]byte, []int)deprecated
- func (x *WritePreviewRequest_ContentFromSubmittedVersion) GetVersion() string
- func (*WritePreviewRequest_ContentFromSubmittedVersion) ProtoMessage()
- func (x *WritePreviewRequest_ContentFromSubmittedVersion) ProtoReflect() protoreflect.Message
- func (x *WritePreviewRequest_ContentFromSubmittedVersion) Reset()
- func (x *WritePreviewRequest_ContentFromSubmittedVersion) String() string
- type WritePreviewRequest_Draft
- type WritePreviewRequest_Files
- type WritePreviewRequest_PreviewSettings
- func (*WritePreviewRequest_PreviewSettings) Descriptor() ([]byte, []int)deprecated
- func (x *WritePreviewRequest_PreviewSettings) GetSandbox() *wrapperspb.BoolValue
- func (*WritePreviewRequest_PreviewSettings) ProtoMessage()
- func (x *WritePreviewRequest_PreviewSettings) ProtoReflect() protoreflect.Message
- func (x *WritePreviewRequest_PreviewSettings) Reset()
- func (x *WritePreviewRequest_PreviewSettings) String() string
- type WritePreviewRequest_SubmittedVersion
Constants ¶
This section is empty.
Variables ¶
var ( AccountLinking_LinkingType_name = map[int32]string{ 0: "LINKING_TYPE_UNSPECIFIED", 1: "GOOGLE_SIGN_IN", 2: "OAUTH_AND_GOOGLE_SIGN_IN", 3: "OAUTH", } AccountLinking_LinkingType_value = map[string]int32{ "LINKING_TYPE_UNSPECIFIED": 0, "GOOGLE_SIGN_IN": 1, "OAUTH_AND_GOOGLE_SIGN_IN": 2, "OAUTH": 3, } )
Enum value maps for AccountLinking_LinkingType.
var ( AccountLinking_AuthGrantType_name = map[int32]string{ 0: "AUTH_GRANT_TYPE_UNSPECIFIED", 1: "AUTH_CODE", 2: "IMPLICIT", } AccountLinking_AuthGrantType_value = map[string]int32{ "AUTH_GRANT_TYPE_UNSPECIFIED": 0, "AUTH_CODE": 1, "IMPLICIT": 2, } )
Enum value maps for AccountLinking_AuthGrantType.
var ( UserInput_InputType_name = map[int32]string{ 0: "INPUT_TYPE_UNSPECIFIED", 1: "TOUCH", 2: "VOICE", 3: "KEYBOARD", 4: "URL", } UserInput_InputType_value = map[string]int32{ "INPUT_TYPE_UNSPECIFIED": 0, "TOUCH": 1, "VOICE": 2, "KEYBOARD": 3, "URL": 4, } )
Enum value maps for UserInput_InputType.
var ( DeviceProperties_Surface_name = map[int32]string{ 0: "SURFACE_UNSPECIFIED", 1: "SPEAKER", 2: "PHONE", 3: "ALLO", 4: "SMART_DISPLAY", 5: "KAI_OS", } DeviceProperties_Surface_value = map[string]int32{ "SURFACE_UNSPECIFIED": 0, "SPEAKER": 1, "PHONE": 2, "ALLO": 3, "SMART_DISPLAY": 4, "KAI_OS": 5, } )
Enum value maps for DeviceProperties_Surface.
var ( Settings_Category_name = map[int32]string{ 0: "CATEGORY_UNSPECIFIED", 2: "BUSINESS_AND_FINANCE", 3: "EDUCATION_AND_REFERENCE", 4: "FOOD_AND_DRINK", 5: "GAMES_AND_TRIVIA", 6: "HEALTH_AND_FITNESS", 20: "KIDS_AND_FAMILY", 7: "LIFESTYLE", 8: "LOCAL", 9: "MOVIES_AND_TV", 10: "MUSIC_AND_AUDIO", 1: "NEWS", 11: "NOVELTY_AND_HUMOR", 12: "PRODUCTIVITY", 13: "SHOPPING", 14: "SOCIAL", 15: "SPORTS", 16: "TRAVEL_AND_TRANSPORTATION", 17: "UTILITIES", 18: "WEATHER", 19: "HOME_CONTROL", } Settings_Category_value = map[string]int32{ "CATEGORY_UNSPECIFIED": 0, "BUSINESS_AND_FINANCE": 2, "EDUCATION_AND_REFERENCE": 3, "FOOD_AND_DRINK": 4, "GAMES_AND_TRIVIA": 5, "HEALTH_AND_FITNESS": 6, "KIDS_AND_FAMILY": 20, "LIFESTYLE": 7, "LOCAL": 8, "MOVIES_AND_TV": 9, "MUSIC_AND_AUDIO": 10, "NEWS": 1, "NOVELTY_AND_HUMOR": 11, "PRODUCTIVITY": 12, "SHOPPING": 13, "SOCIAL": 14, "SPORTS": 15, "TRAVEL_AND_TRANSPORTATION": 16, "UTILITIES": 17, "WEATHER": 18, "HOME_CONTROL": 19, } )
Enum value maps for Settings_Category.
var ( CapabilityRequirement_SurfaceCapability_name = map[int32]string{ 0: "SURFACE_CAPABILITY_UNSPECIFIED", 1: "AUDIO_OUTPUT", 2: "SCREEN_OUTPUT", 3: "MEDIA_RESPONSE_AUDIO", 4: "WEB_BROWSER", 7: "ACCOUNT_LINKING", 8: "INTERACTIVE_CANVAS", 9: "HOME_STORAGE", } CapabilityRequirement_SurfaceCapability_value = map[string]int32{ "SURFACE_CAPABILITY_UNSPECIFIED": 0, "AUDIO_OUTPUT": 1, "SCREEN_OUTPUT": 2, "MEDIA_RESPONSE_AUDIO": 3, "WEB_BROWSER": 4, "ACCOUNT_LINKING": 7, "INTERACTIVE_CANVAS": 8, "HOME_STORAGE": 9, } )
Enum value maps for CapabilityRequirement_SurfaceCapability.
var ( ThemeCustomization_ImageCornerStyle_name = map[int32]string{ 0: "IMAGE_CORNER_STYLE_UNSPECIFIED", 1: "CURVED", 2: "ANGLED", } ThemeCustomization_ImageCornerStyle_value = map[string]int32{ "IMAGE_CORNER_STYLE_UNSPECIFIED": 0, "CURVED": 1, "ANGLED": 2, } )
Enum value maps for ThemeCustomization_ImageCornerStyle.
var ( Version_VersionState_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CREATION_IN_PROGRESS", 2: "CREATION_FAILED", 3: "CREATED", 4: "REVIEW_IN_PROGRESS", 5: "APPROVED", 6: "CONDITIONALLY_APPROVED", 7: "DENIED", 8: "UNDER_TAKEDOWN", 9: "DELETED", } Version_VersionState_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CREATION_IN_PROGRESS": 1, "CREATION_FAILED": 2, "CREATED": 3, "REVIEW_IN_PROGRESS": 4, "APPROVED": 5, "CONDITIONALLY_APPROVED": 6, "DENIED": 7, "UNDER_TAKEDOWN": 8, "DELETED": 9, } )
Enum value maps for Version_VersionState_State.
var File_google_actions_sdk_v2_account_linking_proto protoreflect.FileDescriptor
var File_google_actions_sdk_v2_account_linking_secret_proto protoreflect.FileDescriptor
var File_google_actions_sdk_v2_action_proto protoreflect.FileDescriptor
var File_google_actions_sdk_v2_actions_sdk_proto protoreflect.FileDescriptor
var File_google_actions_sdk_v2_actions_testing_proto protoreflect.FileDescriptor
var File_google_actions_sdk_v2_config_file_proto protoreflect.FileDescriptor
var File_google_actions_sdk_v2_data_file_proto protoreflect.FileDescriptor
var File_google_actions_sdk_v2_event_logs_proto protoreflect.FileDescriptor
var File_google_actions_sdk_v2_files_proto protoreflect.FileDescriptor
var File_google_actions_sdk_v2_localized_settings_proto protoreflect.FileDescriptor
var File_google_actions_sdk_v2_manifest_proto protoreflect.FileDescriptor
var File_google_actions_sdk_v2_release_channel_proto protoreflect.FileDescriptor
var File_google_actions_sdk_v2_settings_proto protoreflect.FileDescriptor
var File_google_actions_sdk_v2_surface_proto protoreflect.FileDescriptor
var File_google_actions_sdk_v2_theme_customization_proto protoreflect.FileDescriptor
var File_google_actions_sdk_v2_validation_results_proto protoreflect.FileDescriptor
var File_google_actions_sdk_v2_version_proto protoreflect.FileDescriptor
var File_google_actions_sdk_v2_webhook_proto protoreflect.FileDescriptor
Functions ¶
func RegisterActionsSdkServer ¶
func RegisterActionsSdkServer(s *grpc.Server, srv ActionsSdkServer)
func RegisterActionsTestingServer ¶
func RegisterActionsTestingServer(s *grpc.Server, srv ActionsTestingServer)
Types ¶
type AccountLinking ¶
type AccountLinking struct { // Required. If `true`, users are allowed to sign up for new accounts via voice. // If `false`, account creation is only allowed on your website. Select this // option if you want to display your terms of service or obtain user consents // during sign-up. // linking_type cannot be GOOGLE_SIGN_IN when this is `false`. // linking_type cannot be OAUTH when this is `true`. EnableAccountCreation bool `` /* 127-byte string literal not displayed */ // Required. The linking type to use. // See https://developers.google.com/assistant/identity for further details on // the linking types. LinkingType AccountLinking_LinkingType `` /* 149-byte string literal not displayed */ // Optional. Indicates the type of authentication for OAUTH linking_type. AuthGrantType AccountLinking_AuthGrantType `` /* 159-byte string literal not displayed */ // Optional. Client ID issued by your App to Google. // This is the OAuth2 Client ID identifying Google to your service. // Only set when using OAuth. AppClientId string `protobuf:"bytes,4,opt,name=app_client_id,json=appClientId,proto3" json:"app_client_id,omitempty"` // Optional. Endpoint for your sign-in web page that supports OAuth2 code or // implicit flows. // URL must use HTTPS. // Only set when using OAuth. AuthorizationUrl string `protobuf:"bytes,5,opt,name=authorization_url,json=authorizationUrl,proto3" json:"authorization_url,omitempty"` // Optional. OAuth2 endpoint for token exchange. // URL must use HTTPS. // This is not set when only using OAuth with IMPLICIT grant as the // linking type. // Only set when using OAuth. TokenUrl string `protobuf:"bytes,6,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"` // Optional. List of permissions the user must consent to in order to use // your service. // Only set when using OAuth. // Make sure to provide a Terms of Service in the directory information in // LocalizedSettings.terms_of_service_url section if specifying this field. Scopes []string `protobuf:"bytes,7,rep,name=scopes,proto3" json:"scopes,omitempty"` // Optional. This is the web page on your service which describes the // permissions the user is granting to Google. // Only set if using OAuth and Google Sign In. // Make sure to provide a Terms of Service in the directory information in // LocalizedSettings.terms_of_service_url section if specifying this field. LearnMoreUrl string `protobuf:"bytes,8,opt,name=learn_more_url,json=learnMoreUrl,proto3" json:"learn_more_url,omitempty"` // Optional. If true, allow Google to transmit client ID and secret via HTTP // basic auth header. Otherwise, Google uses the client ID and secret inside // the post body. // Only set when using OAuth. // Make sure to provide a Terms of Service in the directory information in // LocalizedSettings.terms_of_service_url section if specifying this field. UseBasicAuthHeader bool `protobuf:"varint,9,opt,name=use_basic_auth_header,json=useBasicAuthHeader,proto3" json:"use_basic_auth_header,omitempty"` // contains filtered or unexported fields }
AccountLinking allows Google to guide the user to sign-in to the App's web services.
For Google Sign In and OAuth + Google Sign In linking types, Google generates a client ID identifying your App to Google ("Client ID issued by Google to your Actions" on Console UI). This field is read-only and can be checked by navigating to the Console UI's Account Linking page. See: https://developers.google.com/assistant/identity/google-sign-in
Note: For all account linking setting types (except for Google Sign In), you must provide a username and password for a test account in Settings.testing_instructions for the review team to review the app (they will not be visible to users).
func (*AccountLinking) Descriptor
deprecated
func (*AccountLinking) Descriptor() ([]byte, []int)
Deprecated: Use AccountLinking.ProtoReflect.Descriptor instead.
func (*AccountLinking) GetAppClientId ¶
func (x *AccountLinking) GetAppClientId() string
func (*AccountLinking) GetAuthGrantType ¶
func (x *AccountLinking) GetAuthGrantType() AccountLinking_AuthGrantType
func (*AccountLinking) GetAuthorizationUrl ¶
func (x *AccountLinking) GetAuthorizationUrl() string
func (*AccountLinking) GetEnableAccountCreation ¶
func (x *AccountLinking) GetEnableAccountCreation() bool
func (*AccountLinking) GetLearnMoreUrl ¶
func (x *AccountLinking) GetLearnMoreUrl() string
func (*AccountLinking) GetLinkingType ¶
func (x *AccountLinking) GetLinkingType() AccountLinking_LinkingType
func (*AccountLinking) GetScopes ¶
func (x *AccountLinking) GetScopes() []string
func (*AccountLinking) GetTokenUrl ¶
func (x *AccountLinking) GetTokenUrl() string
func (*AccountLinking) GetUseBasicAuthHeader ¶
func (x *AccountLinking) GetUseBasicAuthHeader() bool
func (*AccountLinking) ProtoMessage ¶
func (*AccountLinking) ProtoMessage()
func (*AccountLinking) ProtoReflect ¶
func (x *AccountLinking) ProtoReflect() protoreflect.Message
func (*AccountLinking) Reset ¶
func (x *AccountLinking) Reset()
func (*AccountLinking) String ¶
func (x *AccountLinking) String() string
type AccountLinkingSecret ¶
type AccountLinkingSecret struct { // Encrypted account linking client secret ciphertext. EncryptedClientSecret []byte `` /* 126-byte string literal not displayed */ // The version of the crypto key used to encrypt the account linking client // secret. // Note that this field is ignored in push, preview, and version creation // flows. EncryptionKeyVersion string `protobuf:"bytes,2,opt,name=encryption_key_version,json=encryptionKeyVersion,proto3" json:"encryption_key_version,omitempty"` // contains filtered or unexported fields }
Information about the encrypted OAuth client secret used in account linking flows (for AUTH_CODE grant type).
func (*AccountLinkingSecret) Descriptor
deprecated
func (*AccountLinkingSecret) Descriptor() ([]byte, []int)
Deprecated: Use AccountLinkingSecret.ProtoReflect.Descriptor instead.
func (*AccountLinkingSecret) GetEncryptedClientSecret ¶
func (x *AccountLinkingSecret) GetEncryptedClientSecret() []byte
func (*AccountLinkingSecret) GetEncryptionKeyVersion ¶
func (x *AccountLinkingSecret) GetEncryptionKeyVersion() string
func (*AccountLinkingSecret) ProtoMessage ¶
func (*AccountLinkingSecret) ProtoMessage()
func (*AccountLinkingSecret) ProtoReflect ¶
func (x *AccountLinkingSecret) ProtoReflect() protoreflect.Message
func (*AccountLinkingSecret) Reset ¶
func (x *AccountLinkingSecret) Reset()
func (*AccountLinkingSecret) String ¶
func (x *AccountLinkingSecret) String() string
type AccountLinking_AuthGrantType ¶
type AccountLinking_AuthGrantType int32
The OAuth2 grant type Google uses to guide the user to sign in to your App's web service.
const ( // Unspecified. AccountLinking_AUTH_GRANT_TYPE_UNSPECIFIED AccountLinking_AuthGrantType = 0 // Authorization code grant. Requires you to provide both // authentication URL and access token URL. AccountLinking_AUTH_CODE AccountLinking_AuthGrantType = 1 // Implicit code grant. Only requires you to provide authentication // URL. AccountLinking_IMPLICIT AccountLinking_AuthGrantType = 2 )
func (AccountLinking_AuthGrantType) Descriptor ¶
func (AccountLinking_AuthGrantType) Descriptor() protoreflect.EnumDescriptor
func (AccountLinking_AuthGrantType) Enum ¶
func (x AccountLinking_AuthGrantType) Enum() *AccountLinking_AuthGrantType
func (AccountLinking_AuthGrantType) EnumDescriptor
deprecated
func (AccountLinking_AuthGrantType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccountLinking_AuthGrantType.Descriptor instead.
func (AccountLinking_AuthGrantType) Number ¶
func (x AccountLinking_AuthGrantType) Number() protoreflect.EnumNumber
func (AccountLinking_AuthGrantType) String ¶
func (x AccountLinking_AuthGrantType) String() string
func (AccountLinking_AuthGrantType) Type ¶
func (AccountLinking_AuthGrantType) Type() protoreflect.EnumType
type AccountLinking_LinkingType ¶
type AccountLinking_LinkingType int32
The type of Account Linking to perform.
const ( // Unspecified. AccountLinking_LINKING_TYPE_UNSPECIFIED AccountLinking_LinkingType = 0 // Google Sign In linking type. // If using this linking type, no OAuth-related fields need to be set below. AccountLinking_GOOGLE_SIGN_IN AccountLinking_LinkingType = 1 // OAuth and Google Sign In linking type. AccountLinking_OAUTH_AND_GOOGLE_SIGN_IN AccountLinking_LinkingType = 2 // OAuth linking type. AccountLinking_OAUTH AccountLinking_LinkingType = 3 )
func (AccountLinking_LinkingType) Descriptor ¶
func (AccountLinking_LinkingType) Descriptor() protoreflect.EnumDescriptor
func (AccountLinking_LinkingType) Enum ¶
func (x AccountLinking_LinkingType) Enum() *AccountLinking_LinkingType
func (AccountLinking_LinkingType) EnumDescriptor
deprecated
func (AccountLinking_LinkingType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccountLinking_LinkingType.Descriptor instead.
func (AccountLinking_LinkingType) Number ¶
func (x AccountLinking_LinkingType) Number() protoreflect.EnumNumber
func (AccountLinking_LinkingType) String ¶
func (x AccountLinking_LinkingType) String() string
func (AccountLinking_LinkingType) Type ¶
func (AccountLinking_LinkingType) Type() protoreflect.EnumType
type Actions ¶
type Actions struct { // Map from intents to custom Actions to configure invocation for the project. // The invocation intents could either be system or custom intents defined // in the "custom/intents/" package. All intents defined here (system // intents & custom intents) must have a corresponding intent file in the // "custom/global/" package. Custom map[string]*Actions_CustomAction `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
Represents the list of Actions defined in a project.
func (*Actions) Descriptor
deprecated
func (*Actions) GetCustom ¶
func (x *Actions) GetCustom() map[string]*Actions_CustomAction
func (*Actions) ProtoMessage ¶
func (*Actions) ProtoMessage()
func (*Actions) ProtoReflect ¶
func (x *Actions) ProtoReflect() protoreflect.Message
type ActionsSdkClient ¶
type ActionsSdkClient interface { // Updates the project draft based on the model. WriteDraft(ctx context.Context, opts ...grpc.CallOption) (ActionsSdk_WriteDraftClient, error) // Updates the user's project preview based on the model. WritePreview(ctx context.Context, opts ...grpc.CallOption) (ActionsSdk_WritePreviewClient, error) // Creates a project version based on the model and triggers deployment to the // specified release channel, if specified. CreateVersion(ctx context.Context, opts ...grpc.CallOption) (ActionsSdk_CreateVersionClient, error) // Reads the entire content of the project draft. ReadDraft(ctx context.Context, in *ReadDraftRequest, opts ...grpc.CallOption) (ActionsSdk_ReadDraftClient, error) // Reads the entire content of a project version. ReadVersion(ctx context.Context, in *ReadVersionRequest, opts ...grpc.CallOption) (ActionsSdk_ReadVersionClient, error) // Encrypts the OAuth client secret used in account linking flows. // This can be used to encrypt the client secret for the first time (e.g. // before the first push or after changing the client secret) or to re-encrypt // a client secret using the latest primary key version (considering key // rotation). EncryptSecret(ctx context.Context, in *EncryptSecretRequest, opts ...grpc.CallOption) (*EncryptSecretResponse, error) // Decrypts the OAuth client secret used in account linking flows. // This can be used to view the client secret (e.g. after pulling a project). DecryptSecret(ctx context.Context, in *DecryptSecretRequest, opts ...grpc.CallOption) (*DecryptSecretResponse, error) // Lists all the sample projects supported by the gactions CLI. ListSampleProjects(ctx context.Context, in *ListSampleProjectsRequest, opts ...grpc.CallOption) (*ListSampleProjectsResponse, error) // Lists all release channels and corresponding versions, if any. ListReleaseChannels(ctx context.Context, in *ListReleaseChannelsRequest, opts ...grpc.CallOption) (*ListReleaseChannelsResponse, error) // Lists all versions and their current states. ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error) }
ActionsSdkClient is the client API for ActionsSdk service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewActionsSdkClient ¶
func NewActionsSdkClient(cc grpc.ClientConnInterface) ActionsSdkClient
type ActionsSdkServer ¶
type ActionsSdkServer interface { // Updates the project draft based on the model. WriteDraft(ActionsSdk_WriteDraftServer) error // Updates the user's project preview based on the model. WritePreview(ActionsSdk_WritePreviewServer) error // Creates a project version based on the model and triggers deployment to the // specified release channel, if specified. CreateVersion(ActionsSdk_CreateVersionServer) error // Reads the entire content of the project draft. ReadDraft(*ReadDraftRequest, ActionsSdk_ReadDraftServer) error // Reads the entire content of a project version. ReadVersion(*ReadVersionRequest, ActionsSdk_ReadVersionServer) error // Encrypts the OAuth client secret used in account linking flows. // This can be used to encrypt the client secret for the first time (e.g. // before the first push or after changing the client secret) or to re-encrypt // a client secret using the latest primary key version (considering key // rotation). EncryptSecret(context.Context, *EncryptSecretRequest) (*EncryptSecretResponse, error) // Decrypts the OAuth client secret used in account linking flows. // This can be used to view the client secret (e.g. after pulling a project). DecryptSecret(context.Context, *DecryptSecretRequest) (*DecryptSecretResponse, error) // Lists all the sample projects supported by the gactions CLI. ListSampleProjects(context.Context, *ListSampleProjectsRequest) (*ListSampleProjectsResponse, error) // Lists all release channels and corresponding versions, if any. ListReleaseChannels(context.Context, *ListReleaseChannelsRequest) (*ListReleaseChannelsResponse, error) // Lists all versions and their current states. ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error) }
ActionsSdkServer is the server API for ActionsSdk service.
type ActionsSdk_CreateVersionClient ¶
type ActionsSdk_CreateVersionClient interface { Send(*CreateVersionRequest) error CloseAndRecv() (*Version, error) grpc.ClientStream }
type ActionsSdk_CreateVersionServer ¶
type ActionsSdk_CreateVersionServer interface { SendAndClose(*Version) error Recv() (*CreateVersionRequest, error) grpc.ServerStream }
type ActionsSdk_ReadDraftClient ¶
type ActionsSdk_ReadDraftClient interface { Recv() (*ReadDraftResponse, error) grpc.ClientStream }
type ActionsSdk_ReadDraftServer ¶
type ActionsSdk_ReadDraftServer interface { Send(*ReadDraftResponse) error grpc.ServerStream }
type ActionsSdk_ReadVersionClient ¶
type ActionsSdk_ReadVersionClient interface { Recv() (*ReadVersionResponse, error) grpc.ClientStream }
type ActionsSdk_ReadVersionServer ¶
type ActionsSdk_ReadVersionServer interface { Send(*ReadVersionResponse) error grpc.ServerStream }
type ActionsSdk_WriteDraftClient ¶
type ActionsSdk_WriteDraftClient interface { Send(*WriteDraftRequest) error CloseAndRecv() (*Draft, error) grpc.ClientStream }
type ActionsSdk_WriteDraftServer ¶
type ActionsSdk_WriteDraftServer interface { SendAndClose(*Draft) error Recv() (*WriteDraftRequest, error) grpc.ServerStream }
type ActionsSdk_WritePreviewClient ¶
type ActionsSdk_WritePreviewClient interface { Send(*WritePreviewRequest) error CloseAndRecv() (*Preview, error) grpc.ClientStream }
type ActionsSdk_WritePreviewServer ¶
type ActionsSdk_WritePreviewServer interface { SendAndClose(*Preview) error Recv() (*WritePreviewRequest, error) grpc.ServerStream }
type ActionsTestingClient ¶
type ActionsTestingClient interface { // Plays one round of the conversation. SendInteraction(ctx context.Context, in *SendInteractionRequest, opts ...grpc.CallOption) (*SendInteractionResponse, error) // Finds the intents that match a given query. MatchIntents(ctx context.Context, in *MatchIntentsRequest, opts ...grpc.CallOption) (*MatchIntentsResponse, error) // Sets the Web & App Activity control on a service account. // // It is necessary to have this setting enabled in order to use call Actions. // The setting is originally disabled for service accounts, and it is // preserved until set to a different value. This means it only needs to be // enabled once per account (and not necessarily once per test), unless it is // later disabled. // // Returns an error if the caller is not a service account. User accounts can // change this setting via the Activity Controls page. See // https://support.google.com/websearch/answer/54068. SetWebAndAppActivityControl(ctx context.Context, in *SetWebAndAppActivityControlRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
ActionsTestingClient is the client API for ActionsTesting service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewActionsTestingClient ¶
func NewActionsTestingClient(cc grpc.ClientConnInterface) ActionsTestingClient
type ActionsTestingServer ¶
type ActionsTestingServer interface { // Plays one round of the conversation. SendInteraction(context.Context, *SendInteractionRequest) (*SendInteractionResponse, error) // Finds the intents that match a given query. MatchIntents(context.Context, *MatchIntentsRequest) (*MatchIntentsResponse, error) // Sets the Web & App Activity control on a service account. // // It is necessary to have this setting enabled in order to use call Actions. // The setting is originally disabled for service accounts, and it is // preserved until set to a different value. This means it only needs to be // enabled once per account (and not necessarily once per test), unless it is // later disabled. // // Returns an error if the caller is not a service account. User accounts can // change this setting via the Activity Controls page. See // https://support.google.com/websearch/answer/54068. SetWebAndAppActivityControl(context.Context, *SetWebAndAppActivityControlRequest) (*emptypb.Empty, error) }
ActionsTestingServer is the server API for ActionsTesting service.
type Actions_CustomAction ¶
type Actions_CustomAction struct { // Engagement mechanisms associated with the action to help end users // subscribe to push notifications and daily updates. // Note that the intent name specified in daily updates/push notifications // slot config needs to match the intent corresponding to this action for // end users to subscribe to these updates. Engagement *Actions_Engagement `protobuf:"bytes,2,opt,name=engagement,proto3" json:"engagement,omitempty"` // contains filtered or unexported fields }
Details regarding a custom action.
func (*Actions_CustomAction) Descriptor
deprecated
func (*Actions_CustomAction) Descriptor() ([]byte, []int)
Deprecated: Use Actions_CustomAction.ProtoReflect.Descriptor instead.
func (*Actions_CustomAction) GetEngagement ¶
func (x *Actions_CustomAction) GetEngagement() *Actions_Engagement
func (*Actions_CustomAction) ProtoMessage ¶
func (*Actions_CustomAction) ProtoMessage()
func (*Actions_CustomAction) ProtoReflect ¶
func (x *Actions_CustomAction) ProtoReflect() protoreflect.Message
func (*Actions_CustomAction) Reset ¶
func (x *Actions_CustomAction) Reset()
func (*Actions_CustomAction) String ¶
func (x *Actions_CustomAction) String() string
type Actions_Engagement ¶
type Actions_Engagement struct { // The title of the engagement that will be sent to end users asking for // their permission to receive updates. The prompt sent to end users for // daily updates will look like "What time would you like me to send your // daily {title}" and for push notifications will look like // "Is it ok if I send push notifications for {title}". // **This field is localizable.** Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // Push notification settings that this engagement supports. PushNotification *Actions_Engagement_PushNotification `protobuf:"bytes,2,opt,name=push_notification,json=pushNotification,proto3" json:"push_notification,omitempty"` // Recurring update settings that this engagement supports. // // Types that are assignable to RecurringUpdate: // // *Actions_Engagement_DailyUpdate_ RecurringUpdate isActions_Engagement_RecurringUpdate `protobuf_oneof:"recurring_update"` // Link config for an action which determines whether sharing links is // enabled for the action and if so, contains the user friendly display name // for the link. // ActionLink is deprecated. Use AssistantLink instead. // // Deprecated: Do not use. ActionLink *Actions_Engagement_ActionLink `protobuf:"bytes,4,opt,name=action_link,json=actionLink,proto3" json:"action_link,omitempty"` // Link config for an action which determines whether sharing links is // enabled for the action and if so, contains the user friendly display name // for the link. AssistantLink *Actions_Engagement_AssistantLink `protobuf:"bytes,6,opt,name=assistant_link,json=assistantLink,proto3" json:"assistant_link,omitempty"` // contains filtered or unexported fields }
Defines the engagement mechanisms associated with this action. This allows end users to subscribe to push notification and daily update.
func (*Actions_Engagement) Descriptor
deprecated
func (*Actions_Engagement) Descriptor() ([]byte, []int)
Deprecated: Use Actions_Engagement.ProtoReflect.Descriptor instead.
func (*Actions_Engagement) GetActionLink
deprecated
func (x *Actions_Engagement) GetActionLink() *Actions_Engagement_ActionLink
Deprecated: Do not use.
func (*Actions_Engagement) GetAssistantLink ¶
func (x *Actions_Engagement) GetAssistantLink() *Actions_Engagement_AssistantLink
func (*Actions_Engagement) GetDailyUpdate ¶
func (x *Actions_Engagement) GetDailyUpdate() *Actions_Engagement_DailyUpdate
func (*Actions_Engagement) GetPushNotification ¶
func (x *Actions_Engagement) GetPushNotification() *Actions_Engagement_PushNotification
func (*Actions_Engagement) GetRecurringUpdate ¶
func (m *Actions_Engagement) GetRecurringUpdate() isActions_Engagement_RecurringUpdate
func (*Actions_Engagement) GetTitle ¶
func (x *Actions_Engagement) GetTitle() string
func (*Actions_Engagement) ProtoMessage ¶
func (*Actions_Engagement) ProtoMessage()
func (*Actions_Engagement) ProtoReflect ¶
func (x *Actions_Engagement) ProtoReflect() protoreflect.Message
func (*Actions_Engagement) Reset ¶
func (x *Actions_Engagement) Reset()
func (*Actions_Engagement) String ¶
func (x *Actions_Engagement) String() string
type Actions_Engagement_ActionLink
deprecated
type Actions_Engagement_ActionLink struct { // User friendly display title for the link. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // contains filtered or unexported fields }
Indicates whether sharing links is enabled for this action and the corresponding settings. Action links are used to deep link a user into a specific action. ActionLink is deprecated. Use AssistantLink instead.
Deprecated: Do not use.
func (*Actions_Engagement_ActionLink) Descriptor
deprecated
func (*Actions_Engagement_ActionLink) Descriptor() ([]byte, []int)
Deprecated: Use Actions_Engagement_ActionLink.ProtoReflect.Descriptor instead.
func (*Actions_Engagement_ActionLink) GetTitle ¶
func (x *Actions_Engagement_ActionLink) GetTitle() string
func (*Actions_Engagement_ActionLink) ProtoMessage ¶
func (*Actions_Engagement_ActionLink) ProtoMessage()
func (*Actions_Engagement_ActionLink) ProtoReflect ¶
func (x *Actions_Engagement_ActionLink) ProtoReflect() protoreflect.Message
func (*Actions_Engagement_ActionLink) Reset ¶
func (x *Actions_Engagement_ActionLink) Reset()
func (*Actions_Engagement_ActionLink) String ¶
func (x *Actions_Engagement_ActionLink) String() string
type Actions_Engagement_AssistantLink ¶
type Actions_Engagement_AssistantLink struct { // User friendly display title for the link. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // contains filtered or unexported fields }
Indicates whether sharing links is enabled for this action and the corresponding settings. Assistant links are used to deep link a user into a specific action.
func (*Actions_Engagement_AssistantLink) Descriptor
deprecated
func (*Actions_Engagement_AssistantLink) Descriptor() ([]byte, []int)
Deprecated: Use Actions_Engagement_AssistantLink.ProtoReflect.Descriptor instead.
func (*Actions_Engagement_AssistantLink) GetTitle ¶
func (x *Actions_Engagement_AssistantLink) GetTitle() string
func (*Actions_Engagement_AssistantLink) ProtoMessage ¶
func (*Actions_Engagement_AssistantLink) ProtoMessage()
func (*Actions_Engagement_AssistantLink) ProtoReflect ¶
func (x *Actions_Engagement_AssistantLink) ProtoReflect() protoreflect.Message
func (*Actions_Engagement_AssistantLink) Reset ¶
func (x *Actions_Engagement_AssistantLink) Reset()
func (*Actions_Engagement_AssistantLink) String ¶
func (x *Actions_Engagement_AssistantLink) String() string
type Actions_Engagement_DailyUpdate ¶
type Actions_Engagement_DailyUpdate struct {
// contains filtered or unexported fields
}
Defines daily update settings that this engagement supports.
func (*Actions_Engagement_DailyUpdate) Descriptor
deprecated
func (*Actions_Engagement_DailyUpdate) Descriptor() ([]byte, []int)
Deprecated: Use Actions_Engagement_DailyUpdate.ProtoReflect.Descriptor instead.
func (*Actions_Engagement_DailyUpdate) ProtoMessage ¶
func (*Actions_Engagement_DailyUpdate) ProtoMessage()
func (*Actions_Engagement_DailyUpdate) ProtoReflect ¶
func (x *Actions_Engagement_DailyUpdate) ProtoReflect() protoreflect.Message
func (*Actions_Engagement_DailyUpdate) Reset ¶
func (x *Actions_Engagement_DailyUpdate) Reset()
func (*Actions_Engagement_DailyUpdate) String ¶
func (x *Actions_Engagement_DailyUpdate) String() string
type Actions_Engagement_DailyUpdate_ ¶
type Actions_Engagement_DailyUpdate_ struct { // Daily update settings that this engagement supports. DailyUpdate *Actions_Engagement_DailyUpdate `protobuf:"bytes,3,opt,name=daily_update,json=dailyUpdate,proto3,oneof"` }
type Actions_Engagement_PushNotification ¶
type Actions_Engagement_PushNotification struct {
// contains filtered or unexported fields
}
Defines push notification settings that this engagement supports.
func (*Actions_Engagement_PushNotification) Descriptor
deprecated
func (*Actions_Engagement_PushNotification) Descriptor() ([]byte, []int)
Deprecated: Use Actions_Engagement_PushNotification.ProtoReflect.Descriptor instead.
func (*Actions_Engagement_PushNotification) ProtoMessage ¶
func (*Actions_Engagement_PushNotification) ProtoMessage()
func (*Actions_Engagement_PushNotification) ProtoReflect ¶
func (x *Actions_Engagement_PushNotification) ProtoReflect() protoreflect.Message
func (*Actions_Engagement_PushNotification) Reset ¶
func (x *Actions_Engagement_PushNotification) Reset()
func (*Actions_Engagement_PushNotification) String ¶
func (x *Actions_Engagement_PushNotification) String() string
type CapabilityRequirement ¶
type CapabilityRequirement struct { // The type of capability. Capability CapabilityRequirement_SurfaceCapability `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
Represents a requirement about the availability of a given capability.
func (*CapabilityRequirement) Descriptor
deprecated
func (*CapabilityRequirement) Descriptor() ([]byte, []int)
Deprecated: Use CapabilityRequirement.ProtoReflect.Descriptor instead.
func (*CapabilityRequirement) GetCapability ¶
func (x *CapabilityRequirement) GetCapability() CapabilityRequirement_SurfaceCapability
func (*CapabilityRequirement) ProtoMessage ¶
func (*CapabilityRequirement) ProtoMessage()
func (*CapabilityRequirement) ProtoReflect ¶
func (x *CapabilityRequirement) ProtoReflect() protoreflect.Message
func (*CapabilityRequirement) Reset ¶
func (x *CapabilityRequirement) Reset()
func (*CapabilityRequirement) String ¶
func (x *CapabilityRequirement) String() string
type CapabilityRequirement_SurfaceCapability ¶
type CapabilityRequirement_SurfaceCapability int32
Possible set of surface capabilities.
const ( // Unknown / Unspecified. CapabilityRequirement_SURFACE_CAPABILITY_UNSPECIFIED CapabilityRequirement_SurfaceCapability = 0 // Surface supports audio output. CapabilityRequirement_AUDIO_OUTPUT CapabilityRequirement_SurfaceCapability = 1 // Surface supports screen/visual output. CapabilityRequirement_SCREEN_OUTPUT CapabilityRequirement_SurfaceCapability = 2 // Surface supports media response audio. CapabilityRequirement_MEDIA_RESPONSE_AUDIO CapabilityRequirement_SurfaceCapability = 3 // Surface supports web browsers. CapabilityRequirement_WEB_BROWSER CapabilityRequirement_SurfaceCapability = 4 // Surface supports account linking. CapabilityRequirement_ACCOUNT_LINKING CapabilityRequirement_SurfaceCapability = 7 // Surface supports Interactive Canvas. CapabilityRequirement_INTERACTIVE_CANVAS CapabilityRequirement_SurfaceCapability = 8 // Surface supports home storage. CapabilityRequirement_HOME_STORAGE CapabilityRequirement_SurfaceCapability = 9 )
func (CapabilityRequirement_SurfaceCapability) Descriptor ¶
func (CapabilityRequirement_SurfaceCapability) Descriptor() protoreflect.EnumDescriptor
func (CapabilityRequirement_SurfaceCapability) EnumDescriptor
deprecated
func (CapabilityRequirement_SurfaceCapability) EnumDescriptor() ([]byte, []int)
Deprecated: Use CapabilityRequirement_SurfaceCapability.Descriptor instead.
func (CapabilityRequirement_SurfaceCapability) Number ¶
func (x CapabilityRequirement_SurfaceCapability) Number() protoreflect.EnumNumber
func (CapabilityRequirement_SurfaceCapability) String ¶
func (x CapabilityRequirement_SurfaceCapability) String() string
func (CapabilityRequirement_SurfaceCapability) Type ¶
func (CapabilityRequirement_SurfaceCapability) Type() protoreflect.EnumType
type Condition ¶
type Condition struct { // Expression specified in this condition. Expression string `protobuf:"bytes,1,opt,name=expression,proto3" json:"expression,omitempty"` // Handler name specified in evaluated condition. Handler string `protobuf:"bytes,2,opt,name=handler,proto3" json:"handler,omitempty"` // Destination scene specified in evaluated condition. NextSceneId string `protobuf:"bytes,3,opt,name=next_scene_id,json=nextSceneId,proto3" json:"next_scene_id,omitempty"` // contains filtered or unexported fields }
Evaluated condition.
func (*Condition) Descriptor
deprecated
func (*Condition) GetExpression ¶
func (*Condition) GetHandler ¶
func (*Condition) GetNextSceneId ¶
func (*Condition) ProtoMessage ¶
func (*Condition) ProtoMessage()
func (*Condition) ProtoReflect ¶
func (x *Condition) ProtoReflect() protoreflect.Message
type ConditionsEvaluated ¶
type ConditionsEvaluated struct { // List of conditions which were evaluated to 'false'. FailedConditions []*Condition `protobuf:"bytes,1,rep,name=failed_conditions,json=failedConditions,proto3" json:"failed_conditions,omitempty"` // The first condition which was evaluated to 'true', if any. SuccessCondition *Condition `protobuf:"bytes,2,opt,name=success_condition,json=successCondition,proto3" json:"success_condition,omitempty"` // contains filtered or unexported fields }
Results of conditions evaluation: https://developers.google.com/assistant/conversational/scenes#conditions
func (*ConditionsEvaluated) Descriptor
deprecated
func (*ConditionsEvaluated) Descriptor() ([]byte, []int)
Deprecated: Use ConditionsEvaluated.ProtoReflect.Descriptor instead.
func (*ConditionsEvaluated) GetFailedConditions ¶
func (x *ConditionsEvaluated) GetFailedConditions() []*Condition
func (*ConditionsEvaluated) GetSuccessCondition ¶
func (x *ConditionsEvaluated) GetSuccessCondition() *Condition
func (*ConditionsEvaluated) ProtoMessage ¶
func (*ConditionsEvaluated) ProtoMessage()
func (*ConditionsEvaluated) ProtoReflect ¶
func (x *ConditionsEvaluated) ProtoReflect() protoreflect.Message
func (*ConditionsEvaluated) Reset ¶
func (x *ConditionsEvaluated) Reset()
func (*ConditionsEvaluated) String ¶
func (x *ConditionsEvaluated) String() string
type ConfigFile ¶
type ConfigFile struct { // Relative path of the config file from the project root in the SDK file // structure. Each file types below have an allowed file path. // Eg: settings/settings.yaml FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` // Each type of config file should have a corresponding field in the oneof. // // Types that are assignable to File: // // *ConfigFile_Manifest // *ConfigFile_Actions // *ConfigFile_Settings // *ConfigFile_Webhook // *ConfigFile_Intent // *ConfigFile_Type // *ConfigFile_EntitySet // *ConfigFile_GlobalIntentEvent // *ConfigFile_Scene // *ConfigFile_StaticPrompt // *ConfigFile_AccountLinkingSecret // *ConfigFile_ResourceBundle File isConfigFile_File `protobuf_oneof:"file"` // contains filtered or unexported fields }
Represents a single file which contains structured data. Developers can define most of their project using structured config including Actions, Settings, Fulfillment.
func (*ConfigFile) Descriptor
deprecated
func (*ConfigFile) Descriptor() ([]byte, []int)
Deprecated: Use ConfigFile.ProtoReflect.Descriptor instead.
func (*ConfigFile) GetAccountLinkingSecret ¶
func (x *ConfigFile) GetAccountLinkingSecret() *AccountLinkingSecret
func (*ConfigFile) GetActions ¶
func (x *ConfigFile) GetActions() *Actions
func (*ConfigFile) GetEntitySet ¶
func (x *ConfigFile) GetEntitySet() *interactionmodel.EntitySet
func (*ConfigFile) GetFile ¶
func (m *ConfigFile) GetFile() isConfigFile_File
func (*ConfigFile) GetFilePath ¶
func (x *ConfigFile) GetFilePath() string
func (*ConfigFile) GetGlobalIntentEvent ¶
func (x *ConfigFile) GetGlobalIntentEvent() *interactionmodel.GlobalIntentEvent
func (*ConfigFile) GetIntent ¶
func (x *ConfigFile) GetIntent() *interactionmodel.Intent
func (*ConfigFile) GetManifest ¶
func (x *ConfigFile) GetManifest() *Manifest
func (*ConfigFile) GetResourceBundle ¶
func (x *ConfigFile) GetResourceBundle() *structpb.Struct
func (*ConfigFile) GetScene ¶
func (x *ConfigFile) GetScene() *interactionmodel.Scene
func (*ConfigFile) GetSettings ¶
func (x *ConfigFile) GetSettings() *Settings
func (*ConfigFile) GetStaticPrompt ¶
func (x *ConfigFile) GetStaticPrompt() *prompt.StaticPrompt
func (*ConfigFile) GetType ¶
func (x *ConfigFile) GetType() *_type.Type
func (*ConfigFile) GetWebhook ¶
func (x *ConfigFile) GetWebhook() *Webhook
func (*ConfigFile) ProtoMessage ¶
func (*ConfigFile) ProtoMessage()
func (*ConfigFile) ProtoReflect ¶
func (x *ConfigFile) ProtoReflect() protoreflect.Message
func (*ConfigFile) Reset ¶
func (x *ConfigFile) Reset()
func (*ConfigFile) String ¶
func (x *ConfigFile) String() string
type ConfigFile_AccountLinkingSecret ¶
type ConfigFile_AccountLinkingSecret struct { // Metadata corresponding to the client secret used in account linking. // Allowed file path: `settings/accountLinkingSecret.yaml` AccountLinkingSecret *AccountLinkingSecret `protobuf:"bytes,13,opt,name=account_linking_secret,json=accountLinkingSecret,proto3,oneof"` }
type ConfigFile_Actions ¶
type ConfigFile_Actions struct { // Single actions file with all the actions defined. // Allowed file paths: `actions/{language}?/actions.yaml` Actions *Actions `protobuf:"bytes,3,opt,name=actions,proto3,oneof"` }
type ConfigFile_EntitySet ¶
type ConfigFile_EntitySet struct { // Single entity set definition. // Allowed file paths: `custom/entitySets/{language}?/{EntitySetName}.yaml` EntitySet *interactionmodel.EntitySet `protobuf:"bytes,15,opt,name=entity_set,json=entitySet,proto3,oneof"` }
type ConfigFile_GlobalIntentEvent ¶
type ConfigFile_GlobalIntentEvent struct { // Single global intent event definition. // Allowed file paths: `custom/global/{GlobalIntentEventName}.yaml` // The file name (GlobalIntentEventName) should be the name of the intent // that this global intent event corresponds to. GlobalIntentEvent *interactionmodel.GlobalIntentEvent `protobuf:"bytes,9,opt,name=global_intent_event,json=globalIntentEvent,proto3,oneof"` }
type ConfigFile_Intent ¶
type ConfigFile_Intent struct { // Single intent definition. // Allowed file paths: `custom/intents/{language}?/{IntentName}.yaml` Intent *interactionmodel.Intent `protobuf:"bytes,7,opt,name=intent,proto3,oneof"` }
type ConfigFile_Manifest ¶
type ConfigFile_Manifest struct { // Single manifest file. // Allowed file path: `manifest.yaml` Manifest *Manifest `protobuf:"bytes,2,opt,name=manifest,proto3,oneof"` }
type ConfigFile_ResourceBundle ¶
type ConfigFile_ResourceBundle struct { // Single resource bundle, which is a map from a string to a string or list // of strings. Resource bundles could be used for localizing strings in // static prompts. // Allowed file paths: `resources/strings/{language}?/{multiple // directories}?/{BundleName}.yaml` ResourceBundle *structpb.Struct `protobuf:"bytes,12,opt,name=resource_bundle,json=resourceBundle,proto3,oneof"` }
type ConfigFile_Scene ¶
type ConfigFile_Scene struct { // Single scene definition. // Allowed file paths: `custom/scenes/{SceneName}.yaml` Scene *interactionmodel.Scene `protobuf:"bytes,10,opt,name=scene,proto3,oneof"` }
type ConfigFile_Settings ¶
type ConfigFile_Settings struct { // Single settings config which includes non-localizable settings and // settings for the project's default locale (if specified). // For a locale override file, only localized_settings field will be // populated. // Allowed file paths: `settings/{language}?/settings.yaml` // Note that the non-localized settings file `settings/settings.yaml` must // be present in the write flow requests. Settings *Settings `protobuf:"bytes,4,opt,name=settings,proto3,oneof"` }
type ConfigFile_StaticPrompt ¶
type ConfigFile_StaticPrompt struct { // Single static prompt definition. // Allowed file paths: `custom/prompts/{language}?/{StaticPromptName}.yaml` StaticPrompt *prompt.StaticPrompt `protobuf:"bytes,11,opt,name=static_prompt,json=staticPrompt,proto3,oneof"` }
type ConfigFile_Type ¶
type ConfigFile_Webhook ¶
type ConfigFile_Webhook struct { // Single webhook definition. // Allowed file path: `webhooks/{WebhookName}.yaml` Webhook *Webhook `protobuf:"bytes,6,opt,name=webhook,proto3,oneof"` }
type ConfigFiles ¶
type ConfigFiles struct { // Multiple config files. ConfigFiles []*ConfigFile `protobuf:"bytes,1,rep,name=config_files,json=configFiles,proto3" json:"config_files,omitempty"` // contains filtered or unexported fields }
Wrapper for repeated config files. Repeated fields cannot exist in a oneof.
func (*ConfigFiles) Descriptor
deprecated
func (*ConfigFiles) Descriptor() ([]byte, []int)
Deprecated: Use ConfigFiles.ProtoReflect.Descriptor instead.
func (*ConfigFiles) GetConfigFiles ¶
func (x *ConfigFiles) GetConfigFiles() []*ConfigFile
func (*ConfigFiles) ProtoMessage ¶
func (*ConfigFiles) ProtoMessage()
func (*ConfigFiles) ProtoReflect ¶
func (x *ConfigFiles) ProtoReflect() protoreflect.Message
func (*ConfigFiles) Reset ¶
func (x *ConfigFiles) Reset()
func (*ConfigFiles) String ¶
func (x *ConfigFiles) String() string
type CreateVersionRequest ¶
type CreateVersionRequest struct { // Required. The parent resource name in the format `projects/{project}`. The // `{project}` is the cloud project ID associated with the project. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. List of files sent to the server at a time. This is a list of config files // or data files. // 1. The first request must be a ConfigFiles. // 2. The first request must have a ConfigFile with 'settings'. // 3. The first request must have a ConfigFile with 'manifest'. // 4. The webhook ConfigFile corresponding to inline cloud function must be // streamed before the DataFile corresponding to its source code. Files *Files `protobuf:"bytes,5,opt,name=files,proto3" json:"files,omitempty"` // Optional. The release channel to deploy the version, if specified. The supported // built in release channels are actions.channels.Production, // actions.channels.ClosedBeta, actions.channels.Alpha. // . ReleaseChannel string `protobuf:"bytes,4,opt,name=release_channel,json=releaseChannel,proto3" json:"release_channel,omitempty"` // contains filtered or unexported fields }
Streaming RPC request for CreateVersion.
func (*CreateVersionRequest) Descriptor
deprecated
func (*CreateVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateVersionRequest.ProtoReflect.Descriptor instead.
func (*CreateVersionRequest) GetFiles ¶
func (x *CreateVersionRequest) GetFiles() *Files
func (*CreateVersionRequest) GetParent ¶
func (x *CreateVersionRequest) GetParent() string
func (*CreateVersionRequest) GetReleaseChannel ¶
func (x *CreateVersionRequest) GetReleaseChannel() string
func (*CreateVersionRequest) ProtoMessage ¶
func (*CreateVersionRequest) ProtoMessage()
func (*CreateVersionRequest) ProtoReflect ¶
func (x *CreateVersionRequest) ProtoReflect() protoreflect.Message
func (*CreateVersionRequest) Reset ¶
func (x *CreateVersionRequest) Reset()
func (*CreateVersionRequest) String ¶
func (x *CreateVersionRequest) String() string
type DataFile ¶
type DataFile struct { // Relative path of the data file from the project root in the SDK file // structure. // Allowed file paths: // - Images: `resources/images/{multiple // directories}?/{ImageName}.{extension}` // - Audio: `resources/audio/{multiple // directories}?/{AudioFileName}.{extension}` // - Inline Cloud Function Code: `webhooks/{WebhookName}.zip` // // Allowed extensions: // - Images: `png`, `jpg`, `jpeg` // - Audio: `mp3`, `mpeg` // - Inline Cloud Functions: `zip` FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` // Required. The content type of this asset. Example: `text/html`. The content // type must comply with the specification // (http://www.w3.org/Protocols/rfc1341/4_Content-Type.html). // Cloud functions must be in zip format and the content type should // be `application/zip;zip_type=cloud_function`. The zip_type parameter // indicates that the zip is for a cloud function. ContentType string `protobuf:"bytes,2,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` // Content of the data file. Examples would be raw bytes of images, audio // files, or cloud function zip format. // There is 10 MB strict limit on the payload size. Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
Represents a single file which contains unstructured data. Examples include image files, audio files, and cloud function source code.
func (*DataFile) Descriptor
deprecated
func (*DataFile) GetContentType ¶
func (*DataFile) GetFilePath ¶
func (*DataFile) GetPayload ¶
func (*DataFile) ProtoMessage ¶
func (*DataFile) ProtoMessage()
func (*DataFile) ProtoReflect ¶
func (x *DataFile) ProtoReflect() protoreflect.Message
type DataFiles ¶
type DataFiles struct { // Multiple data files. DataFiles []*DataFile `protobuf:"bytes,1,rep,name=data_files,json=dataFiles,proto3" json:"data_files,omitempty"` // contains filtered or unexported fields }
Wrapper for repeated data file. Repeated fields cannot exist in a oneof.
func (*DataFiles) Descriptor
deprecated
func (*DataFiles) GetDataFiles ¶
func (*DataFiles) ProtoMessage ¶
func (*DataFiles) ProtoMessage()
func (*DataFiles) ProtoReflect ¶
func (x *DataFiles) ProtoReflect() protoreflect.Message
type DecryptSecretRequest ¶
type DecryptSecretRequest struct { // Required. The account linking client secret ciphertext. EncryptedClientSecret []byte `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
RPC request for DecryptSecret.
func (*DecryptSecretRequest) Descriptor
deprecated
func (*DecryptSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use DecryptSecretRequest.ProtoReflect.Descriptor instead.
func (*DecryptSecretRequest) GetEncryptedClientSecret ¶
func (x *DecryptSecretRequest) GetEncryptedClientSecret() []byte
func (*DecryptSecretRequest) ProtoMessage ¶
func (*DecryptSecretRequest) ProtoMessage()
func (*DecryptSecretRequest) ProtoReflect ¶
func (x *DecryptSecretRequest) ProtoReflect() protoreflect.Message
func (*DecryptSecretRequest) Reset ¶
func (x *DecryptSecretRequest) Reset()
func (*DecryptSecretRequest) String ¶
func (x *DecryptSecretRequest) String() string
type DecryptSecretResponse ¶
type DecryptSecretResponse struct { // The account linking client secret plaintext. ClientSecret string `protobuf:"bytes,1,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` // contains filtered or unexported fields }
RPC response for DecryptSecret.
func (*DecryptSecretResponse) Descriptor
deprecated
func (*DecryptSecretResponse) Descriptor() ([]byte, []int)
Deprecated: Use DecryptSecretResponse.ProtoReflect.Descriptor instead.
func (*DecryptSecretResponse) GetClientSecret ¶
func (x *DecryptSecretResponse) GetClientSecret() string
func (*DecryptSecretResponse) ProtoMessage ¶
func (*DecryptSecretResponse) ProtoMessage()
func (*DecryptSecretResponse) ProtoReflect ¶
func (x *DecryptSecretResponse) ProtoReflect() protoreflect.Message
func (*DecryptSecretResponse) Reset ¶
func (x *DecryptSecretResponse) Reset()
func (*DecryptSecretResponse) String ¶
func (x *DecryptSecretResponse) String() string
type DeviceProperties ¶
type DeviceProperties struct { // Surface used for interacting with the Action. Surface DeviceProperties_Surface `protobuf:"varint,1,opt,name=surface,proto3,enum=google.actions.sdk.v2.DeviceProperties_Surface" json:"surface,omitempty"` // Device location such as latitude, longitude, and formatted address. Location *Location `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` // Locale as set on the device. // The format should follow BCP 47: https://tools.ietf.org/html/bcp47 // Examples: en, en-US, es-419 (more examples at // https://tools.ietf.org/html/bcp47#appendix-A). Locale string `protobuf:"bytes,3,opt,name=locale,proto3" json:"locale,omitempty"` // Time zone as set on the device. // The format should follow the IANA Time Zone Database, e.g. // "America/New_York": https://www.iana.org/time-zones TimeZone string `protobuf:"bytes,4,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` // contains filtered or unexported fields }
Properties of device relevant to a conversation round.
func (*DeviceProperties) Descriptor
deprecated
func (*DeviceProperties) Descriptor() ([]byte, []int)
Deprecated: Use DeviceProperties.ProtoReflect.Descriptor instead.
func (*DeviceProperties) GetLocale ¶
func (x *DeviceProperties) GetLocale() string
func (*DeviceProperties) GetLocation ¶
func (x *DeviceProperties) GetLocation() *Location
func (*DeviceProperties) GetSurface ¶
func (x *DeviceProperties) GetSurface() DeviceProperties_Surface
func (*DeviceProperties) GetTimeZone ¶
func (x *DeviceProperties) GetTimeZone() string
func (*DeviceProperties) ProtoMessage ¶
func (*DeviceProperties) ProtoMessage()
func (*DeviceProperties) ProtoReflect ¶
func (x *DeviceProperties) ProtoReflect() protoreflect.Message
func (*DeviceProperties) Reset ¶
func (x *DeviceProperties) Reset()
func (*DeviceProperties) String ¶
func (x *DeviceProperties) String() string
type DeviceProperties_Surface ¶
type DeviceProperties_Surface int32
Possible surfaces used to interact with the Action. Additional values may be included in the future.
const ( // Default value. This value is unused. DeviceProperties_SURFACE_UNSPECIFIED DeviceProperties_Surface = 0 // Speaker (e.g. Google Home). DeviceProperties_SPEAKER DeviceProperties_Surface = 1 // Phone. DeviceProperties_PHONE DeviceProperties_Surface = 2 // Allo Chat. DeviceProperties_ALLO DeviceProperties_Surface = 3 // Smart Display Device. DeviceProperties_SMART_DISPLAY DeviceProperties_Surface = 4 // KaiOS. DeviceProperties_KAI_OS DeviceProperties_Surface = 5 )
func (DeviceProperties_Surface) Descriptor ¶
func (DeviceProperties_Surface) Descriptor() protoreflect.EnumDescriptor
func (DeviceProperties_Surface) Enum ¶
func (x DeviceProperties_Surface) Enum() *DeviceProperties_Surface
func (DeviceProperties_Surface) EnumDescriptor
deprecated
func (DeviceProperties_Surface) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeviceProperties_Surface.Descriptor instead.
func (DeviceProperties_Surface) Number ¶
func (x DeviceProperties_Surface) Number() protoreflect.EnumNumber
func (DeviceProperties_Surface) String ¶
func (x DeviceProperties_Surface) String() string
func (DeviceProperties_Surface) Type ¶
func (DeviceProperties_Surface) Type() protoreflect.EnumType
type Diagnostics ¶
type Diagnostics struct { // List of events with details about processing of the conversation round // throughout the stages of the Actions Builder interaction model. // Populated for Actions Builder & Actions SDK apps only. ActionsBuilderEvents []*ExecutionEvent `protobuf:"bytes,1,rep,name=actions_builder_events,json=actionsBuilderEvents,proto3" json:"actions_builder_events,omitempty"` // contains filtered or unexported fields }
Diagnostics information related to the conversation round.
func (*Diagnostics) Descriptor
deprecated
func (*Diagnostics) Descriptor() ([]byte, []int)
Deprecated: Use Diagnostics.ProtoReflect.Descriptor instead.
func (*Diagnostics) GetActionsBuilderEvents ¶
func (x *Diagnostics) GetActionsBuilderEvents() []*ExecutionEvent
func (*Diagnostics) ProtoMessage ¶
func (*Diagnostics) ProtoMessage()
func (*Diagnostics) ProtoReflect ¶
func (x *Diagnostics) ProtoReflect() protoreflect.Message
func (*Diagnostics) Reset ¶
func (x *Diagnostics) Reset()
func (*Diagnostics) String ¶
func (x *Diagnostics) String() string
type Draft ¶
type Draft struct { // The unique identifier of the draft in the following format. // `projects/{project}/draft` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Validation results associated with the project draft content. Note that // WriteDraft updates the draft despite the warnings as warnings are not draft // blocking. ValidationResults *ValidationResults `protobuf:"bytes,2,opt,name=validation_results,json=validationResults,proto3" json:"validation_results,omitempty"` // contains filtered or unexported fields }
Definition of draft resource.
func (*Draft) Descriptor
deprecated
func (*Draft) GetValidationResults ¶
func (x *Draft) GetValidationResults() *ValidationResults
func (*Draft) ProtoMessage ¶
func (*Draft) ProtoMessage()
func (*Draft) ProtoReflect ¶
func (x *Draft) ProtoReflect() protoreflect.Message
type EncryptSecretRequest ¶
type EncryptSecretRequest struct { // Required. The account linking client secret plaintext. ClientSecret string `protobuf:"bytes,1,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` // contains filtered or unexported fields }
RPC request for EncryptSecret.
func (*EncryptSecretRequest) Descriptor
deprecated
func (*EncryptSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use EncryptSecretRequest.ProtoReflect.Descriptor instead.
func (*EncryptSecretRequest) GetClientSecret ¶
func (x *EncryptSecretRequest) GetClientSecret() string
func (*EncryptSecretRequest) ProtoMessage ¶
func (*EncryptSecretRequest) ProtoMessage()
func (*EncryptSecretRequest) ProtoReflect ¶
func (x *EncryptSecretRequest) ProtoReflect() protoreflect.Message
func (*EncryptSecretRequest) Reset ¶
func (x *EncryptSecretRequest) Reset()
func (*EncryptSecretRequest) String ¶
func (x *EncryptSecretRequest) String() string
type EncryptSecretResponse ¶
type EncryptSecretResponse struct { // Contains the encrypted account linking client secret and the key version // used to encrypt the secret. AccountLinkingSecret *AccountLinkingSecret `protobuf:"bytes,1,opt,name=account_linking_secret,json=accountLinkingSecret,proto3" json:"account_linking_secret,omitempty"` // contains filtered or unexported fields }
RPC response for EncryptSecret.
func (*EncryptSecretResponse) Descriptor
deprecated
func (*EncryptSecretResponse) Descriptor() ([]byte, []int)
Deprecated: Use EncryptSecretResponse.ProtoReflect.Descriptor instead.
func (*EncryptSecretResponse) GetAccountLinkingSecret ¶
func (x *EncryptSecretResponse) GetAccountLinkingSecret() *AccountLinkingSecret
func (*EncryptSecretResponse) ProtoMessage ¶
func (*EncryptSecretResponse) ProtoMessage()
func (*EncryptSecretResponse) ProtoReflect ¶
func (x *EncryptSecretResponse) ProtoReflect() protoreflect.Message
func (*EncryptSecretResponse) Reset ¶
func (x *EncryptSecretResponse) Reset()
func (*EncryptSecretResponse) String ¶
func (x *EncryptSecretResponse) String() string
type EndConversation ¶
type EndConversation struct {
// contains filtered or unexported fields
}
Event which informs that conversation with agent was ended.
func (*EndConversation) Descriptor
deprecated
func (*EndConversation) Descriptor() ([]byte, []int)
Deprecated: Use EndConversation.ProtoReflect.Descriptor instead.
func (*EndConversation) ProtoMessage ¶
func (*EndConversation) ProtoMessage()
func (*EndConversation) ProtoReflect ¶
func (x *EndConversation) ProtoReflect() protoreflect.Message
func (*EndConversation) Reset ¶
func (x *EndConversation) Reset()
func (*EndConversation) String ¶
func (x *EndConversation) String() string
type ExecutionEvent ¶
type ExecutionEvent struct { // Timestamp when the event happened. EventTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` // State of the execution during this event. ExecutionState *ExecutionState `protobuf:"bytes,2,opt,name=execution_state,json=executionState,proto3" json:"execution_state,omitempty"` // Resulting status of particular execution step. Status *status.Status `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // Detailed information specific to different of events that may be involved // in processing a conversation round. The field set here defines the type of // this event. // // Types that are assignable to EventData: // // *ExecutionEvent_UserInput // *ExecutionEvent_IntentMatch // *ExecutionEvent_ConditionsEvaluated // *ExecutionEvent_OnSceneEnter // *ExecutionEvent_WebhookRequest // *ExecutionEvent_WebhookResponse // *ExecutionEvent_WebhookInitiatedTransition // *ExecutionEvent_SlotMatch // *ExecutionEvent_SlotRequested // *ExecutionEvent_SlotValidated // *ExecutionEvent_FormFilled // *ExecutionEvent_WaitingUserInput // *ExecutionEvent_EndConversation EventData isExecutionEvent_EventData `protobuf_oneof:"EventData"` // List of warnings generated during execution of this Event. Warnings are // tips for the developer discovered during the conversation request. These // are usually non-critical and do not halt the execution of the request. For // example, a warnings might be generated when webhook tries to override a // custom Type which does not exist. Errors are reported as a failed status // code, but warnings can be present even when the status is OK. WarningMessages []string `protobuf:"bytes,17,rep,name=warning_messages,json=warningMessages,proto3" json:"warning_messages,omitempty"` // contains filtered or unexported fields }
Contains information about execution event which happened during processing Actions Builder conversation request. For an overview of the stages involved in a conversation request, see https://developers.google.com/assistant/conversational/actions.
func (*ExecutionEvent) Descriptor
deprecated
func (*ExecutionEvent) Descriptor() ([]byte, []int)
Deprecated: Use ExecutionEvent.ProtoReflect.Descriptor instead.
func (*ExecutionEvent) GetConditionsEvaluated ¶
func (x *ExecutionEvent) GetConditionsEvaluated() *ConditionsEvaluated
func (*ExecutionEvent) GetEndConversation ¶
func (x *ExecutionEvent) GetEndConversation() *EndConversation
func (*ExecutionEvent) GetEventData ¶
func (m *ExecutionEvent) GetEventData() isExecutionEvent_EventData
func (*ExecutionEvent) GetEventTime ¶
func (x *ExecutionEvent) GetEventTime() *timestamppb.Timestamp
func (*ExecutionEvent) GetExecutionState ¶
func (x *ExecutionEvent) GetExecutionState() *ExecutionState
func (*ExecutionEvent) GetFormFilled ¶
func (x *ExecutionEvent) GetFormFilled() *FormFilled
func (*ExecutionEvent) GetIntentMatch ¶
func (x *ExecutionEvent) GetIntentMatch() *IntentMatch
func (*ExecutionEvent) GetOnSceneEnter ¶
func (x *ExecutionEvent) GetOnSceneEnter() *OnSceneEnter
func (*ExecutionEvent) GetSlotMatch ¶
func (x *ExecutionEvent) GetSlotMatch() *SlotMatch
func (*ExecutionEvent) GetSlotRequested ¶
func (x *ExecutionEvent) GetSlotRequested() *SlotRequested
func (*ExecutionEvent) GetSlotValidated ¶
func (x *ExecutionEvent) GetSlotValidated() *SlotValidated
func (*ExecutionEvent) GetStatus ¶
func (x *ExecutionEvent) GetStatus() *status.Status
func (*ExecutionEvent) GetUserInput ¶
func (x *ExecutionEvent) GetUserInput() *UserConversationInput
func (*ExecutionEvent) GetWaitingUserInput ¶
func (x *ExecutionEvent) GetWaitingUserInput() *WaitingForUserInput
func (*ExecutionEvent) GetWarningMessages ¶
func (x *ExecutionEvent) GetWarningMessages() []string
func (*ExecutionEvent) GetWebhookInitiatedTransition ¶
func (x *ExecutionEvent) GetWebhookInitiatedTransition() *WebhookInitiatedTransition
func (*ExecutionEvent) GetWebhookRequest ¶
func (x *ExecutionEvent) GetWebhookRequest() *WebhookRequest
func (*ExecutionEvent) GetWebhookResponse ¶
func (x *ExecutionEvent) GetWebhookResponse() *WebhookResponse
func (*ExecutionEvent) ProtoMessage ¶
func (*ExecutionEvent) ProtoMessage()
func (*ExecutionEvent) ProtoReflect ¶
func (x *ExecutionEvent) ProtoReflect() protoreflect.Message
func (*ExecutionEvent) Reset ¶
func (x *ExecutionEvent) Reset()
func (*ExecutionEvent) String ¶
func (x *ExecutionEvent) String() string
type ExecutionEvent_ConditionsEvaluated ¶
type ExecutionEvent_ConditionsEvaluated struct { // Condition evaluation event. ConditionsEvaluated *ConditionsEvaluated `protobuf:"bytes,6,opt,name=conditions_evaluated,json=conditionsEvaluated,proto3,oneof"` }
type ExecutionEvent_EndConversation ¶
type ExecutionEvent_EndConversation struct { // End-of-conversation event. EndConversation *EndConversation `protobuf:"bytes,16,opt,name=end_conversation,json=endConversation,proto3,oneof"` }
type ExecutionEvent_FormFilled ¶
type ExecutionEvent_FormFilled struct { // Form filling event. FormFilled *FormFilled `protobuf:"bytes,14,opt,name=form_filled,json=formFilled,proto3,oneof"` }
type ExecutionEvent_IntentMatch ¶
type ExecutionEvent_IntentMatch struct { // Intent matching event. IntentMatch *IntentMatch `protobuf:"bytes,5,opt,name=intent_match,json=intentMatch,proto3,oneof"` }
type ExecutionEvent_OnSceneEnter ¶
type ExecutionEvent_OnSceneEnter struct { // OnSceneEnter execution event. OnSceneEnter *OnSceneEnter `protobuf:"bytes,7,opt,name=on_scene_enter,json=onSceneEnter,proto3,oneof"` }
type ExecutionEvent_SlotMatch ¶
type ExecutionEvent_SlotMatch struct { // Slot matching event. SlotMatch *SlotMatch `protobuf:"bytes,11,opt,name=slot_match,json=slotMatch,proto3,oneof"` }
type ExecutionEvent_SlotRequested ¶
type ExecutionEvent_SlotRequested struct { // Slot requesting event. SlotRequested *SlotRequested `protobuf:"bytes,12,opt,name=slot_requested,json=slotRequested,proto3,oneof"` }
type ExecutionEvent_SlotValidated ¶
type ExecutionEvent_SlotValidated struct { // Slot validation event. SlotValidated *SlotValidated `protobuf:"bytes,13,opt,name=slot_validated,json=slotValidated,proto3,oneof"` }
type ExecutionEvent_UserInput ¶
type ExecutionEvent_UserInput struct { // User input handling event. UserInput *UserConversationInput `protobuf:"bytes,4,opt,name=user_input,json=userInput,proto3,oneof"` }
type ExecutionEvent_WaitingUserInput ¶
type ExecutionEvent_WaitingUserInput struct { // Waiting-for-user-input event. WaitingUserInput *WaitingForUserInput `protobuf:"bytes,15,opt,name=waiting_user_input,json=waitingUserInput,proto3,oneof"` }
type ExecutionEvent_WebhookInitiatedTransition ¶
type ExecutionEvent_WebhookInitiatedTransition struct { // Webhook-initiated transition event. WebhookInitiatedTransition *WebhookInitiatedTransition `protobuf:"bytes,10,opt,name=webhook_initiated_transition,json=webhookInitiatedTransition,proto3,oneof"` }
type ExecutionEvent_WebhookRequest ¶
type ExecutionEvent_WebhookRequest struct { // Webhook request dispatch event. WebhookRequest *WebhookRequest `protobuf:"bytes,8,opt,name=webhook_request,json=webhookRequest,proto3,oneof"` }
type ExecutionEvent_WebhookResponse ¶
type ExecutionEvent_WebhookResponse struct { // Webhook response receipt event. WebhookResponse *WebhookResponse `protobuf:"bytes,9,opt,name=webhook_response,json=webhookResponse,proto3,oneof"` }
type ExecutionState ¶
type ExecutionState struct { // ID of the scene which is currently active. CurrentSceneId string `protobuf:"bytes,1,opt,name=current_scene_id,json=currentSceneId,proto3" json:"current_scene_id,omitempty"` // State of the session storage: // https://developers.google.com/assistant/conversational/storage-session SessionStorage *structpb.Struct `protobuf:"bytes,2,opt,name=session_storage,json=sessionStorage,proto3" json:"session_storage,omitempty"` // State of the slots filling, if applicable: // https://developers.google.com/assistant/conversational/scenes#slot_filling Slots *Slots `protobuf:"bytes,5,opt,name=slots,proto3" json:"slots,omitempty"` // Prompt queue: // https://developers.google.com/assistant/conversational/prompts PromptQueue []*conversation.Prompt `protobuf:"bytes,7,rep,name=prompt_queue,json=promptQueue,proto3" json:"prompt_queue,omitempty"` // State of the user storage: // https://developers.google.com/assistant/conversational/storage-user UserStorage *structpb.Struct `protobuf:"bytes,6,opt,name=user_storage,json=userStorage,proto3" json:"user_storage,omitempty"` // State of the home storage: // https://developers.google.com/assistant/conversational/storage-home HouseholdStorage *structpb.Struct `protobuf:"bytes,8,opt,name=household_storage,json=householdStorage,proto3" json:"household_storage,omitempty"` // contains filtered or unexported fields }
Current state of the execution.
func (*ExecutionState) Descriptor
deprecated
func (*ExecutionState) Descriptor() ([]byte, []int)
Deprecated: Use ExecutionState.ProtoReflect.Descriptor instead.
func (*ExecutionState) GetCurrentSceneId ¶
func (x *ExecutionState) GetCurrentSceneId() string
func (*ExecutionState) GetHouseholdStorage ¶
func (x *ExecutionState) GetHouseholdStorage() *structpb.Struct
func (*ExecutionState) GetPromptQueue ¶
func (x *ExecutionState) GetPromptQueue() []*conversation.Prompt
func (*ExecutionState) GetSessionStorage ¶
func (x *ExecutionState) GetSessionStorage() *structpb.Struct
func (*ExecutionState) GetSlots ¶
func (x *ExecutionState) GetSlots() *Slots
func (*ExecutionState) GetUserStorage ¶
func (x *ExecutionState) GetUserStorage() *structpb.Struct
func (*ExecutionState) ProtoMessage ¶
func (*ExecutionState) ProtoMessage()
func (*ExecutionState) ProtoReflect ¶
func (x *ExecutionState) ProtoReflect() protoreflect.Message
func (*ExecutionState) Reset ¶
func (x *ExecutionState) Reset()
func (*ExecutionState) String ¶
func (x *ExecutionState) String() string
type Files ¶
type Files struct { // Only one type of files can be sent to the server at a time, config files or // data files. // // Types that are assignable to FileType: // // *Files_ConfigFiles // *Files_DataFiles FileType isFiles_FileType `protobuf_oneof:"file_type"` // contains filtered or unexported fields }
Wrapper for a list of files.
func (*Files) Descriptor
deprecated
func (*Files) GetConfigFiles ¶
func (x *Files) GetConfigFiles() *ConfigFiles
func (*Files) GetDataFiles ¶
func (*Files) GetFileType ¶
func (m *Files) GetFileType() isFiles_FileType
func (*Files) ProtoMessage ¶
func (*Files) ProtoMessage()
func (*Files) ProtoReflect ¶
func (x *Files) ProtoReflect() protoreflect.Message
type Files_ConfigFiles ¶
type Files_ConfigFiles struct { // List of config files. This includes manifest, settings, interaction model // resource bundles and more. ConfigFiles *ConfigFiles `protobuf:"bytes,1,opt,name=config_files,json=configFiles,proto3,oneof"` }
type Files_DataFiles ¶
type Files_DataFiles struct { // List of data files. This includes image, audio file, cloud function // source code. DataFiles *DataFiles `protobuf:"bytes,2,opt,name=data_files,json=dataFiles,proto3,oneof"` }
type FormFilled ¶
type FormFilled struct {
// contains filtered or unexported fields
}
Event which happens when form is fully filled: https://developers.google.com/assistant/conversational/scenes#slot_filling
func (*FormFilled) Descriptor
deprecated
func (*FormFilled) Descriptor() ([]byte, []int)
Deprecated: Use FormFilled.ProtoReflect.Descriptor instead.
func (*FormFilled) ProtoMessage ¶
func (*FormFilled) ProtoMessage()
func (*FormFilled) ProtoReflect ¶
func (x *FormFilled) ProtoReflect() protoreflect.Message
func (*FormFilled) Reset ¶
func (x *FormFilled) Reset()
func (*FormFilled) String ¶
func (x *FormFilled) String() string
type IntentMatch ¶
type IntentMatch struct { // Intent id which triggered this interaction. IntentId string `protobuf:"bytes,1,opt,name=intent_id,json=intentId,proto3" json:"intent_id,omitempty"` // Parameters of intent which triggered this interaction. IntentParameters map[string]*conversation.IntentParameterValue `` /* 197-byte string literal not displayed */ // Name of the handler attached to this interaction. Handler string `protobuf:"bytes,3,opt,name=handler,proto3" json:"handler,omitempty"` // Scene to which this interaction leads to. NextSceneId string `protobuf:"bytes,4,opt,name=next_scene_id,json=nextSceneId,proto3" json:"next_scene_id,omitempty"` // contains filtered or unexported fields }
Information about triggered intent match (global or within a scene): https://developers.google.com/assistant/conversational/intents
func (*IntentMatch) Descriptor
deprecated
func (*IntentMatch) Descriptor() ([]byte, []int)
Deprecated: Use IntentMatch.ProtoReflect.Descriptor instead.
func (*IntentMatch) GetHandler ¶
func (x *IntentMatch) GetHandler() string
func (*IntentMatch) GetIntentId ¶
func (x *IntentMatch) GetIntentId() string
func (*IntentMatch) GetIntentParameters ¶
func (x *IntentMatch) GetIntentParameters() map[string]*conversation.IntentParameterValue
func (*IntentMatch) GetNextSceneId ¶
func (x *IntentMatch) GetNextSceneId() string
func (*IntentMatch) ProtoMessage ¶
func (*IntentMatch) ProtoMessage()
func (*IntentMatch) ProtoReflect ¶
func (x *IntentMatch) ProtoReflect() protoreflect.Message
func (*IntentMatch) Reset ¶
func (x *IntentMatch) Reset()
func (*IntentMatch) String ¶
func (x *IntentMatch) String() string
type ListReleaseChannelsRequest ¶
type ListReleaseChannelsRequest struct { // Required. The name of the resource in the format `projects/{project}`. The // `{project}` is the cloud project ID associated with the project. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of release channels to return. The service may return // fewer than this value. If unspecified, at most 50 release channels will be // returned. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListReleaseChannels` call. // Provide this to retrieve the subsequent page. // When paginating, all other parameters provided to `ListReleaseChannels` // 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 }
RPC request for listing release channels
func (*ListReleaseChannelsRequest) Descriptor
deprecated
func (*ListReleaseChannelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListReleaseChannelsRequest.ProtoReflect.Descriptor instead.
func (*ListReleaseChannelsRequest) GetPageSize ¶
func (x *ListReleaseChannelsRequest) GetPageSize() int32
func (*ListReleaseChannelsRequest) GetPageToken ¶
func (x *ListReleaseChannelsRequest) GetPageToken() string
func (*ListReleaseChannelsRequest) GetParent ¶
func (x *ListReleaseChannelsRequest) GetParent() string
func (*ListReleaseChannelsRequest) ProtoMessage ¶
func (*ListReleaseChannelsRequest) ProtoMessage()
func (*ListReleaseChannelsRequest) ProtoReflect ¶
func (x *ListReleaseChannelsRequest) ProtoReflect() protoreflect.Message
func (*ListReleaseChannelsRequest) Reset ¶
func (x *ListReleaseChannelsRequest) Reset()
func (*ListReleaseChannelsRequest) String ¶
func (x *ListReleaseChannelsRequest) String() string
type ListReleaseChannelsResponse ¶
type ListReleaseChannelsResponse struct { // List of the release channels for the given project id. ReleaseChannels []*ReleaseChannel `protobuf:"bytes,1,rep,name=release_channels,json=releaseChannels,proto3" json:"release_channels,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 }
RPC response for listing release channels
func (*ListReleaseChannelsResponse) Descriptor
deprecated
func (*ListReleaseChannelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListReleaseChannelsResponse.ProtoReflect.Descriptor instead.
func (*ListReleaseChannelsResponse) GetNextPageToken ¶
func (x *ListReleaseChannelsResponse) GetNextPageToken() string
func (*ListReleaseChannelsResponse) GetReleaseChannels ¶
func (x *ListReleaseChannelsResponse) GetReleaseChannels() []*ReleaseChannel
func (*ListReleaseChannelsResponse) ProtoMessage ¶
func (*ListReleaseChannelsResponse) ProtoMessage()
func (*ListReleaseChannelsResponse) ProtoReflect ¶
func (x *ListReleaseChannelsResponse) ProtoReflect() protoreflect.Message
func (*ListReleaseChannelsResponse) Reset ¶
func (x *ListReleaseChannelsResponse) Reset()
func (*ListReleaseChannelsResponse) String ¶
func (x *ListReleaseChannelsResponse) String() string
type ListSampleProjectsRequest ¶
type ListSampleProjectsRequest struct { // Optional. The maximum number of sample projects to return. The service may return // fewer than this value. // If unspecified, at most 1000 sample projects will be returned. Values above // 1000 will be coerced to 1000. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A page token, received from a previous 'ListSampleProjects' call. // Provide this to retrieve the subsequent page. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
RPC request for ListSampleProjects.
func (*ListSampleProjectsRequest) Descriptor
deprecated
func (*ListSampleProjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSampleProjectsRequest.ProtoReflect.Descriptor instead.
func (*ListSampleProjectsRequest) GetPageSize ¶
func (x *ListSampleProjectsRequest) GetPageSize() int32
func (*ListSampleProjectsRequest) GetPageToken ¶
func (x *ListSampleProjectsRequest) GetPageToken() string
func (*ListSampleProjectsRequest) ProtoMessage ¶
func (*ListSampleProjectsRequest) ProtoMessage()
func (*ListSampleProjectsRequest) ProtoReflect ¶
func (x *ListSampleProjectsRequest) ProtoReflect() protoreflect.Message
func (*ListSampleProjectsRequest) Reset ¶
func (x *ListSampleProjectsRequest) Reset()
func (*ListSampleProjectsRequest) String ¶
func (x *ListSampleProjectsRequest) String() string
type ListSampleProjectsResponse ¶
type ListSampleProjectsResponse struct { // The list of sample projects supported. SampleProjects []*SampleProject `protobuf:"bytes,1,rep,name=sample_projects,json=sampleProjects,proto3" json:"sample_projects,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 }
RPC response for ListSampleProjects.
func (*ListSampleProjectsResponse) Descriptor
deprecated
func (*ListSampleProjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSampleProjectsResponse.ProtoReflect.Descriptor instead.
func (*ListSampleProjectsResponse) GetNextPageToken ¶
func (x *ListSampleProjectsResponse) GetNextPageToken() string
func (*ListSampleProjectsResponse) GetSampleProjects ¶
func (x *ListSampleProjectsResponse) GetSampleProjects() []*SampleProject
func (*ListSampleProjectsResponse) ProtoMessage ¶
func (*ListSampleProjectsResponse) ProtoMessage()
func (*ListSampleProjectsResponse) ProtoReflect ¶
func (x *ListSampleProjectsResponse) ProtoReflect() protoreflect.Message
func (*ListSampleProjectsResponse) Reset ¶
func (x *ListSampleProjectsResponse) Reset()
func (*ListSampleProjectsResponse) String ¶
func (x *ListSampleProjectsResponse) String() string
type ListVersionsRequest ¶
type ListVersionsRequest struct { // Required. The name of the resource in the format `projects/{project}`. The // `{project}` is the cloud project ID associated with the project. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of versions to return. The service may return // fewer than this value. If unspecified, at most 50 versions will be // returned. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListVersions` call. // Provide this to retrieve the subsequent page. // When paginating, all other parameters provided to `ListVersions` // 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 }
RPC request for listing versions
func (*ListVersionsRequest) Descriptor
deprecated
func (*ListVersionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListVersionsRequest.ProtoReflect.Descriptor instead.
func (*ListVersionsRequest) GetPageSize ¶
func (x *ListVersionsRequest) GetPageSize() int32
func (*ListVersionsRequest) GetPageToken ¶
func (x *ListVersionsRequest) GetPageToken() string
func (*ListVersionsRequest) GetParent ¶
func (x *ListVersionsRequest) GetParent() string
func (*ListVersionsRequest) ProtoMessage ¶
func (*ListVersionsRequest) ProtoMessage()
func (*ListVersionsRequest) ProtoReflect ¶
func (x *ListVersionsRequest) ProtoReflect() protoreflect.Message
func (*ListVersionsRequest) Reset ¶
func (x *ListVersionsRequest) Reset()
func (*ListVersionsRequest) String ¶
func (x *ListVersionsRequest) String() string
type ListVersionsResponse ¶
type ListVersionsResponse struct { // List of the versions for the given project id. Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,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 }
RPC response for listing versions
func (*ListVersionsResponse) Descriptor
deprecated
func (*ListVersionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListVersionsResponse.ProtoReflect.Descriptor instead.
func (*ListVersionsResponse) GetNextPageToken ¶
func (x *ListVersionsResponse) GetNextPageToken() string
func (*ListVersionsResponse) GetVersions ¶
func (x *ListVersionsResponse) GetVersions() []*Version
func (*ListVersionsResponse) ProtoMessage ¶
func (*ListVersionsResponse) ProtoMessage()
func (*ListVersionsResponse) ProtoReflect ¶
func (x *ListVersionsResponse) ProtoReflect() protoreflect.Message
func (*ListVersionsResponse) Reset ¶
func (x *ListVersionsResponse) Reset()
func (*ListVersionsResponse) String ¶
func (x *ListVersionsResponse) String() string
type LocalizedSettings ¶
type LocalizedSettings struct { // Required. The default display name for this Actions project (if there is no // translation available) DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Required. The pronunciation of the display name to invoke it within a voice // (spoken) context. Pronunciation string `protobuf:"bytes,2,opt,name=pronunciation,proto3" json:"pronunciation,omitempty"` // Required. The default short description for the Actions project (if there is no // translation available). 80 character limit. ShortDescription string `protobuf:"bytes,3,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"` // Required. The default long description for the Actions project (if there is no // translation available). 4000 character limit. FullDescription string `protobuf:"bytes,4,opt,name=full_description,json=fullDescription,proto3" json:"full_description,omitempty"` // Required. Small square image, 192 x 192 px. // This should be specified as a reference to the corresponding image in the // `resources/images/` directory. For example, `$resources.images.foo` (without the // extension) for image in `resources/images/foo.jpg` // When working on a project pulled from Console, the Google-managed URL // pulled could be used. URLs from external sources are not allowed. SmallLogoImage string `protobuf:"bytes,5,opt,name=small_logo_image,json=smallLogoImage,proto3" json:"small_logo_image,omitempty"` // Optional. Large landscape image, 1920 x 1080 px. // This should be specified as a reference to the corresponding image in the // `resources/images/` directory. For example, `$resources.images.foo` (without the // extension) for image in `resources/images/foo.jpg` // When working on a project pulled from Console, the Google-managed URL // pulled could be used. URLs from external sources are not allowed. LargeBannerImage string `protobuf:"bytes,6,opt,name=large_banner_image,json=largeBannerImage,proto3" json:"large_banner_image,omitempty"` // Required. The name of the developer to be displayed to users. DeveloperName string `protobuf:"bytes,7,opt,name=developer_name,json=developerName,proto3" json:"developer_name,omitempty"` // Required. The contact email address for the developer. DeveloperEmail string `protobuf:"bytes,8,opt,name=developer_email,json=developerEmail,proto3" json:"developer_email,omitempty"` // Optional. The terms of service URL. TermsOfServiceUrl string `protobuf:"bytes,9,opt,name=terms_of_service_url,json=termsOfServiceUrl,proto3" json:"terms_of_service_url,omitempty"` // Required. The Google Assistant voice type that users hear when they interact with // your Actions. The supported values are "male_1", "male_2", "female_1", and // "female_2". Voice string `protobuf:"bytes,10,opt,name=voice,proto3" json:"voice,omitempty"` // Optional. The locale for the specified voice. If not specified, this resolves // to the user's Assistant locale. If specified, the voice locale must have // the same root language as the locale specified in LocalizedSettings. VoiceLocale string `protobuf:"bytes,14,opt,name=voice_locale,json=voiceLocale,proto3" json:"voice_locale,omitempty"` // Required. The privacy policy URL. PrivacyPolicyUrl string `protobuf:"bytes,11,opt,name=privacy_policy_url,json=privacyPolicyUrl,proto3" json:"privacy_policy_url,omitempty"` // Optional. Sample invocation phrases displayed as part of your Actions project's // description in the Assistant directory. This will help users learn how to // use it. SampleInvocations []string `protobuf:"bytes,12,rep,name=sample_invocations,json=sampleInvocations,proto3" json:"sample_invocations,omitempty"` // Optional. Theme customizations for visual components of your Actions. ThemeCustomization *ThemeCustomization `protobuf:"bytes,13,opt,name=theme_customization,json=themeCustomization,proto3" json:"theme_customization,omitempty"` // contains filtered or unexported fields }
Represents settings of an Actions project that are specific to a user locale. In this instance, user means the end user who invokes your Actions. **This message is localizable.**
func (*LocalizedSettings) Descriptor
deprecated
func (*LocalizedSettings) Descriptor() ([]byte, []int)
Deprecated: Use LocalizedSettings.ProtoReflect.Descriptor instead.
func (*LocalizedSettings) GetDeveloperEmail ¶
func (x *LocalizedSettings) GetDeveloperEmail() string
func (*LocalizedSettings) GetDeveloperName ¶
func (x *LocalizedSettings) GetDeveloperName() string
func (*LocalizedSettings) GetDisplayName ¶
func (x *LocalizedSettings) GetDisplayName() string
func (*LocalizedSettings) GetFullDescription ¶
func (x *LocalizedSettings) GetFullDescription() string
func (*LocalizedSettings) GetLargeBannerImage ¶
func (x *LocalizedSettings) GetLargeBannerImage() string
func (*LocalizedSettings) GetPrivacyPolicyUrl ¶
func (x *LocalizedSettings) GetPrivacyPolicyUrl() string
func (*LocalizedSettings) GetPronunciation ¶
func (x *LocalizedSettings) GetPronunciation() string
func (*LocalizedSettings) GetSampleInvocations ¶
func (x *LocalizedSettings) GetSampleInvocations() []string
func (*LocalizedSettings) GetShortDescription ¶
func (x *LocalizedSettings) GetShortDescription() string
func (*LocalizedSettings) GetSmallLogoImage ¶
func (x *LocalizedSettings) GetSmallLogoImage() string
func (*LocalizedSettings) GetTermsOfServiceUrl ¶
func (x *LocalizedSettings) GetTermsOfServiceUrl() string
func (*LocalizedSettings) GetThemeCustomization ¶
func (x *LocalizedSettings) GetThemeCustomization() *ThemeCustomization
func (*LocalizedSettings) GetVoice ¶
func (x *LocalizedSettings) GetVoice() string
func (*LocalizedSettings) GetVoiceLocale ¶
func (x *LocalizedSettings) GetVoiceLocale() string
func (*LocalizedSettings) ProtoMessage ¶
func (*LocalizedSettings) ProtoMessage()
func (*LocalizedSettings) ProtoReflect ¶
func (x *LocalizedSettings) ProtoReflect() protoreflect.Message
func (*LocalizedSettings) Reset ¶
func (x *LocalizedSettings) Reset()
func (*LocalizedSettings) String ¶
func (x *LocalizedSettings) String() string
type Location ¶
type Location struct { // Geo coordinates. // Requires the [DEVICE_PRECISE_LOCATION] // [google.actions.v2.Permission.DEVICE_PRECISE_LOCATION] permission. Coordinates *latlng.LatLng `protobuf:"bytes,1,opt,name=coordinates,proto3" json:"coordinates,omitempty"` // Display address, e.g., "1600 Amphitheatre Pkwy, Mountain View, CA 94043". // Requires the [DEVICE_PRECISE_LOCATION] // [google.actions.v2.Permission.DEVICE_PRECISE_LOCATION] permission. FormattedAddress string `protobuf:"bytes,2,opt,name=formatted_address,json=formattedAddress,proto3" json:"formatted_address,omitempty"` // Zip code. // Requires the [DEVICE_PRECISE_LOCATION] // [google.actions.v2.Permission.DEVICE_PRECISE_LOCATION] or // [DEVICE_COARSE_LOCATION] // [google.actions.v2.Permission.DEVICE_COARSE_LOCATION] permission. ZipCode string `protobuf:"bytes,3,opt,name=zip_code,json=zipCode,proto3" json:"zip_code,omitempty"` // City. // Requires the [DEVICE_PRECISE_LOCATION] // [google.actions.v2.Permission.DEVICE_PRECISE_LOCATION] or // [DEVICE_COARSE_LOCATION] // [google.actions.v2.Permission.DEVICE_COARSE_LOCATION] permission. City string `protobuf:"bytes,4,opt,name=city,proto3" json:"city,omitempty"` // contains filtered or unexported fields }
Container that represents a location.
func (*Location) Descriptor
deprecated
func (*Location) GetCoordinates ¶
func (*Location) GetFormattedAddress ¶
func (*Location) GetZipCode ¶
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
func (*Location) ProtoReflect ¶
func (x *Location) ProtoReflect() protoreflect.Message
type Manifest ¶
type Manifest struct { // Version of the file format. The current file format version is 1.0 // Example: "1.0" Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
Contains information that's "transportable" i.e. not specific to any given project and can be moved between projects.
func (*Manifest) Descriptor
deprecated
func (*Manifest) GetVersion ¶
func (*Manifest) ProtoMessage ¶
func (*Manifest) ProtoMessage()
func (*Manifest) ProtoReflect ¶
func (x *Manifest) ProtoReflect() protoreflect.Message
type MatchIntentsRequest ¶
type MatchIntentsRequest struct { // Required. The project being tested, indicated by the Project ID. // Format: projects/{project} Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // Required. User query as plain text. Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` // Required. Locale to use to evaluate the query, such as "en". // The format should follow BCP 47: https://tools.ietf.org/html/bcp47 // See the list of supported languages in // https://developers.google.com/assistant/console/languages-locales Locale string `protobuf:"bytes,3,opt,name=locale,proto3" json:"locale,omitempty"` // contains filtered or unexported fields }
Request for finding matching intents.
func (*MatchIntentsRequest) Descriptor
deprecated
func (*MatchIntentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use MatchIntentsRequest.ProtoReflect.Descriptor instead.
func (*MatchIntentsRequest) GetLocale ¶
func (x *MatchIntentsRequest) GetLocale() string
func (*MatchIntentsRequest) GetProject ¶
func (x *MatchIntentsRequest) GetProject() string
func (*MatchIntentsRequest) GetQuery ¶
func (x *MatchIntentsRequest) GetQuery() string
func (*MatchIntentsRequest) ProtoMessage ¶
func (*MatchIntentsRequest) ProtoMessage()
func (*MatchIntentsRequest) ProtoReflect ¶
func (x *MatchIntentsRequest) ProtoReflect() protoreflect.Message
func (*MatchIntentsRequest) Reset ¶
func (x *MatchIntentsRequest) Reset()
func (*MatchIntentsRequest) String ¶
func (x *MatchIntentsRequest) String() string
type MatchIntentsResponse ¶
type MatchIntentsResponse struct { // Intents matched, ordered from most to least relevant. Only the first // 50 matches are returned. MatchedIntents []*conversation.Intent `protobuf:"bytes,1,rep,name=matched_intents,json=matchedIntents,proto3" json:"matched_intents,omitempty"` // contains filtered or unexported fields }
Response for finding matching intents.
func (*MatchIntentsResponse) Descriptor
deprecated
func (*MatchIntentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MatchIntentsResponse.ProtoReflect.Descriptor instead.
func (*MatchIntentsResponse) GetMatchedIntents ¶
func (x *MatchIntentsResponse) GetMatchedIntents() []*conversation.Intent
func (*MatchIntentsResponse) ProtoMessage ¶
func (*MatchIntentsResponse) ProtoMessage()
func (*MatchIntentsResponse) ProtoReflect ¶
func (x *MatchIntentsResponse) ProtoReflect() protoreflect.Message
func (*MatchIntentsResponse) Reset ¶
func (x *MatchIntentsResponse) Reset()
func (*MatchIntentsResponse) String ¶
func (x *MatchIntentsResponse) String() string
type OnSceneEnter ¶
type OnSceneEnter struct { // Handler name specified in onSceneEnter event. Handler string `protobuf:"bytes,1,opt,name=handler,proto3" json:"handler,omitempty"` // contains filtered or unexported fields }
Information about execution of onSceneEnter stage: https://developers.google.com/assistant/conversational/scenes#on_enter
func (*OnSceneEnter) Descriptor
deprecated
func (*OnSceneEnter) Descriptor() ([]byte, []int)
Deprecated: Use OnSceneEnter.ProtoReflect.Descriptor instead.
func (*OnSceneEnter) GetHandler ¶
func (x *OnSceneEnter) GetHandler() string
func (*OnSceneEnter) ProtoMessage ¶
func (*OnSceneEnter) ProtoMessage()
func (*OnSceneEnter) ProtoReflect ¶
func (x *OnSceneEnter) ProtoReflect() protoreflect.Message
func (*OnSceneEnter) Reset ¶
func (x *OnSceneEnter) Reset()
func (*OnSceneEnter) String ¶
func (x *OnSceneEnter) String() string
type Output ¶
type Output struct { // Spoken response sent to user as a plain string. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // Speech content produced by the Action. This may include markup elements // such as SSML. Speech []string `protobuf:"bytes,2,rep,name=speech,proto3" json:"speech,omitempty"` // Interactive Canvas content. Canvas *conversation.Canvas `protobuf:"bytes,3,opt,name=canvas,proto3" json:"canvas,omitempty"` // State of the prompt at the end of the conversation round. // More information about the prompt: // https://developers.google.com/assistant/conversational/prompts ActionsBuilderPrompt *conversation.Prompt `protobuf:"bytes,4,opt,name=actions_builder_prompt,json=actionsBuilderPrompt,proto3" json:"actions_builder_prompt,omitempty"` // contains filtered or unexported fields }
User-visible output to the conversation round.
func (*Output) Descriptor
deprecated
func (*Output) GetActionsBuilderPrompt ¶
func (x *Output) GetActionsBuilderPrompt() *conversation.Prompt
func (*Output) GetCanvas ¶
func (x *Output) GetCanvas() *conversation.Canvas
func (*Output) ProtoMessage ¶
func (*Output) ProtoMessage()
func (*Output) ProtoReflect ¶
func (x *Output) ProtoReflect() protoreflect.Message
type Preview ¶
type Preview struct { // The unique identifier of the preview. // Format: `projects/{project}/preview` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Validation results associated with the user project preview content. ValidationResults *ValidationResults `protobuf:"bytes,2,opt,name=validation_results,json=validationResults,proto3" json:"validation_results,omitempty"` // The simulator URL to test the user preview. SimulatorUrl string `protobuf:"bytes,3,opt,name=simulator_url,json=simulatorUrl,proto3" json:"simulator_url,omitempty"` // contains filtered or unexported fields }
Definition of preview resource.
func (*Preview) Descriptor
deprecated
func (*Preview) GetSimulatorUrl ¶
func (*Preview) GetValidationResults ¶
func (x *Preview) GetValidationResults() *ValidationResults
func (*Preview) ProtoMessage ¶
func (*Preview) ProtoMessage()
func (*Preview) ProtoReflect ¶
func (x *Preview) ProtoReflect() protoreflect.Message
type ReadDraftRequest ¶
type ReadDraftRequest struct { // Required. The name of the resource in the format `projects/{project}/draft`. The // `{project}` is the cloud project ID associated with the project. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The version of the crypto key used to encrypt the account linking OAuth // client secret. If not specified, the primary key version is used for // encryption. Only relevant for projects with account linking with client // secret. ClientSecretEncryptionKeyVersion string `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
RPC request for ReadDraft.
func (*ReadDraftRequest) Descriptor
deprecated
func (*ReadDraftRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadDraftRequest.ProtoReflect.Descriptor instead.
func (*ReadDraftRequest) GetClientSecretEncryptionKeyVersion ¶
func (x *ReadDraftRequest) GetClientSecretEncryptionKeyVersion() string
func (*ReadDraftRequest) GetName ¶
func (x *ReadDraftRequest) GetName() string
func (*ReadDraftRequest) ProtoMessage ¶
func (*ReadDraftRequest) ProtoMessage()
func (*ReadDraftRequest) ProtoReflect ¶
func (x *ReadDraftRequest) ProtoReflect() protoreflect.Message
func (*ReadDraftRequest) Reset ¶
func (x *ReadDraftRequest) Reset()
func (*ReadDraftRequest) String ¶
func (x *ReadDraftRequest) String() string
type ReadDraftResponse ¶
type ReadDraftResponse struct { // List of files sent from the server at a time. Files *Files `protobuf:"bytes,3,opt,name=files,proto3" json:"files,omitempty"` // contains filtered or unexported fields }
Streaming RPC response for ReadDraft.
func (*ReadDraftResponse) Descriptor
deprecated
func (*ReadDraftResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadDraftResponse.ProtoReflect.Descriptor instead.
func (*ReadDraftResponse) GetFiles ¶
func (x *ReadDraftResponse) GetFiles() *Files
func (*ReadDraftResponse) ProtoMessage ¶
func (*ReadDraftResponse) ProtoMessage()
func (*ReadDraftResponse) ProtoReflect ¶
func (x *ReadDraftResponse) ProtoReflect() protoreflect.Message
func (*ReadDraftResponse) Reset ¶
func (x *ReadDraftResponse) Reset()
func (*ReadDraftResponse) String ¶
func (x *ReadDraftResponse) String() string
type ReadVersionRequest ¶
type ReadVersionRequest struct { // Required. The name of the version resource in the format // `projects/{project}/versions/{version}`. `{project}` is the // cloud project ID associated with the project, `{version}` is the // identifier of the version being read. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The version of the crypto key used to encrypt the account linking OAuth // client secret. If not specified, the primary key version is used for // encryption. Only relevant for projects with account linking with client // secret. ClientSecretEncryptionKeyVersion string `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
RPC request for ReadVersion.
func (*ReadVersionRequest) Descriptor
deprecated
func (*ReadVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadVersionRequest.ProtoReflect.Descriptor instead.
func (*ReadVersionRequest) GetClientSecretEncryptionKeyVersion ¶
func (x *ReadVersionRequest) GetClientSecretEncryptionKeyVersion() string
func (*ReadVersionRequest) GetName ¶
func (x *ReadVersionRequest) GetName() string
func (*ReadVersionRequest) ProtoMessage ¶
func (*ReadVersionRequest) ProtoMessage()
func (*ReadVersionRequest) ProtoReflect ¶
func (x *ReadVersionRequest) ProtoReflect() protoreflect.Message
func (*ReadVersionRequest) Reset ¶
func (x *ReadVersionRequest) Reset()
func (*ReadVersionRequest) String ¶
func (x *ReadVersionRequest) String() string
type ReadVersionResponse ¶
type ReadVersionResponse struct { // List of files sent from the server at a time. Files *Files `protobuf:"bytes,1,opt,name=files,proto3" json:"files,omitempty"` // contains filtered or unexported fields }
Streaming RPC response for ReadVersion.
func (*ReadVersionResponse) Descriptor
deprecated
func (*ReadVersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadVersionResponse.ProtoReflect.Descriptor instead.
func (*ReadVersionResponse) GetFiles ¶
func (x *ReadVersionResponse) GetFiles() *Files
func (*ReadVersionResponse) ProtoMessage ¶
func (*ReadVersionResponse) ProtoMessage()
func (*ReadVersionResponse) ProtoReflect ¶
func (x *ReadVersionResponse) ProtoReflect() protoreflect.Message
func (*ReadVersionResponse) Reset ¶
func (x *ReadVersionResponse) Reset()
func (*ReadVersionResponse) String ¶
func (x *ReadVersionResponse) String() string
type ReleaseChannel ¶
type ReleaseChannel struct { // The unique name of the release channel in the following format. // `projects/{project}/releaseChannels/{release_channel}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Version currently deployed to this release channel in the following format: // `projects/{project}/versions/{version}`. CurrentVersion string `protobuf:"bytes,2,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty"` // Version to be deployed to this release channel in the following format: // `projects/{project}/versions/{version}`. PendingVersion string `protobuf:"bytes,3,opt,name=pending_version,json=pendingVersion,proto3" json:"pending_version,omitempty"` // contains filtered or unexported fields }
Definition of release channel resource.
func (*ReleaseChannel) Descriptor
deprecated
func (*ReleaseChannel) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseChannel.ProtoReflect.Descriptor instead.
func (*ReleaseChannel) GetCurrentVersion ¶
func (x *ReleaseChannel) GetCurrentVersion() string
func (*ReleaseChannel) GetName ¶
func (x *ReleaseChannel) GetName() string
func (*ReleaseChannel) GetPendingVersion ¶
func (x *ReleaseChannel) GetPendingVersion() string
func (*ReleaseChannel) ProtoMessage ¶
func (*ReleaseChannel) ProtoMessage()
func (*ReleaseChannel) ProtoReflect ¶
func (x *ReleaseChannel) ProtoReflect() protoreflect.Message
func (*ReleaseChannel) Reset ¶
func (x *ReleaseChannel) Reset()
func (*ReleaseChannel) String ¶
func (x *ReleaseChannel) String() string
type SampleProject ¶
type SampleProject struct { // The name of the sample project. // Format: `sampleProjects/{sample_project}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The URL to the zip file where the sample is hosted. HostedUrl string `protobuf:"bytes,2,opt,name=hosted_url,json=hostedUrl,proto3" json:"hosted_url,omitempty"` // The description of the sample project. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
Definition of sample project resource.
func (*SampleProject) Descriptor
deprecated
func (*SampleProject) Descriptor() ([]byte, []int)
Deprecated: Use SampleProject.ProtoReflect.Descriptor instead.
func (*SampleProject) GetDescription ¶
func (x *SampleProject) GetDescription() string
func (*SampleProject) GetHostedUrl ¶
func (x *SampleProject) GetHostedUrl() string
func (*SampleProject) GetName ¶
func (x *SampleProject) GetName() string
func (*SampleProject) ProtoMessage ¶
func (*SampleProject) ProtoMessage()
func (*SampleProject) ProtoReflect ¶
func (x *SampleProject) ProtoReflect() protoreflect.Message
func (*SampleProject) Reset ¶
func (x *SampleProject) Reset()
func (*SampleProject) String ¶
func (x *SampleProject) String() string
type SendInteractionRequest ¶
type SendInteractionRequest struct { // Required. The project being tested, indicated by the Project ID. // Format: projects/{project} Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // Required. Input provided by the user. Input *UserInput `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"` // Required. Properties of the device used for interacting with the Action. DeviceProperties *DeviceProperties `protobuf:"bytes,3,opt,name=device_properties,json=deviceProperties,proto3" json:"device_properties,omitempty"` // Opaque token that must be passed as received from SendInteractionResponse // on the previous interaction. This can be left unset in order to start a new // conversation, either as the first interaction of a testing session or to // abandon a previous conversation and start a new one. ConversationToken string `protobuf:"bytes,4,opt,name=conversation_token,json=conversationToken,proto3" json:"conversation_token,omitempty"` // contains filtered or unexported fields }
Request for playing a round of the conversation.
func (*SendInteractionRequest) Descriptor
deprecated
func (*SendInteractionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendInteractionRequest.ProtoReflect.Descriptor instead.
func (*SendInteractionRequest) GetConversationToken ¶
func (x *SendInteractionRequest) GetConversationToken() string
func (*SendInteractionRequest) GetDeviceProperties ¶
func (x *SendInteractionRequest) GetDeviceProperties() *DeviceProperties
func (*SendInteractionRequest) GetInput ¶
func (x *SendInteractionRequest) GetInput() *UserInput
func (*SendInteractionRequest) GetProject ¶
func (x *SendInteractionRequest) GetProject() string
func (*SendInteractionRequest) ProtoMessage ¶
func (*SendInteractionRequest) ProtoMessage()
func (*SendInteractionRequest) ProtoReflect ¶
func (x *SendInteractionRequest) ProtoReflect() protoreflect.Message
func (*SendInteractionRequest) Reset ¶
func (x *SendInteractionRequest) Reset()
func (*SendInteractionRequest) String ¶
func (x *SendInteractionRequest) String() string
type SendInteractionResponse ¶
type SendInteractionResponse struct { // Output provided to the user. Output *Output `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"` // Diagnostics information that explains how the request was handled. Diagnostics *Diagnostics `protobuf:"bytes,2,opt,name=diagnostics,proto3" json:"diagnostics,omitempty"` // Opaque token to be set on SendInteractionRequest on the next RPC call in // order to continue the same conversation. ConversationToken string `protobuf:"bytes,3,opt,name=conversation_token,json=conversationToken,proto3" json:"conversation_token,omitempty"` // contains filtered or unexported fields }
Response to a round of the conversation.
func (*SendInteractionResponse) Descriptor
deprecated
func (*SendInteractionResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendInteractionResponse.ProtoReflect.Descriptor instead.
func (*SendInteractionResponse) GetConversationToken ¶
func (x *SendInteractionResponse) GetConversationToken() string
func (*SendInteractionResponse) GetDiagnostics ¶
func (x *SendInteractionResponse) GetDiagnostics() *Diagnostics
func (*SendInteractionResponse) GetOutput ¶
func (x *SendInteractionResponse) GetOutput() *Output
func (*SendInteractionResponse) ProtoMessage ¶
func (*SendInteractionResponse) ProtoMessage()
func (*SendInteractionResponse) ProtoReflect ¶
func (x *SendInteractionResponse) ProtoReflect() protoreflect.Message
func (*SendInteractionResponse) Reset ¶
func (x *SendInteractionResponse) Reset()
func (*SendInteractionResponse) String ¶
func (x *SendInteractionResponse) String() string
type SetWebAndAppActivityControlRequest ¶
type SetWebAndAppActivityControlRequest struct { // Whether the setting should be set to an enabled or disabled state. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
Request for setting Web & App Activity preferences.
func (*SetWebAndAppActivityControlRequest) Descriptor
deprecated
func (*SetWebAndAppActivityControlRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetWebAndAppActivityControlRequest.ProtoReflect.Descriptor instead.
func (*SetWebAndAppActivityControlRequest) GetEnabled ¶
func (x *SetWebAndAppActivityControlRequest) GetEnabled() bool
func (*SetWebAndAppActivityControlRequest) ProtoMessage ¶
func (*SetWebAndAppActivityControlRequest) ProtoMessage()
func (*SetWebAndAppActivityControlRequest) ProtoReflect ¶
func (x *SetWebAndAppActivityControlRequest) ProtoReflect() protoreflect.Message
func (*SetWebAndAppActivityControlRequest) Reset ¶
func (x *SetWebAndAppActivityControlRequest) Reset()
func (*SetWebAndAppActivityControlRequest) String ¶
func (x *SetWebAndAppActivityControlRequest) String() string
type Settings ¶
type Settings struct { // Actions project id. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Locale which is default for the project. For all files except under // `resources/` with no locale in the path, the localized data is attributed // to this `default_locale`. For files under `resources/` no locale means that // the resource is applicable to all locales. DefaultLocale string `protobuf:"bytes,2,opt,name=default_locale,json=defaultLocale,proto3" json:"default_locale,omitempty"` // Represents the regions where users can invoke your Actions, which is // based on the user's location of presence. Cannot be set if // `disabled_regions` is set. If both `enabled_regions` and `disabled_regions` // are not specified, users can invoke your Actions in all regions. Each // region is represented using the Canonical Name of Adwords geotargets. See // https://developers.google.com/adwords/api/docs/appendix/geotargeting // Examples include: // - "Germany" // - "Ghana" // - "Greece" // - "Grenada" // - "United Kingdom" // - "United States" // - "United States Minor Outlying Islands" // - "Uruguay" EnabledRegions []string `protobuf:"bytes,3,rep,name=enabled_regions,json=enabledRegions,proto3" json:"enabled_regions,omitempty"` // Represents the regions where your Actions are blocked, based on the user's // location of presence. Cannot be set if `enabled_regions` is set. // Each region is represented using the Canonical Name of Adwords geotargets. // See https://developers.google.com/adwords/api/docs/appendix/geotargeting // Examples include: // - "Germany" // - "Ghana" // - "Greece" // - "Grenada" // - "United Kingdom" // - "United States" // - "United States Minor Outlying Islands" // - "Uruguay" DisabledRegions []string `protobuf:"bytes,4,rep,name=disabled_regions,json=disabledRegions,proto3" json:"disabled_regions,omitempty"` // The category for this Actions project. Category Settings_Category `protobuf:"varint,5,opt,name=category,proto3,enum=google.actions.sdk.v2.Settings_Category" json:"category,omitempty"` // Whether Actions can use transactions (for example, making // reservations, taking orders, etc.). If false, then attempts to use the // Transactions APIs fail. UsesTransactionsApi bool `protobuf:"varint,6,opt,name=uses_transactions_api,json=usesTransactionsApi,proto3" json:"uses_transactions_api,omitempty"` // Whether Actions can perform transactions for digital goods. UsesDigitalPurchaseApi bool `` /* 132-byte string literal not displayed */ // Whether Actions use Interactive Canvas. UsesInteractiveCanvas bool `` /* 127-byte string literal not displayed */ // Whether Actions use the home storage feature. UsesHomeStorage bool `protobuf:"varint,17,opt,name=uses_home_storage,json=usesHomeStorage,proto3" json:"uses_home_storage,omitempty"` // Whether Actions content is designed for family (DFF). DesignedForFamily bool `protobuf:"varint,9,opt,name=designed_for_family,json=designedForFamily,proto3" json:"designed_for_family,omitempty"` // Whether Actions contains alcohol or tobacco related content. ContainsAlcoholOrTobaccoContent bool `` /* 162-byte string literal not displayed */ // Whether Actions may leave mic open without an explicit prompt during // conversation. KeepsMicOpen bool `protobuf:"varint,12,opt,name=keeps_mic_open,json=keepsMicOpen,proto3" json:"keeps_mic_open,omitempty"` // The surface requirements that a client surface must support to invoke // Actions in this project. SurfaceRequirements *SurfaceRequirements `protobuf:"bytes,13,opt,name=surface_requirements,json=surfaceRequirements,proto3" json:"surface_requirements,omitempty"` // Free-form testing instructions for Actions reviewer (for example, account // linking instructions). TestingInstructions string `protobuf:"bytes,14,opt,name=testing_instructions,json=testingInstructions,proto3" json:"testing_instructions,omitempty"` // Localized settings for the project's default locale. Every additional // locale should have its own settings file in its own directory. LocalizedSettings *LocalizedSettings `protobuf:"bytes,15,opt,name=localized_settings,json=localizedSettings,proto3" json:"localized_settings,omitempty"` // Allow users to create or link accounts through Google sign-in and/or your // own OAuth service. AccountLinking *AccountLinking `protobuf:"bytes,16,opt,name=account_linking,json=accountLinking,proto3" json:"account_linking,omitempty"` // Android apps selected to acccess Google Play purchases for transactions. // This is a selection from the Android apps connected to the actions project // to verify brand ownership and enable additional features. See // https://developers.google.com/assistant/console/brand-verification for more // information. SelectedAndroidApps []string `protobuf:"bytes,20,rep,name=selected_android_apps,json=selectedAndroidApps,proto3" json:"selected_android_apps,omitempty"` // contains filtered or unexported fields }
Represents settings of an Actions project that are not locale specific.
func (*Settings) Descriptor
deprecated
func (*Settings) GetAccountLinking ¶
func (x *Settings) GetAccountLinking() *AccountLinking
func (*Settings) GetCategory ¶
func (x *Settings) GetCategory() Settings_Category
func (*Settings) GetContainsAlcoholOrTobaccoContent ¶
func (*Settings) GetDefaultLocale ¶
func (*Settings) GetDesignedForFamily ¶
func (*Settings) GetDisabledRegions ¶
func (*Settings) GetEnabledRegions ¶
func (*Settings) GetKeepsMicOpen ¶
func (*Settings) GetLocalizedSettings ¶
func (x *Settings) GetLocalizedSettings() *LocalizedSettings
func (*Settings) GetProjectId ¶
func (*Settings) GetSelectedAndroidApps ¶
func (*Settings) GetSurfaceRequirements ¶
func (x *Settings) GetSurfaceRequirements() *SurfaceRequirements
func (*Settings) GetTestingInstructions ¶
func (*Settings) GetUsesDigitalPurchaseApi ¶
func (*Settings) GetUsesHomeStorage ¶
func (*Settings) GetUsesInteractiveCanvas ¶
func (*Settings) GetUsesTransactionsApi ¶
func (*Settings) ProtoMessage ¶
func (*Settings) ProtoMessage()
func (*Settings) ProtoReflect ¶
func (x *Settings) ProtoReflect() protoreflect.Message
type Settings_Category ¶
type Settings_Category int32
The category choices for an Actions project.
const ( // Unknown / Unspecified. Settings_CATEGORY_UNSPECIFIED Settings_Category = 0 // Business and Finance category. Settings_BUSINESS_AND_FINANCE Settings_Category = 2 // Education and Reference category. Settings_EDUCATION_AND_REFERENCE Settings_Category = 3 // Food and Drink category. Settings_FOOD_AND_DRINK Settings_Category = 4 // Games and Trivia category. Settings_GAMES_AND_TRIVIA Settings_Category = 5 // Health and Fitness category. Settings_HEALTH_AND_FITNESS Settings_Category = 6 // Kids and Family category. Settings_KIDS_AND_FAMILY Settings_Category = 20 // Lifestyle category. Settings_LIFESTYLE Settings_Category = 7 // Local category. Settings_LOCAL Settings_Category = 8 // Movies and TV category. Settings_MOVIES_AND_TV Settings_Category = 9 // Music and Audio category. Settings_MUSIC_AND_AUDIO Settings_Category = 10 // News category, Settings_NEWS Settings_Category = 1 // Novelty and Humor category. Settings_NOVELTY_AND_HUMOR Settings_Category = 11 // Productivity category. Settings_PRODUCTIVITY Settings_Category = 12 // Shopping category. Settings_SHOPPING Settings_Category = 13 // Social category. Settings_SOCIAL Settings_Category = 14 // Sports category. Settings_SPORTS Settings_Category = 15 // Travel and Transportation category. Settings_TRAVEL_AND_TRANSPORTATION Settings_Category = 16 // Utilities category. Settings_UTILITIES Settings_Category = 17 // Weather category. Settings_WEATHER Settings_Category = 18 // Home Control category. Settings_HOME_CONTROL Settings_Category = 19 )
func (Settings_Category) Descriptor ¶
func (Settings_Category) Descriptor() protoreflect.EnumDescriptor
func (Settings_Category) Enum ¶
func (x Settings_Category) Enum() *Settings_Category
func (Settings_Category) EnumDescriptor
deprecated
func (Settings_Category) EnumDescriptor() ([]byte, []int)
Deprecated: Use Settings_Category.Descriptor instead.
func (Settings_Category) Number ¶
func (x Settings_Category) Number() protoreflect.EnumNumber
func (Settings_Category) String ¶
func (x Settings_Category) String() string
func (Settings_Category) Type ¶
func (Settings_Category) Type() protoreflect.EnumType
type SlotMatch ¶
type SlotMatch struct { // Parameters extracted by NLU from user input. NluParameters map[string]*conversation.IntentParameterValue `` /* 188-byte string literal not displayed */ // contains filtered or unexported fields }
Information about matched slot(s): https://developers.google.com/assistant/conversational/scenes#slot_filling
func (*SlotMatch) Descriptor
deprecated
func (*SlotMatch) GetNluParameters ¶
func (x *SlotMatch) GetNluParameters() map[string]*conversation.IntentParameterValue
func (*SlotMatch) ProtoMessage ¶
func (*SlotMatch) ProtoMessage()
func (*SlotMatch) ProtoReflect ¶
func (x *SlotMatch) ProtoReflect() protoreflect.Message
type SlotRequested ¶
type SlotRequested struct { // Name of the requested slot. Slot string `protobuf:"bytes,1,opt,name=slot,proto3" json:"slot,omitempty"` // Slot prompt. Prompt *conversation.Prompt `protobuf:"bytes,3,opt,name=prompt,proto3" json:"prompt,omitempty"` // contains filtered or unexported fields }
Information about currently requested slot: https://developers.google.com/assistant/conversational/scenes#slot_filling
func (*SlotRequested) Descriptor
deprecated
func (*SlotRequested) Descriptor() ([]byte, []int)
Deprecated: Use SlotRequested.ProtoReflect.Descriptor instead.
func (*SlotRequested) GetPrompt ¶
func (x *SlotRequested) GetPrompt() *conversation.Prompt
func (*SlotRequested) GetSlot ¶
func (x *SlotRequested) GetSlot() string
func (*SlotRequested) ProtoMessage ¶
func (*SlotRequested) ProtoMessage()
func (*SlotRequested) ProtoReflect ¶
func (x *SlotRequested) ProtoReflect() protoreflect.Message
func (*SlotRequested) Reset ¶
func (x *SlotRequested) Reset()
func (*SlotRequested) String ¶
func (x *SlotRequested) String() string
type SlotValidated ¶
type SlotValidated struct {
// contains filtered or unexported fields
}
Event which happens after webhook validation was finished for slot(s): https://developers.google.com/assistant/conversational/scenes#slot_filling
func (*SlotValidated) Descriptor
deprecated
func (*SlotValidated) Descriptor() ([]byte, []int)
Deprecated: Use SlotValidated.ProtoReflect.Descriptor instead.
func (*SlotValidated) ProtoMessage ¶
func (*SlotValidated) ProtoMessage()
func (*SlotValidated) ProtoReflect ¶
func (x *SlotValidated) ProtoReflect() protoreflect.Message
func (*SlotValidated) Reset ¶
func (x *SlotValidated) Reset()
func (*SlotValidated) String ¶
func (x *SlotValidated) String() string
type Slots ¶
type Slots struct { // The current status of slot filling. Status conversation.SlotFillingStatus `protobuf:"varint,2,opt,name=status,proto3,enum=google.actions.sdk.v2.conversation.SlotFillingStatus" json:"status,omitempty"` // The slots associated with the current scene. Slots map[string]*conversation.Slot `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
Represents the current state of a the scene's slots.
func (*Slots) Descriptor
deprecated
func (*Slots) GetStatus ¶
func (x *Slots) GetStatus() conversation.SlotFillingStatus
func (*Slots) ProtoMessage ¶
func (*Slots) ProtoMessage()
func (*Slots) ProtoReflect ¶
func (x *Slots) ProtoReflect() protoreflect.Message
type SurfaceRequirements ¶
type SurfaceRequirements struct { // The minimum set of capabilities needed to invoke the Actions in your // project. If the surface is missing any of these, the Action will not be // triggered. MinimumRequirements []*CapabilityRequirement `protobuf:"bytes,1,rep,name=minimum_requirements,json=minimumRequirements,proto3" json:"minimum_requirements,omitempty"` // contains filtered or unexported fields }
Contains a set of requirements that the client surface must support to invoke Actions in your project.
func (*SurfaceRequirements) Descriptor
deprecated
func (*SurfaceRequirements) Descriptor() ([]byte, []int)
Deprecated: Use SurfaceRequirements.ProtoReflect.Descriptor instead.
func (*SurfaceRequirements) GetMinimumRequirements ¶
func (x *SurfaceRequirements) GetMinimumRequirements() []*CapabilityRequirement
func (*SurfaceRequirements) ProtoMessage ¶
func (*SurfaceRequirements) ProtoMessage()
func (*SurfaceRequirements) ProtoReflect ¶
func (x *SurfaceRequirements) ProtoReflect() protoreflect.Message
func (*SurfaceRequirements) Reset ¶
func (x *SurfaceRequirements) Reset()
func (*SurfaceRequirements) String ¶
func (x *SurfaceRequirements) String() string
type ThemeCustomization ¶
type ThemeCustomization struct { // Background color of cards. Acts as a fallback if `background_image` is // not provided by developers or `background_image` doesn't fit for certain // surfaces. // Example usage: #FAFAFA BackgroundColor string `protobuf:"bytes,1,opt,name=background_color,json=backgroundColor,proto3" json:"background_color,omitempty"` // Primary theme color of the Action will be used to set text color of title, // action item background color for Actions on Google cards. // Example usage: #FAFAFA PrimaryColor string `protobuf:"bytes,2,opt,name=primary_color,json=primaryColor,proto3" json:"primary_color,omitempty"` // The font family that will be used for title of cards. // Supported fonts: // - Sans Serif // - Sans Serif Medium // - Sans Serif Bold // - Sans Serif Black // - Sans Serif Condensed // - Sans Serif Condensed Medium // - Serif // - Serif Bold // - Monospace // - Cursive // - Sans Serif Smallcaps FontFamily string `protobuf:"bytes,3,opt,name=font_family,json=fontFamily,proto3" json:"font_family,omitempty"` // Border style of foreground image of cards. For example, can be applied on // the foreground image of a basic card or carousel card. ImageCornerStyle ThemeCustomization_ImageCornerStyle `` /* 175-byte string literal not displayed */ // Landscape mode (minimum 1920x1200 pixels). // This should be specified as a reference to the corresponding image in the // `resources/images/` directory. Eg: `$resources.images.foo` (without the // extension) for image in `resources/images/foo.jpg` // When working on a project pulled from Console the Google managed url pulled // could be used. LandscapeBackgroundImage string `` /* 135-byte string literal not displayed */ // Portrait mode (minimum 1200x1920 pixels). // This should be specified as a reference to the corresponding image in the // `resources/images/` directory. Eg: `$resources.images.foo` (without the // extension) for image in `resources/images/foo.jpg` // When working on a project pulled from Console the Google managed url pulled // could be used. PortraitBackgroundImage string `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
Styles applied to cards that are presented to users
func (*ThemeCustomization) Descriptor
deprecated
func (*ThemeCustomization) Descriptor() ([]byte, []int)
Deprecated: Use ThemeCustomization.ProtoReflect.Descriptor instead.
func (*ThemeCustomization) GetBackgroundColor ¶
func (x *ThemeCustomization) GetBackgroundColor() string
func (*ThemeCustomization) GetFontFamily ¶
func (x *ThemeCustomization) GetFontFamily() string
func (*ThemeCustomization) GetImageCornerStyle ¶
func (x *ThemeCustomization) GetImageCornerStyle() ThemeCustomization_ImageCornerStyle
func (*ThemeCustomization) GetLandscapeBackgroundImage ¶
func (x *ThemeCustomization) GetLandscapeBackgroundImage() string
func (*ThemeCustomization) GetPortraitBackgroundImage ¶
func (x *ThemeCustomization) GetPortraitBackgroundImage() string
func (*ThemeCustomization) GetPrimaryColor ¶
func (x *ThemeCustomization) GetPrimaryColor() string
func (*ThemeCustomization) ProtoMessage ¶
func (*ThemeCustomization) ProtoMessage()
func (*ThemeCustomization) ProtoReflect ¶
func (x *ThemeCustomization) ProtoReflect() protoreflect.Message
func (*ThemeCustomization) Reset ¶
func (x *ThemeCustomization) Reset()
func (*ThemeCustomization) String ¶
func (x *ThemeCustomization) String() string
type ThemeCustomization_ImageCornerStyle ¶
type ThemeCustomization_ImageCornerStyle int32
Describes how the borders of images should be rendered.
const ( // Undefined / Unspecified. ThemeCustomization_IMAGE_CORNER_STYLE_UNSPECIFIED ThemeCustomization_ImageCornerStyle = 0 // Round corner for image. ThemeCustomization_CURVED ThemeCustomization_ImageCornerStyle = 1 // Rectangular corner for image. ThemeCustomization_ANGLED ThemeCustomization_ImageCornerStyle = 2 )
func (ThemeCustomization_ImageCornerStyle) Descriptor ¶
func (ThemeCustomization_ImageCornerStyle) Descriptor() protoreflect.EnumDescriptor
func (ThemeCustomization_ImageCornerStyle) Enum ¶
func (x ThemeCustomization_ImageCornerStyle) Enum() *ThemeCustomization_ImageCornerStyle
func (ThemeCustomization_ImageCornerStyle) EnumDescriptor
deprecated
func (ThemeCustomization_ImageCornerStyle) EnumDescriptor() ([]byte, []int)
Deprecated: Use ThemeCustomization_ImageCornerStyle.Descriptor instead.
func (ThemeCustomization_ImageCornerStyle) Number ¶
func (x ThemeCustomization_ImageCornerStyle) Number() protoreflect.EnumNumber
func (ThemeCustomization_ImageCornerStyle) String ¶
func (x ThemeCustomization_ImageCornerStyle) String() string
func (ThemeCustomization_ImageCornerStyle) Type ¶
func (ThemeCustomization_ImageCornerStyle) Type() protoreflect.EnumType
type UnimplementedActionsSdkServer ¶
type UnimplementedActionsSdkServer struct { }
UnimplementedActionsSdkServer can be embedded to have forward compatible implementations.
func (*UnimplementedActionsSdkServer) CreateVersion ¶
func (*UnimplementedActionsSdkServer) CreateVersion(ActionsSdk_CreateVersionServer) error
func (*UnimplementedActionsSdkServer) DecryptSecret ¶
func (*UnimplementedActionsSdkServer) DecryptSecret(context.Context, *DecryptSecretRequest) (*DecryptSecretResponse, error)
func (*UnimplementedActionsSdkServer) EncryptSecret ¶
func (*UnimplementedActionsSdkServer) EncryptSecret(context.Context, *EncryptSecretRequest) (*EncryptSecretResponse, error)
func (*UnimplementedActionsSdkServer) ListReleaseChannels ¶
func (*UnimplementedActionsSdkServer) ListReleaseChannels(context.Context, *ListReleaseChannelsRequest) (*ListReleaseChannelsResponse, error)
func (*UnimplementedActionsSdkServer) ListSampleProjects ¶
func (*UnimplementedActionsSdkServer) ListSampleProjects(context.Context, *ListSampleProjectsRequest) (*ListSampleProjectsResponse, error)
func (*UnimplementedActionsSdkServer) ListVersions ¶
func (*UnimplementedActionsSdkServer) ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error)
func (*UnimplementedActionsSdkServer) ReadDraft ¶
func (*UnimplementedActionsSdkServer) ReadDraft(*ReadDraftRequest, ActionsSdk_ReadDraftServer) error
func (*UnimplementedActionsSdkServer) ReadVersion ¶
func (*UnimplementedActionsSdkServer) ReadVersion(*ReadVersionRequest, ActionsSdk_ReadVersionServer) error
func (*UnimplementedActionsSdkServer) WriteDraft ¶
func (*UnimplementedActionsSdkServer) WriteDraft(ActionsSdk_WriteDraftServer) error
func (*UnimplementedActionsSdkServer) WritePreview ¶
func (*UnimplementedActionsSdkServer) WritePreview(ActionsSdk_WritePreviewServer) error
type UnimplementedActionsTestingServer ¶
type UnimplementedActionsTestingServer struct { }
UnimplementedActionsTestingServer can be embedded to have forward compatible implementations.
func (*UnimplementedActionsTestingServer) MatchIntents ¶
func (*UnimplementedActionsTestingServer) MatchIntents(context.Context, *MatchIntentsRequest) (*MatchIntentsResponse, error)
func (*UnimplementedActionsTestingServer) SendInteraction ¶
func (*UnimplementedActionsTestingServer) SendInteraction(context.Context, *SendInteractionRequest) (*SendInteractionResponse, error)
func (*UnimplementedActionsTestingServer) SetWebAndAppActivityControl ¶
func (*UnimplementedActionsTestingServer) SetWebAndAppActivityControl(context.Context, *SetWebAndAppActivityControlRequest) (*emptypb.Empty, error)
type UserConversationInput ¶
type UserConversationInput struct { // Type of user input. E.g. keyboard, voice, touch, etc. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Original text input from the user. OriginalQuery string `protobuf:"bytes,2,opt,name=original_query,json=originalQuery,proto3" json:"original_query,omitempty"` // contains filtered or unexported fields }
Information related to user input.
func (*UserConversationInput) Descriptor
deprecated
func (*UserConversationInput) Descriptor() ([]byte, []int)
Deprecated: Use UserConversationInput.ProtoReflect.Descriptor instead.
func (*UserConversationInput) GetOriginalQuery ¶
func (x *UserConversationInput) GetOriginalQuery() string
func (*UserConversationInput) GetType ¶
func (x *UserConversationInput) GetType() string
func (*UserConversationInput) ProtoMessage ¶
func (*UserConversationInput) ProtoMessage()
func (*UserConversationInput) ProtoReflect ¶
func (x *UserConversationInput) ProtoReflect() protoreflect.Message
func (*UserConversationInput) Reset ¶
func (x *UserConversationInput) Reset()
func (*UserConversationInput) String ¶
func (x *UserConversationInput) String() string
type UserInput ¶
type UserInput struct { // Content of the input sent by the user. Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // Type of the input. Type UserInput_InputType `protobuf:"varint,2,opt,name=type,proto3,enum=google.actions.sdk.v2.UserInput_InputType" json:"type,omitempty"` // contains filtered or unexported fields }
User input provided on a conversation round.
func (*UserInput) Descriptor
deprecated
func (*UserInput) GetType ¶
func (x *UserInput) GetType() UserInput_InputType
func (*UserInput) ProtoMessage ¶
func (*UserInput) ProtoMessage()
func (*UserInput) ProtoReflect ¶
func (x *UserInput) ProtoReflect() protoreflect.Message
type UserInput_InputType ¶
type UserInput_InputType int32
Indicates the input source, typed query or voice query.
const ( // Unspecified input source. UserInput_INPUT_TYPE_UNSPECIFIED UserInput_InputType = 0 // Query from a GUI interaction. UserInput_TOUCH UserInput_InputType = 1 // Voice query. UserInput_VOICE UserInput_InputType = 2 // Typed query. UserInput_KEYBOARD UserInput_InputType = 3 // The action was triggered by a URL link. UserInput_URL UserInput_InputType = 4 )
func (UserInput_InputType) Descriptor ¶
func (UserInput_InputType) Descriptor() protoreflect.EnumDescriptor
func (UserInput_InputType) Enum ¶
func (x UserInput_InputType) Enum() *UserInput_InputType
func (UserInput_InputType) EnumDescriptor
deprecated
func (UserInput_InputType) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserInput_InputType.Descriptor instead.
func (UserInput_InputType) Number ¶
func (x UserInput_InputType) Number() protoreflect.EnumNumber
func (UserInput_InputType) String ¶
func (x UserInput_InputType) String() string
func (UserInput_InputType) Type ¶
func (UserInput_InputType) Type() protoreflect.EnumType
type ValidationResult ¶
type ValidationResult struct { // Holds the validation message. ValidationMessage string `protobuf:"bytes,1,opt,name=validation_message,json=validationMessage,proto3" json:"validation_message,omitempty"` // Context to identify the resource the validation message relates to. ValidationContext *ValidationResult_ValidationContext `protobuf:"bytes,2,opt,name=validation_context,json=validationContext,proto3" json:"validation_context,omitempty"` // contains filtered or unexported fields }
Represents a validation result associated with the app content.
func (*ValidationResult) Descriptor
deprecated
func (*ValidationResult) Descriptor() ([]byte, []int)
Deprecated: Use ValidationResult.ProtoReflect.Descriptor instead.
func (*ValidationResult) GetValidationContext ¶
func (x *ValidationResult) GetValidationContext() *ValidationResult_ValidationContext
func (*ValidationResult) GetValidationMessage ¶
func (x *ValidationResult) GetValidationMessage() string
func (*ValidationResult) ProtoMessage ¶
func (*ValidationResult) ProtoMessage()
func (*ValidationResult) ProtoReflect ¶
func (x *ValidationResult) ProtoReflect() protoreflect.Message
func (*ValidationResult) Reset ¶
func (x *ValidationResult) Reset()
func (*ValidationResult) String ¶
func (x *ValidationResult) String() string
type ValidationResult_ValidationContext ¶
type ValidationResult_ValidationContext struct { // Language code of the lozalized resource. // Empty if the error is for non-localized resource. // See the list of supported languages in // https://developers.google.com/assistant/console/languages-locales LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
Context to identify the resource the validation message relates to.
func (*ValidationResult_ValidationContext) Descriptor
deprecated
func (*ValidationResult_ValidationContext) Descriptor() ([]byte, []int)
Deprecated: Use ValidationResult_ValidationContext.ProtoReflect.Descriptor instead.
func (*ValidationResult_ValidationContext) GetLanguageCode ¶
func (x *ValidationResult_ValidationContext) GetLanguageCode() string
func (*ValidationResult_ValidationContext) ProtoMessage ¶
func (*ValidationResult_ValidationContext) ProtoMessage()
func (*ValidationResult_ValidationContext) ProtoReflect ¶
func (x *ValidationResult_ValidationContext) ProtoReflect() protoreflect.Message
func (*ValidationResult_ValidationContext) Reset ¶
func (x *ValidationResult_ValidationContext) Reset()
func (*ValidationResult_ValidationContext) String ¶
func (x *ValidationResult_ValidationContext) String() string
type ValidationResults ¶
type ValidationResults struct { // Multiple validation results. Results []*ValidationResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
Wrapper for repeated validation result.
func (*ValidationResults) Descriptor
deprecated
func (*ValidationResults) Descriptor() ([]byte, []int)
Deprecated: Use ValidationResults.ProtoReflect.Descriptor instead.
func (*ValidationResults) GetResults ¶
func (x *ValidationResults) GetResults() []*ValidationResult
func (*ValidationResults) ProtoMessage ¶
func (*ValidationResults) ProtoMessage()
func (*ValidationResults) ProtoReflect ¶
func (x *ValidationResults) ProtoReflect() protoreflect.Message
func (*ValidationResults) Reset ¶
func (x *ValidationResults) Reset()
func (*ValidationResults) String ¶
func (x *ValidationResults) String() string
type Version ¶
type Version struct { // The unique identifier of the version in the following format. // `projects/{project}/versions/{version}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The current state of the version. VersionState *Version_VersionState `protobuf:"bytes,2,opt,name=version_state,json=versionState,proto3" json:"version_state,omitempty"` // Email of the user who created this version. Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"` // Timestamp of the last change to this version. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
Definition of version resource.
func (*Version) Descriptor
deprecated
func (*Version) GetCreator ¶
func (*Version) GetUpdateTime ¶
func (x *Version) GetUpdateTime() *timestamppb.Timestamp
func (*Version) GetVersionState ¶
func (x *Version) GetVersionState() *Version_VersionState
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) ProtoReflect ¶
func (x *Version) ProtoReflect() protoreflect.Message
type Version_VersionState ¶
type Version_VersionState struct { // The current state of the version. State Version_VersionState_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.actions.sdk.v2.Version_VersionState_State" json:"state,omitempty"` // User-friendly message for the current state of the version. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
Represents the current state of the version.
func (*Version_VersionState) Descriptor
deprecated
func (*Version_VersionState) Descriptor() ([]byte, []int)
Deprecated: Use Version_VersionState.ProtoReflect.Descriptor instead.
func (*Version_VersionState) GetMessage ¶
func (x *Version_VersionState) GetMessage() string
func (*Version_VersionState) GetState ¶
func (x *Version_VersionState) GetState() Version_VersionState_State
func (*Version_VersionState) ProtoMessage ¶
func (*Version_VersionState) ProtoMessage()
func (*Version_VersionState) ProtoReflect ¶
func (x *Version_VersionState) ProtoReflect() protoreflect.Message
func (*Version_VersionState) Reset ¶
func (x *Version_VersionState) Reset()
func (*Version_VersionState) String ¶
func (x *Version_VersionState) String() string
type Version_VersionState_State ¶
type Version_VersionState_State int32
Enum indicating the states that a Version can take. This enum is not yet frozen and values maybe added later.
const ( // Default value of State. Version_VersionState_STATE_UNSPECIFIED Version_VersionState_State = 0 // The version creation is in progress. Version_VersionState_CREATION_IN_PROGRESS Version_VersionState_State = 1 // The version creation failed. Version_VersionState_CREATION_FAILED Version_VersionState_State = 2 // The version has been successfully created. Version_VersionState_CREATED Version_VersionState_State = 3 // The version is under policy review (aka Approval). Version_VersionState_REVIEW_IN_PROGRESS Version_VersionState_State = 4 // The version has been approved for policy review and can be deployed. Version_VersionState_APPROVED Version_VersionState_State = 5 // The version has been conditionally approved but is pending final // review. It may be rolled back if final review is denied. Version_VersionState_CONDITIONALLY_APPROVED Version_VersionState_State = 6 // The version has been denied for policy review. Version_VersionState_DENIED Version_VersionState_State = 7 // The version is taken down as entire agent and all versions are taken // down. Version_VersionState_UNDER_TAKEDOWN Version_VersionState_State = 8 // The version has been deleted. Version_VersionState_DELETED Version_VersionState_State = 9 )
func (Version_VersionState_State) Descriptor ¶
func (Version_VersionState_State) Descriptor() protoreflect.EnumDescriptor
func (Version_VersionState_State) Enum ¶
func (x Version_VersionState_State) Enum() *Version_VersionState_State
func (Version_VersionState_State) EnumDescriptor
deprecated
func (Version_VersionState_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Version_VersionState_State.Descriptor instead.
func (Version_VersionState_State) Number ¶
func (x Version_VersionState_State) Number() protoreflect.EnumNumber
func (Version_VersionState_State) String ¶
func (x Version_VersionState_State) String() string
func (Version_VersionState_State) Type ¶
func (Version_VersionState_State) Type() protoreflect.EnumType
type WaitingForUserInput ¶
type WaitingForUserInput struct {
// contains filtered or unexported fields
}
Event which happens when system needs user input: https://developers.google.com/assistant/conversational/scenes#input
func (*WaitingForUserInput) Descriptor
deprecated
func (*WaitingForUserInput) Descriptor() ([]byte, []int)
Deprecated: Use WaitingForUserInput.ProtoReflect.Descriptor instead.
func (*WaitingForUserInput) ProtoMessage ¶
func (*WaitingForUserInput) ProtoMessage()
func (*WaitingForUserInput) ProtoReflect ¶
func (x *WaitingForUserInput) ProtoReflect() protoreflect.Message
func (*WaitingForUserInput) Reset ¶
func (x *WaitingForUserInput) Reset()
func (*WaitingForUserInput) String ¶
func (x *WaitingForUserInput) String() string
type Webhook ¶
type Webhook struct { // List of handlers for this webhook. Handlers []*Webhook_Handler `protobuf:"bytes,1,rep,name=handlers,proto3" json:"handlers,omitempty"` // Only one webhook type is supported. // // Types that are assignable to WebhookType: // // *Webhook_HttpsEndpoint_ // *Webhook_InlineCloudFunction_ WebhookType isWebhook_WebhookType `protobuf_oneof:"webhook_type"` // contains filtered or unexported fields }
Metadata for different types of webhooks. If you're using `inlineCloudFunction`, your source code must be in a directory with the same name as the value for the `executeFunction` key. For example, a value of `my_webhook` for the`executeFunction` key would have a code structure like this:
- `/webhooks/my_webhook.yaml`
- `/webhooks/my_webhook/index.js`
- `/webhooks/my_webhook/package.json`
func (*Webhook) Descriptor
deprecated
func (*Webhook) GetHandlers ¶
func (x *Webhook) GetHandlers() []*Webhook_Handler
func (*Webhook) GetHttpsEndpoint ¶
func (x *Webhook) GetHttpsEndpoint() *Webhook_HttpsEndpoint
func (*Webhook) GetInlineCloudFunction ¶
func (x *Webhook) GetInlineCloudFunction() *Webhook_InlineCloudFunction
func (*Webhook) GetWebhookType ¶
func (m *Webhook) GetWebhookType() isWebhook_WebhookType
func (*Webhook) ProtoMessage ¶
func (*Webhook) ProtoMessage()
func (*Webhook) ProtoReflect ¶
func (x *Webhook) ProtoReflect() protoreflect.Message
type WebhookInitiatedTransition ¶
type WebhookInitiatedTransition struct { // ID of the scene the transition is leading to. NextSceneId string `protobuf:"bytes,1,opt,name=next_scene_id,json=nextSceneId,proto3" json:"next_scene_id,omitempty"` // contains filtered or unexported fields }
Event triggered by destination scene returned from webhook: https://developers.google.com/assistant/conversational/webhooks#transition_scenes
func (*WebhookInitiatedTransition) Descriptor
deprecated
func (*WebhookInitiatedTransition) Descriptor() ([]byte, []int)
Deprecated: Use WebhookInitiatedTransition.ProtoReflect.Descriptor instead.
func (*WebhookInitiatedTransition) GetNextSceneId ¶
func (x *WebhookInitiatedTransition) GetNextSceneId() string
func (*WebhookInitiatedTransition) ProtoMessage ¶
func (*WebhookInitiatedTransition) ProtoMessage()
func (*WebhookInitiatedTransition) ProtoReflect ¶
func (x *WebhookInitiatedTransition) ProtoReflect() protoreflect.Message
func (*WebhookInitiatedTransition) Reset ¶
func (x *WebhookInitiatedTransition) Reset()
func (*WebhookInitiatedTransition) String ¶
func (x *WebhookInitiatedTransition) String() string
type WebhookRequest ¶
type WebhookRequest struct { // Payload of the webhook request. RequestJson string `protobuf:"bytes,1,opt,name=request_json,json=requestJson,proto3" json:"request_json,omitempty"` // contains filtered or unexported fields }
Information about a request dispatched to the Action webhook: https://developers.google.com/assistant/conversational/webhooks#payloads
func (*WebhookRequest) Descriptor
deprecated
func (*WebhookRequest) Descriptor() ([]byte, []int)
Deprecated: Use WebhookRequest.ProtoReflect.Descriptor instead.
func (*WebhookRequest) GetRequestJson ¶
func (x *WebhookRequest) GetRequestJson() string
func (*WebhookRequest) ProtoMessage ¶
func (*WebhookRequest) ProtoMessage()
func (*WebhookRequest) ProtoReflect ¶
func (x *WebhookRequest) ProtoReflect() protoreflect.Message
func (*WebhookRequest) Reset ¶
func (x *WebhookRequest) Reset()
func (*WebhookRequest) String ¶
func (x *WebhookRequest) String() string
type WebhookResponse ¶
type WebhookResponse struct { // Payload of the webhook response. ResponseJson string `protobuf:"bytes,1,opt,name=response_json,json=responseJson,proto3" json:"response_json,omitempty"` // contains filtered or unexported fields }
Information about a response received from the Action webhook: https://developers.google.com/assistant/conversational/webhooks#payloads
func (*WebhookResponse) Descriptor
deprecated
func (*WebhookResponse) Descriptor() ([]byte, []int)
Deprecated: Use WebhookResponse.ProtoReflect.Descriptor instead.
func (*WebhookResponse) GetResponseJson ¶
func (x *WebhookResponse) GetResponseJson() string
func (*WebhookResponse) ProtoMessage ¶
func (*WebhookResponse) ProtoMessage()
func (*WebhookResponse) ProtoReflect ¶
func (x *WebhookResponse) ProtoReflect() protoreflect.Message
func (*WebhookResponse) Reset ¶
func (x *WebhookResponse) Reset()
func (*WebhookResponse) String ¶
func (x *WebhookResponse) String() string
type Webhook_Handler ¶
type Webhook_Handler struct { // Required. Name of the handler. Must be unique across all handlers the Actions // project. You can check the name of this handler to invoke the correct // function in your fulfillment source code. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Declares the name of the webhoook handler. A webhook can have multiple handlers registered. These handlers can be called from multiple places in your Actions project.
func (*Webhook_Handler) Descriptor
deprecated
func (*Webhook_Handler) Descriptor() ([]byte, []int)
Deprecated: Use Webhook_Handler.ProtoReflect.Descriptor instead.
func (*Webhook_Handler) GetName ¶
func (x *Webhook_Handler) GetName() string
func (*Webhook_Handler) ProtoMessage ¶
func (*Webhook_Handler) ProtoMessage()
func (*Webhook_Handler) ProtoReflect ¶
func (x *Webhook_Handler) ProtoReflect() protoreflect.Message
func (*Webhook_Handler) Reset ¶
func (x *Webhook_Handler) Reset()
func (*Webhook_Handler) String ¶
func (x *Webhook_Handler) String() string
type Webhook_HttpsEndpoint ¶
type Webhook_HttpsEndpoint struct { // The HTTPS base URL for your fulfillment endpoint (HTTP is not supported). // Handler names are appended to the base URL path after a colon // (following the style guide in // https://cloud.google.com/apis/design/custom_methods). // For example a base URL of 'https://gactions.service.com/api' would // receive requests with URL 'https://gactions.service.com/api:{method}'. BaseUrl string `protobuf:"bytes,1,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"` // Map of HTTP parameters to be included in the POST request. HttpHeaders map[string]string `` /* 182-byte string literal not displayed */ // Version of the protocol used by the endpoint. This is the protocol shared // by all fulfillment types and not specific to Google fulfillment type. EndpointApiVersion int32 `protobuf:"varint,3,opt,name=endpoint_api_version,json=endpointApiVersion,proto3" json:"endpoint_api_version,omitempty"` // contains filtered or unexported fields }
REST endpoint to notify if you're not using the inline editor.
func (*Webhook_HttpsEndpoint) Descriptor
deprecated
func (*Webhook_HttpsEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use Webhook_HttpsEndpoint.ProtoReflect.Descriptor instead.
func (*Webhook_HttpsEndpoint) GetBaseUrl ¶
func (x *Webhook_HttpsEndpoint) GetBaseUrl() string
func (*Webhook_HttpsEndpoint) GetEndpointApiVersion ¶
func (x *Webhook_HttpsEndpoint) GetEndpointApiVersion() int32
func (*Webhook_HttpsEndpoint) GetHttpHeaders ¶
func (x *Webhook_HttpsEndpoint) GetHttpHeaders() map[string]string
func (*Webhook_HttpsEndpoint) ProtoMessage ¶
func (*Webhook_HttpsEndpoint) ProtoMessage()
func (*Webhook_HttpsEndpoint) ProtoReflect ¶
func (x *Webhook_HttpsEndpoint) ProtoReflect() protoreflect.Message
func (*Webhook_HttpsEndpoint) Reset ¶
func (x *Webhook_HttpsEndpoint) Reset()
func (*Webhook_HttpsEndpoint) String ¶
func (x *Webhook_HttpsEndpoint) String() string
type Webhook_HttpsEndpoint_ ¶
type Webhook_HttpsEndpoint_ struct { // Custom webhook HTTPS endpoint. HttpsEndpoint *Webhook_HttpsEndpoint `protobuf:"bytes,2,opt,name=https_endpoint,json=httpsEndpoint,proto3,oneof"` }
type Webhook_InlineCloudFunction ¶
type Webhook_InlineCloudFunction struct { // The name of the Cloud Function entry point. The value of this field // should match the name of the method exported from the source code. ExecuteFunction string `protobuf:"bytes,1,opt,name=execute_function,json=executeFunction,proto3" json:"execute_function,omitempty"` // contains filtered or unexported fields }
Holds the metadata of an inline Cloud Function deployed from the webhooks folder.
func (*Webhook_InlineCloudFunction) Descriptor
deprecated
func (*Webhook_InlineCloudFunction) Descriptor() ([]byte, []int)
Deprecated: Use Webhook_InlineCloudFunction.ProtoReflect.Descriptor instead.
func (*Webhook_InlineCloudFunction) GetExecuteFunction ¶
func (x *Webhook_InlineCloudFunction) GetExecuteFunction() string
func (*Webhook_InlineCloudFunction) ProtoMessage ¶
func (*Webhook_InlineCloudFunction) ProtoMessage()
func (*Webhook_InlineCloudFunction) ProtoReflect ¶
func (x *Webhook_InlineCloudFunction) ProtoReflect() protoreflect.Message
func (*Webhook_InlineCloudFunction) Reset ¶
func (x *Webhook_InlineCloudFunction) Reset()
func (*Webhook_InlineCloudFunction) String ¶
func (x *Webhook_InlineCloudFunction) String() string
type Webhook_InlineCloudFunction_ ¶
type Webhook_InlineCloudFunction_ struct { // Metadata for cloud function deployed from code in the webhooks folder. InlineCloudFunction *Webhook_InlineCloudFunction `protobuf:"bytes,3,opt,name=inline_cloud_function,json=inlineCloudFunction,proto3,oneof"` }
type WriteDraftRequest ¶
type WriteDraftRequest struct { // Required. The parent resource name in the format `projects/{project}`. The // `{project}` is the cloud project ID associated with the project. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. List of files sent to the server at a time. This is a list of config files // or data files. // 1. The first request must be a ConfigFiles. // 2. The first request must have a ConfigFile with 'settings'. // 3. The first request must have a ConfigFile with 'manifest'. // 4. The webhook ConfigFile corresponding to inline cloud function must be // streamed before the DataFile corresponding to its source code. Files *Files `protobuf:"bytes,4,opt,name=files,proto3" json:"files,omitempty"` // contains filtered or unexported fields }
Streaming RPC request for WriteDraft.
func (*WriteDraftRequest) Descriptor
deprecated
func (*WriteDraftRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteDraftRequest.ProtoReflect.Descriptor instead.
func (*WriteDraftRequest) GetFiles ¶
func (x *WriteDraftRequest) GetFiles() *Files
func (*WriteDraftRequest) GetParent ¶
func (x *WriteDraftRequest) GetParent() string
func (*WriteDraftRequest) ProtoMessage ¶
func (*WriteDraftRequest) ProtoMessage()
func (*WriteDraftRequest) ProtoReflect ¶
func (x *WriteDraftRequest) ProtoReflect() protoreflect.Message
func (*WriteDraftRequest) Reset ¶
func (x *WriteDraftRequest) Reset()
func (*WriteDraftRequest) String ¶
func (x *WriteDraftRequest) String() string
type WritePreviewRequest ¶
type WritePreviewRequest struct { // Required. The parent resource name in the format `projects/{project}`. The // `{project}` is the cloud project ID associated with the project. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Data source used to created the preview. // // Types that are assignable to Source: // // *WritePreviewRequest_Files // *WritePreviewRequest_Draft // *WritePreviewRequest_SubmittedVersion Source isWritePreviewRequest_Source `protobuf_oneof:"source"` // Required. The settings for updating the user's preview. PreviewSettings *WritePreviewRequest_PreviewSettings `protobuf:"bytes,4,opt,name=preview_settings,json=previewSettings,proto3" json:"preview_settings,omitempty"` // contains filtered or unexported fields }
Streaming RPC request for WritePreview.
func (*WritePreviewRequest) Descriptor
deprecated
func (*WritePreviewRequest) Descriptor() ([]byte, []int)
Deprecated: Use WritePreviewRequest.ProtoReflect.Descriptor instead.
func (*WritePreviewRequest) GetDraft ¶
func (x *WritePreviewRequest) GetDraft() *WritePreviewRequest_ContentFromDraft
func (*WritePreviewRequest) GetFiles ¶
func (x *WritePreviewRequest) GetFiles() *Files
func (*WritePreviewRequest) GetParent ¶
func (x *WritePreviewRequest) GetParent() string
func (*WritePreviewRequest) GetPreviewSettings ¶
func (x *WritePreviewRequest) GetPreviewSettings() *WritePreviewRequest_PreviewSettings
func (*WritePreviewRequest) GetSource ¶
func (m *WritePreviewRequest) GetSource() isWritePreviewRequest_Source
func (*WritePreviewRequest) GetSubmittedVersion ¶
func (x *WritePreviewRequest) GetSubmittedVersion() *WritePreviewRequest_ContentFromSubmittedVersion
func (*WritePreviewRequest) ProtoMessage ¶
func (*WritePreviewRequest) ProtoMessage()
func (*WritePreviewRequest) ProtoReflect ¶
func (x *WritePreviewRequest) ProtoReflect() protoreflect.Message
func (*WritePreviewRequest) Reset ¶
func (x *WritePreviewRequest) Reset()
func (*WritePreviewRequest) String ¶
func (x *WritePreviewRequest) String() string
type WritePreviewRequest_ContentFromDraft ¶
type WritePreviewRequest_ContentFromDraft struct {
// contains filtered or unexported fields
}
Indicates the preview content will be coming from the Draft.
func (*WritePreviewRequest_ContentFromDraft) Descriptor
deprecated
func (*WritePreviewRequest_ContentFromDraft) Descriptor() ([]byte, []int)
Deprecated: Use WritePreviewRequest_ContentFromDraft.ProtoReflect.Descriptor instead.
func (*WritePreviewRequest_ContentFromDraft) ProtoMessage ¶
func (*WritePreviewRequest_ContentFromDraft) ProtoMessage()
func (*WritePreviewRequest_ContentFromDraft) ProtoReflect ¶
func (x *WritePreviewRequest_ContentFromDraft) ProtoReflect() protoreflect.Message
func (*WritePreviewRequest_ContentFromDraft) Reset ¶
func (x *WritePreviewRequest_ContentFromDraft) Reset()
func (*WritePreviewRequest_ContentFromDraft) String ¶
func (x *WritePreviewRequest_ContentFromDraft) String() string
type WritePreviewRequest_ContentFromSubmittedVersion ¶
type WritePreviewRequest_ContentFromSubmittedVersion struct { // Required. Submitted version of the project to be used to create a preview. // Format: `projects/{project}/versions/{version}` Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
Indicates the preview content will be coming from an exiting version.
func (*WritePreviewRequest_ContentFromSubmittedVersion) Descriptor
deprecated
func (*WritePreviewRequest_ContentFromSubmittedVersion) Descriptor() ([]byte, []int)
Deprecated: Use WritePreviewRequest_ContentFromSubmittedVersion.ProtoReflect.Descriptor instead.
func (*WritePreviewRequest_ContentFromSubmittedVersion) GetVersion ¶
func (x *WritePreviewRequest_ContentFromSubmittedVersion) GetVersion() string
func (*WritePreviewRequest_ContentFromSubmittedVersion) ProtoMessage ¶
func (*WritePreviewRequest_ContentFromSubmittedVersion) ProtoMessage()
func (*WritePreviewRequest_ContentFromSubmittedVersion) ProtoReflect ¶
func (x *WritePreviewRequest_ContentFromSubmittedVersion) ProtoReflect() protoreflect.Message
func (*WritePreviewRequest_ContentFromSubmittedVersion) Reset ¶
func (x *WritePreviewRequest_ContentFromSubmittedVersion) Reset()
func (*WritePreviewRequest_ContentFromSubmittedVersion) String ¶
func (x *WritePreviewRequest_ContentFromSubmittedVersion) String() string
type WritePreviewRequest_Draft ¶
type WritePreviewRequest_Draft struct { // Content sourced from the project draft. Draft *WritePreviewRequest_ContentFromDraft `protobuf:"bytes,6,opt,name=draft,proto3,oneof"` }
type WritePreviewRequest_Files ¶
type WritePreviewRequest_Files struct { // List of files sent to the server at a time. This is a list of config // files or data files. // 1. The first request must be a ConfigFiles. // 2. The first request must have a ConfigFile with 'settings'. // 3. The first request must have a ConfigFile with 'manifest'. // 4. The webhook ConfigFile corresponding to inline cloud function must be // streamed before the DataFile corresponding to its source code. Files *Files `protobuf:"bytes,5,opt,name=files,proto3,oneof"` }
type WritePreviewRequest_PreviewSettings ¶
type WritePreviewRequest_PreviewSettings struct { // Indicates whether or not to run certain operations, such as transactions, // in sandbox mode. By default, preview requests run these operations in // sandbox mode. In other words, the default value for `sandbox` is `true`. Sandbox *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=sandbox,proto3" json:"sandbox,omitempty"` // contains filtered or unexported fields }
Settings for updating the preview.
func (*WritePreviewRequest_PreviewSettings) Descriptor
deprecated
func (*WritePreviewRequest_PreviewSettings) Descriptor() ([]byte, []int)
Deprecated: Use WritePreviewRequest_PreviewSettings.ProtoReflect.Descriptor instead.
func (*WritePreviewRequest_PreviewSettings) GetSandbox ¶
func (x *WritePreviewRequest_PreviewSettings) GetSandbox() *wrapperspb.BoolValue
func (*WritePreviewRequest_PreviewSettings) ProtoMessage ¶
func (*WritePreviewRequest_PreviewSettings) ProtoMessage()
func (*WritePreviewRequest_PreviewSettings) ProtoReflect ¶
func (x *WritePreviewRequest_PreviewSettings) ProtoReflect() protoreflect.Message
func (*WritePreviewRequest_PreviewSettings) Reset ¶
func (x *WritePreviewRequest_PreviewSettings) Reset()
func (*WritePreviewRequest_PreviewSettings) String ¶
func (x *WritePreviewRequest_PreviewSettings) String() string
type WritePreviewRequest_SubmittedVersion ¶
type WritePreviewRequest_SubmittedVersion struct { // Content sourced from the an exiting version. SubmittedVersion *WritePreviewRequest_ContentFromSubmittedVersion `protobuf:"bytes,7,opt,name=submitted_version,json=submittedVersion,proto3,oneof"` }
Source Files ¶
- account_linking.pb.go
- account_linking_secret.pb.go
- action.pb.go
- actions_sdk.pb.go
- actions_testing.pb.go
- config_file.pb.go
- data_file.pb.go
- event_logs.pb.go
- files.pb.go
- localized_settings.pb.go
- manifest.pb.go
- release_channel.pb.go
- settings.pb.go
- surface.pb.go
- theme_customization.pb.go
- validation_results.pb.go
- version.pb.go
- webhook.pb.go