Skip to content

Commit

Permalink
Format YAML for products c-d (#7786) (#5566)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician committed Apr 28, 2023
1 parent ff5876b commit 1f32d07
Show file tree
Hide file tree
Showing 49 changed files with 235 additions and 232 deletions.
3 changes: 3 additions & 0 deletions .changelog/7786.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ Each certificate must match pattern projects/*/locations/*/certificates/*.`,
Type: schema.TypeString,
Required: true,
ForceNew: true,
Description: `A user-defined name of the Certificate Map Entry. Certificate Map Entry
names must be unique globally and match pattern
Description: `A user-defined name of the Certificate Map Entry. Certificate Map Entry
names must be unique globally and match pattern
'projects/*/locations/*/certificateMaps/*/certificateMapEntries/*'`,
},
"description": {
Expand Down Expand Up @@ -102,8 +102,8 @@ Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.`,
"create_time": {
Type: schema.TypeString,
Computed: true,
Description: `Creation timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format,
with nanosecond resolution and up to nine fractional digits.
Description: `Creation timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format,
with nanosecond resolution and up to nine fractional digits.
Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".`,
},
"state": {
Expand All @@ -114,8 +114,8 @@ Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".`,
"update_time": {
Type: schema.TypeString,
Computed: true,
Description: `Update timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format,
with nanosecond resolution and up to nine fractional digits.
Description: `Update timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format,
with nanosecond resolution and up to nine fractional digits.
Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".`,
},
"project": {
Expand Down
6 changes: 3 additions & 3 deletions google-beta/resource_cloud_asset_folder_feed.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func ResourceCloudAssetFolderFeed() *schema.Resource {
Required: true,
ForceNew: true,
Description: `The project whose identity will be used when sending messages to the
destination pubsub topic. It also specifies the project for API
destination pubsub topic. It also specifies the project for API
enablement check, quota, and billing.`,
},
"feed_id": {
Expand Down Expand Up @@ -92,7 +92,7 @@ enablement check, quota, and billing.`,
"asset_names": {
Type: schema.TypeList,
Optional: true,
Description: `A list of the full names of the assets to receive updates. You must specify either or both of
Description: `A list of the full names of the assets to receive updates. You must specify either or both of
assetNames and assetTypes. Only asset updates matching specified assetNames and assetTypes are
exported to the feed. For example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1.
See https://cloud.google.com/apis/design/resourceNames#fullResourceName for more info.`,
Expand Down Expand Up @@ -137,7 +137,7 @@ e.g. when hovered over it in a UI.`,
"location": {
Type: schema.TypeString,
Optional: true,
Description: `String indicating the location of the expression for error reporting, e.g. a file
Description: `String indicating the location of the expression for error reporting, e.g. a file
name and a position in the file.`,
},
"title": {
Expand Down
6 changes: 3 additions & 3 deletions google-beta/resource_cloud_asset_organization_feed.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func ResourceCloudAssetOrganizationFeed() *schema.Resource {
Required: true,
ForceNew: true,
Description: `The project whose identity will be used when sending messages to the
destination pubsub topic. It also specifies the project for API
destination pubsub topic. It also specifies the project for API
enablement check, quota, and billing.`,
},
"feed_id": {
Expand Down Expand Up @@ -92,7 +92,7 @@ enablement check, quota, and billing.`,
"asset_names": {
Type: schema.TypeList,
Optional: true,
Description: `A list of the full names of the assets to receive updates. You must specify either or both of
Description: `A list of the full names of the assets to receive updates. You must specify either or both of
assetNames and assetTypes. Only asset updates matching specified assetNames and assetTypes are
exported to the feed. For example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1.
See https://cloud.google.com/apis/design/resourceNames#fullResourceName for more info.`,
Expand Down Expand Up @@ -137,7 +137,7 @@ e.g. when hovered over it in a UI.`,
"location": {
Type: schema.TypeString,
Optional: true,
Description: `String indicating the location of the expression for error reporting, e.g. a file
Description: `String indicating the location of the expression for error reporting, e.g. a file
name and a position in the file.`,
},
"title": {
Expand Down
6 changes: 3 additions & 3 deletions google-beta/resource_cloud_asset_project_feed.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func ResourceCloudAssetProjectFeed() *schema.Resource {
"asset_names": {
Type: schema.TypeList,
Optional: true,
Description: `A list of the full names of the assets to receive updates. You must specify either or both of
Description: `A list of the full names of the assets to receive updates. You must specify either or both of
assetNames and assetTypes. Only asset updates matching specified assetNames and assetTypes are
exported to the feed. For example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1.
See https://cloud.google.com/apis/design/resourceNames#fullResourceName for more info.`,
Expand All @@ -102,7 +102,7 @@ supported asset types.`,
Optional: true,
ForceNew: true,
Description: `The project whose identity will be used when sending messages to the
destination pubsub topic. It also specifies the project for API
destination pubsub topic. It also specifies the project for API
enablement check, quota, and billing. If not specified, the resource's
project will be used.`,
},
Expand Down Expand Up @@ -131,7 +131,7 @@ e.g. when hovered over it in a UI.`,
"location": {
Type: schema.TypeString,
Optional: true,
Description: `String indicating the location of the expression for error reporting, e.g. a file
Description: `String indicating the location of the expression for error reporting, e.g. a file
name and a position in the file.`,
},
"title": {
Expand Down
12 changes: 6 additions & 6 deletions google-beta/resource_cloud_run_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -867,8 +867,8 @@ false when RevisionName is non-empty.`,
"url": {
Type: schema.TypeString,
Computed: true,
Description: `URL displays the URL for accessing tagged traffic targets. URL is displayed in status,
and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname,
Description: `URL displays the URL for accessing tagged traffic targets. URL is displayed in status,
and is disallowed on spec. URL must contain a scheme (e.g. http://) and a hostname,
but may not contain anything else (e.g. basic auth, url path, etc.)`,
},
},
Expand Down Expand Up @@ -1082,10 +1082,10 @@ version or an integer for a specific version.`,
"name": {
Type: schema.TypeString,
Required: true,
Description: `The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project.
If the secret is in another project, you must define an alias.
An alias definition has the form: :projects/{project-id|project-number}/secrets/.
If multiple alias definitions are needed, they must be separated by commas.
Description: `The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project.
If the secret is in another project, you must define an alias.
An alias definition has the form: :projects/{project-id|project-number}/secrets/.
If multiple alias definitions are needed, they must be separated by commas.
The alias definitions must be set on the run.googleapis.com/secrets annotation.`,
},
},
Expand Down
36 changes: 18 additions & 18 deletions google-beta/resource_cloud_scheduler_job.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func ResourceCloudSchedulerJob() *schema.Resource {
Type: schema.TypeList,
Optional: true,
Description: `App Engine HTTP target.
If the job providers a App Engine HTTP target the cron will
If the job providers a App Engine HTTP target the cron will
send a request to the service instance`,
MaxItems: 1,
Elem: &schema.Resource{
Expand All @@ -134,9 +134,9 @@ send a request to the service instance`,
Type: schema.TypeString,
Required: true,
Description: `The relative URI.
The relative URL must begin with "/" and must be a valid HTTP relative URL.
It can contain a path, query string arguments, and \# fragments.
If the relative URL is empty, then the root path "/" will be used.
The relative URL must begin with "/" and must be a valid HTTP relative URL.
It can contain a path, query string arguments, and \# fragments.
If the relative URL is empty, then the root path "/" will be used.
No spaces are allowed, and the maximum length allowed is 2083 characters`,
},
"app_engine_routing": {
Expand Down Expand Up @@ -174,8 +174,8 @@ By default, the job is sent to the version which is the default version when the
Type: schema.TypeString,
Optional: true,
ValidateFunc: validateBase64String,
Description: `HTTP request body.
A request body is allowed only if the HTTP method is POST or PUT.
Description: `HTTP request body.
A request body is allowed only if the HTTP method is POST or PUT.
It will result in invalid argument error to set a body on a job with an incompatible HttpMethod.
A base64-encoded string.`,
Expand All @@ -185,7 +185,7 @@ A base64-encoded string.`,
Optional: true,
ValidateFunc: validateHttpHeaders(),
Description: `HTTP request headers.
This map contains the header field names and values.
This map contains the header field names and values.
Headers can be set when the job is created.`,
Elem: &schema.Schema{Type: schema.TypeString},
},
Expand Down Expand Up @@ -215,14 +215,14 @@ A duration in seconds with up to nine fractional digits, terminated by 's'. Exam
"description": {
Type: schema.TypeString,
Optional: true,
Description: `A human-readable description for the job.
Description: `A human-readable description for the job.
This string must not contain more than 500 characters.`,
},
"http_target": {
Type: schema.TypeList,
Optional: true,
Description: `HTTP target.
If the job providers a http_target the cron will
If the job providers a http_target the cron will
send a request to the targeted url`,
MaxItems: 1,
Elem: &schema.Resource{
Expand All @@ -237,8 +237,8 @@ send a request to the targeted url`,
Type: schema.TypeString,
Optional: true,
ValidateFunc: validateBase64String,
Description: `HTTP request body.
A request body is allowed only if the HTTP method is POST, PUT, or PATCH.
Description: `HTTP request body.
A request body is allowed only if the HTTP method is POST, PUT, or PATCH.
It is an error to set body on a job with an incompatible HttpMethod.
A base64-encoded string.`,
Expand All @@ -247,7 +247,7 @@ A base64-encoded string.`,
Type: schema.TypeMap,
Optional: true,
ValidateFunc: validateHttpHeaders(),
Description: `This map contains the header field names and values.
Description: `This map contains the header field names and values.
Repeated headers are not supported, but a header value can contain commas.`,
Elem: &schema.Schema{Type: schema.TypeString},
},
Expand Down Expand Up @@ -361,8 +361,8 @@ Pubsub message must contain either non-empty data, or at least one attribute.
"retry_config": {
Type: schema.TypeList,
Optional: true,
Description: `By default, if a job does not complete successfully,
meaning that an acknowledgement is not received from the handler,
Description: `By default, if a job does not complete successfully,
meaning that an acknowledgement is not received from the handler,
then it will be retried with exponential backoff according to the settings`,
MaxItems: 1,
Elem: &schema.Resource{
Expand All @@ -380,16 +380,16 @@ A duration in seconds with up to nine fractional digits, terminated by 's'.`,
Computed: true,
Optional: true,
Description: `The time between retries will double maxDoublings times.
A job's retry interval starts at minBackoffDuration,
then doubles maxDoublings times, then increases linearly,
A job's retry interval starts at minBackoffDuration,
then doubles maxDoublings times, then increases linearly,
and finally retries retries at intervals of maxBackoffDuration up to retryCount times.`,
AtLeastOneOf: []string{"retry_config.0.retry_count", "retry_config.0.max_retry_duration", "retry_config.0.min_backoff_duration", "retry_config.0.max_backoff_duration", "retry_config.0.max_doublings"},
},
"max_retry_duration": {
Type: schema.TypeString,
Computed: true,
Optional: true,
Description: `The time limit for retrying a failed job, measured from time when an execution was first attempted.
Description: `The time limit for retrying a failed job, measured from time when an execution was first attempted.
If specified with retryCount, the job will be retried until both limits are reached.
A duration in seconds with up to nine fractional digits, terminated by 's'.`,
AtLeastOneOf: []string{"retry_config.0.retry_count", "retry_config.0.max_retry_duration", "retry_config.0.min_backoff_duration", "retry_config.0.max_backoff_duration", "retry_config.0.max_doublings"},
Expand All @@ -406,7 +406,7 @@ A duration in seconds with up to nine fractional digits, terminated by 's'.`,
Type: schema.TypeInt,
Computed: true,
Optional: true,
Description: `The number of attempts that the system will make to run a
Description: `The number of attempts that the system will make to run a
job using the exponential backoff procedure described by maxDoublings.
Values greater than 5 and negative values are not allowed.`,
AtLeastOneOf: []string{"retry_config.0.retry_count", "retry_config.0.max_retry_duration", "retry_config.0.min_backoff_duration", "retry_config.0.max_backoff_duration", "retry_config.0.max_doublings"},
Expand Down
6 changes: 3 additions & 3 deletions google-beta/resource_cloudbuild_bitbucket_server_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ Changing this field will result in deleting/ recreating the resource.`,
"peered_network": {
Type: schema.TypeString,
Optional: true,
Description: `The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection.
This should be set if the Bitbucket Server instance is hosted on-premises and not reachable by public internet. If this field is left empty,
no network peering will occur and calls to the Bitbucket Server instance will be made over the public internet. Must be in the format
Description: `The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection.
This should be set if the Bitbucket Server instance is hosted on-premises and not reachable by public internet. If this field is left empty,
no network peering will occur and calls to the Bitbucket Server instance will be made over the public internet. Must be in the format
projects/{project}/global/networks/{network}, where {project} is a project number or id and {network} is the name of a VPC network in the project.`,
},
"ssl_ca": {
Expand Down
Loading

0 comments on commit 1f32d07

Please sign in to comment.