Skip to content

Commit 78a523b

Browse files
Update description for import source arguments (#14114) (#23079)
[upstream:2453b625546ffbb035d098d46cea75cf3f988883] Signed-off-by: Modular Magician <[email protected]>
1 parent 05bb095 commit 78a523b

File tree

5 files changed

+16
-11
lines changed

5 files changed

+16
-11
lines changed

.changelog/14114.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
```release-note:note
2+
memorystore: update the description for `managedBackupSource` and `gcsSource`
3+
```
4+
5+
```release-note:note
6+
redis: update the description for `managedBackupSource`
7+
```

google/services/memorystore/resource_memorystore_instance.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ A duration in seconds with up to nine fractional digits, ending with 's'. Exampl
281281
Required: true,
282282
ForceNew: true,
283283
Description: `URIs of the GCS objects to import.
284-
Example: gs://bucket1/object1, gs//bucket2/folder2/object2`,
284+
Example: gs://bucket1/object1, gs://bucket2/folder2/object2`,
285285
Elem: &schema.Schema{
286286
Type: schema.TypeString,
287287
},
@@ -406,7 +406,7 @@ resolution and up to nine fractional digits.`,
406406
Type: schema.TypeString,
407407
Required: true,
408408
ForceNew: true,
409-
Description: `Example: //memorystore.googleapis.com/projects/{project}/locations/{location}/backups/{backupId}. In this case, it assumes the backup is under memorystore.googleapis.com.`,
409+
Description: `Example: 'projects/{project}/locations/{location}/backupCollections/{collection}/backups/{backup}'.`,
410410
},
411411
},
412412
},

google/services/redis/resource_redis_cluster.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -378,11 +378,10 @@ resolution and up to nine fractional digits.`,
378378
Elem: &schema.Resource{
379379
Schema: map[string]*schema.Schema{
380380
"backup": {
381-
Type: schema.TypeString,
382-
Required: true,
383-
ForceNew: true,
384-
Description: `Example: //redis.googleapis.com/projects/{project}/locations/{location}/backupCollections/{collection}/backups/{backup} A shorter version (without the prefix) of the backup name is also supported,
385-
like projects/{project}/locations/{location}/backupCollections/{collection}/backups/{backupId}. In this case, it assumes the backup is under redis.googleapis.com.`,
381+
Type: schema.TypeString,
382+
Required: true,
383+
ForceNew: true,
384+
Description: `Example: 'projects/{project}/locations/{location}/backupCollections/{collection}/backups/{backup}'.`,
386385
},
387386
},
388387
},

website/docs/r/memorystore_instance.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -755,13 +755,13 @@ The following arguments are supported:
755755
* `uris` -
756756
(Required)
757757
URIs of the GCS objects to import.
758-
Example: gs://bucket1/object1, gs//bucket2/folder2/object2
758+
Example: gs://bucket1/object1, gs://bucket2/folder2/object2
759759

760760
<a name="nested_managed_backup_source"></a>The `managed_backup_source` block supports:
761761

762762
* `backup` -
763763
(Required)
764-
Example: //memorystore.googleapis.com/projects/{project}/locations/{location}/backups/{backupId}. In this case, it assumes the backup is under memorystore.googleapis.com.
764+
Example: `projects/{project}/locations/{location}/backupCollections/{collection}/backups/{backup}`.
765765

766766
## Attributes Reference
767767

website/docs/r/redis_cluster.html.markdown

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -711,8 +711,7 @@ The following arguments are supported:
711711

712712
* `backup` -
713713
(Required)
714-
Example: //redis.googleapis.com/projects/{project}/locations/{location}/backupCollections/{collection}/backups/{backup} A shorter version (without the prefix) of the backup name is also supported,
715-
like projects/{project}/locations/{location}/backupCollections/{collection}/backups/{backupId}. In this case, it assumes the backup is under redis.googleapis.com.
714+
Example: `projects/{project}/locations/{location}/backupCollections/{collection}/backups/{backup}`.
716715

717716
<a name="nested_automated_backup_config"></a>The `automated_backup_config` block supports:
718717

0 commit comments

Comments
 (0)