localized_settings.proto 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. // Copyright 2020 Google LLC
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. syntax = "proto3";
  15. package google.actions.sdk.v2;
  16. import "google/actions/sdk/v2/theme_customization.proto";
  17. import "google/api/field_behavior.proto";
  18. option go_package = "google.golang.org/genproto/googleapis/actions/sdk/v2;sdk";
  19. option java_multiple_files = true;
  20. option java_outer_classname = "LocalizedSettingsProto";
  21. option java_package = "com.google.actions.sdk.v2";
  22. // Represents settings of an Actions project that are specific to a user locale.
  23. // In this instance, user means the end user who invokes your Actions.
  24. // **This message is localizable.**
  25. message LocalizedSettings {
  26. // Required. The default display name for this Actions project (if there is no
  27. // translation available)
  28. string display_name = 1 [(google.api.field_behavior) = REQUIRED];
  29. // Required. The pronunciation of the display name to invoke it within a voice
  30. // (spoken) context.
  31. string pronunciation = 2 [(google.api.field_behavior) = REQUIRED];
  32. // Required. The default short description for the Actions project (if there is no
  33. // translation available). 80 character limit.
  34. string short_description = 3 [(google.api.field_behavior) = REQUIRED];
  35. // Required. The default long description for the Actions project (if there is no
  36. // translation available). 4000 character limit.
  37. string full_description = 4 [(google.api.field_behavior) = REQUIRED];
  38. // Required. Small square image, 192 x 192 px.
  39. // This should be specified as a reference to the corresponding image in the
  40. // `resources/images/` directory. For example, `$resources.images.foo` (without the
  41. // extension) for image in `resources/images/foo.jpg`
  42. // When working on a project pulled from Console, the Google-managed URL
  43. // pulled could be used. URLs from external sources are not allowed.
  44. string small_logo_image = 5 [(google.api.field_behavior) = REQUIRED];
  45. // Optional. Large landscape image, 1920 x 1080 px.
  46. // This should be specified as a reference to the corresponding image in the
  47. // `resources/images/` directory. For example, `$resources.images.foo` (without the
  48. // extension) for image in `resources/images/foo.jpg`
  49. // When working on a project pulled from Console, the Google-managed URL
  50. // pulled could be used. URLs from external sources are not allowed.
  51. string large_banner_image = 6 [(google.api.field_behavior) = OPTIONAL];
  52. // Required. The name of the developer to be displayed to users.
  53. string developer_name = 7 [(google.api.field_behavior) = REQUIRED];
  54. // Required. The contact email address for the developer.
  55. string developer_email = 8 [(google.api.field_behavior) = REQUIRED];
  56. // Optional. The terms of service URL.
  57. string terms_of_service_url = 9 [(google.api.field_behavior) = OPTIONAL];
  58. // Required. The Google Assistant voice type that users hear when they interact with
  59. // your Actions. The supported values are "male_1", "male_2", "female_1", and
  60. // "female_2".
  61. string voice = 10 [(google.api.field_behavior) = REQUIRED];
  62. // Optional. The locale for the specified voice. If not specified, this resolves
  63. // to the user's Assistant locale. If specified, the voice locale must have
  64. // the same root language as the locale specified in LocalizedSettings.
  65. string voice_locale = 14 [(google.api.field_behavior) = OPTIONAL];
  66. // Required. The privacy policy URL.
  67. string privacy_policy_url = 11 [(google.api.field_behavior) = REQUIRED];
  68. // Optional. Sample invocation phrases displayed as part of your Actions project's
  69. // description in the Assistant directory. This will help users learn how to
  70. // use it.
  71. repeated string sample_invocations = 12 [(google.api.field_behavior) = OPTIONAL];
  72. // Optional. Theme customizations for visual components of your Actions.
  73. ThemeCustomization theme_customization = 13 [(google.api.field_behavior) = OPTIONAL];
  74. }