Skip to content

Commit 9db0387

Browse files
Add pinned and title fields to google_ces_app (#15767)
1 parent 6f0b90f commit 9db0387

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

mmv1/products/ces/App.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@ properties:
157157
type: String
158158
description: Timestamp when the app was created.
159159
output: true
160+
- name: pinned
161+
type: Boolean
162+
description: Whether the app is pinned in the app list.
160163
- name: dataStoreSettings
161164
type: NestedObject
162165
description: Data store related settings for the app.
@@ -490,6 +493,9 @@ properties:
490493
description: Represents a select subset of an OpenAPI 3.0 schema object.
491494
required: true
492495
properties:
496+
- name: title
497+
type: String
498+
description: The title of the schema.
493499
- name: description
494500
type: String
495501
description: The description of the data.

mmv1/templates/terraform/examples/ces_app_basic.tf.tmpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ resource "google_ces_app" "ces_app_basic" {
2424
location = "us"
2525
description = "Basic CES App example"
2626
display_name = "{{index $.Vars "display_name"}}"
27+
pinned = true
2728

2829
language_settings {
2930
default_language_code = "en-US"
@@ -106,6 +107,7 @@ variable_declarations {
106107
schema {
107108
description = "schema description"
108109
type = "ARRAY"
110+
title = "title"
109111
nullable = true
110112
required = ["some_property"]
111113
enum = ["VALUE_A", "VALUE_B"]

mmv1/third_party/terraform/services/ces/ces_app_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ resource "google_ces_app" "ces_app_basic" {
7575
location = "us"
7676
description = "Basic CES App example"
7777
display_name = "tf-test-my-app-%{random_suffix}"
78+
pinned = false
7879
7980
language_settings {
8081
default_language_code = "en-US"
@@ -157,6 +158,7 @@ resource "google_ces_app" "ces_app_basic" {
157158
schema {
158159
description = "schema description"
159160
type = "ARRAY"
161+
title = ""
160162
nullable = true
161163
required = ["some_property"]
162164
enum = ["VALUE_A", "VALUE_B"]
@@ -265,6 +267,7 @@ resource "google_ces_app" "ces_app_basic" {
265267
location = "us"
266268
description = "Updated CES App example"
267269
display_name = "tf-test-my-app%{random_suffix}"
270+
pinned = true
268271
269272
language_settings {
270273
default_language_code = "en-ES"
@@ -347,6 +350,7 @@ resource "google_ces_app" "ces_app_basic" {
347350
schema {
348351
description = "schema description updated"
349352
type = "ARRAY"
353+
title = "updated"
350354
nullable = true
351355
required = ["some_property_updated"]
352356
enum = ["VALUE_B", "VALUE_C"]

0 commit comments

Comments
 (0)