From 68cf2076ce24575f3d1d9536274b877995ef997a Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Fri, 18 Jun 2021 15:03:58 +0000 Subject: [PATCH] fix typos in docs (#4884) Co-authored-by: upodroid Signed-off-by: Modular Magician --- .changelog/4884.txt | 3 +++ google-beta/resource_gke_hub_feature_membership_test.go | 2 +- website/docs/r/storage_bucket.html.markdown | 6 +++--- 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 .changelog/4884.txt diff --git a/.changelog/4884.txt b/.changelog/4884.txt new file mode 100644 index 0000000000..c054514f8f --- /dev/null +++ b/.changelog/4884.txt @@ -0,0 +1,3 @@ +```release-note:none + +``` diff --git a/google-beta/resource_gke_hub_feature_membership_test.go b/google-beta/resource_gke_hub_feature_membership_test.go index 32fa84c196..9e1f2ea64d 100644 --- a/google-beta/resource_gke_hub_feature_membership_test.go +++ b/google-beta/resource_gke_hub_feature_membership_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - dcl "github.com/GoogleCloudPlatform/declarative-resource-client-library/dcl" + "github.com/GoogleCloudPlatform/declarative-resource-client-library/dcl" gkehub "github.com/GoogleCloudPlatform/declarative-resource-client-library/services/google/gkehub/beta" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" diff --git a/website/docs/r/storage_bucket.html.markdown b/website/docs/r/storage_bucket.html.markdown index 6651559dfb..d199b6d766 100644 --- a/website/docs/r/storage_bucket.html.markdown +++ b/website/docs/r/storage_bucket.html.markdown @@ -119,7 +119,7 @@ The `condition` block supports the following elements, and requires at least one * `age` - (Optional) Minimum age of an object in days to satisfy this condition. -* `created_before` - (Optional) Creation date of an object in RFC 3339 (e.g. `2017-06-13`) to satisfy this condition. +* `created_before` - (Optional) A date in the RFC 3339 format YYYY-MM-DD. This condition is satisfied when an object is created before midnight of the specified date in UTC. * `with_state` - (Optional) Match to live and/or archived objects. Unversioned buckets have only live objects. Supported values include: `"LIVE"`, `"ARCHIVED"`, `"ANY"`. @@ -127,9 +127,9 @@ The `condition` block supports the following elements, and requires at least one * `num_newer_versions` - (Optional) Relevant only for versioned objects. The number of newer versions of an object to satisfy this condition. -* `custom_time_before` - (Optional) Creation date of an object in RFC 3339 (e.g. `2017-06-13`) to satisfy this condition. +* `custom_time_before` - (Optional) A date in the RFC 3339 format YYYY-MM-DD. This condition is satisfied when the customTime metadata for the object is set to an earlier date than the date used in this lifecycle condition. -* `days_since_custom_time` - (Optional) Date in RFC 3339 (e.g. `2017-06-13`) when an object's Custom-Time metadata is earlier than the date specified in this condition. +* `days_since_custom_time` - (Optional) Days since the date set in the `customTime` metadata for the object. This condition is satisfied when the current date and time is at least the specified number of days after the `customTime`. * `days_since_noncurrent_time` - (Optional) Relevant only for versioned objects. Number of days elapsed since the noncurrent timestamp of an object.