diff --git a/pkg/test/resourcefixture/testdata/reconcileintervalannotations/storagebucket/_vcr_cassettes/dcl.yaml b/pkg/test/resourcefixture/testdata/reconcileintervalannotations/storagebucket/_vcr_cassettes/dcl.yaml new file mode 100644 index 0000000000..da46f9fa04 --- /dev/null +++ b/pkg/test/resourcefixture/testdata/reconcileintervalannotations/storagebucket/_vcr_cassettes/dcl.yaml @@ -0,0 +1,17 @@ +# Copyright 2024 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- +version: 2 +interactions: [] diff --git a/pkg/test/resourcefixture/testdata/reconcileintervalannotations/storagebucket/_vcr_cassettes/oauth.yaml b/pkg/test/resourcefixture/testdata/reconcileintervalannotations/storagebucket/_vcr_cassettes/oauth.yaml new file mode 100644 index 0000000000..da46f9fa04 --- /dev/null +++ b/pkg/test/resourcefixture/testdata/reconcileintervalannotations/storagebucket/_vcr_cassettes/oauth.yaml @@ -0,0 +1,17 @@ +# Copyright 2024 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- +version: 2 +interactions: [] diff --git a/pkg/test/resourcefixture/testdata/reconcileintervalannotations/storagebucket/_vcr_cassettes/tf.yaml b/pkg/test/resourcefixture/testdata/reconcileintervalannotations/storagebucket/_vcr_cassettes/tf.yaml new file mode 100644 index 0000000000..c498dc1691 --- /dev/null +++ b/pkg/test/resourcefixture/testdata/reconcileintervalannotations/storagebucket/_vcr_cassettes/tf.yaml @@ -0,0 +1,499 @@ +# Copyright 2024 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: storage.googleapis.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + X-Goog-Api-Client: + - gl-go/1.23.0--20240419-RC02 cl/626470163 +7f76c00fc5 X:fieldtrack,boringcrypto gdcl/0.185.0 + url: https://storage.googleapis.com/storage/v1/b/storagebucket-sample-33u296k9fbo9x?alt=json&prettyPrint=false + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: fake error message + headers: + Content-Length: + - "171" + Content-Type: + - application/json; charset=UTF-8 + Expires: + - Mon, 01 Jan 1990 00:00:00 GMT + Pragma: + - no-cache + X-Guploader-Uploadid: + - ACJd0NpyBhuklw6YHC66JqTfqYn9wmmfwRRouYGEnpY11FQj56cRmeF9XItinhclFvEJjs-mqE_-CXa0MQ + status: 404 Not Found + code: 404 + duration: 274.33288ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 314 + transfer_encoding: [] + trailer: {} + host: storage.googleapis.com + remote_addr: "" + request_uri: "" + body: | + {"iamConfiguration":{"uniformBucketLevelAccess":{"enabled":false}},"labels":{"cnrm-test":"true","managed-by-cnrm":"true"},"lifecycle":{"rule":[{"action":{"type":"Delete"},"condition":{"age":7}}]},"location":"US","name":"storagebucket-sample-33u296k9fbo9x","storageClass":"STANDARD","versioning":{"enabled":false}} + form: {} + headers: + Content-Type: + - application/json + X-Goog-Api-Client: + - gl-go/1.23.0--20240419-RC02 cl/626470163 +7f76c00fc5 X:fieldtrack,boringcrypto gdcl/0.185.0 + url: https://storage.googleapis.com/storage/v1/b?alt=json&prettyPrint=false&project=example-project + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 831 + uncompressed: false + body: '{"kind":"storage#bucket","selfLink":"https://www.googleapis.com/storage/v1/b/storagebucket-sample-33u296k9fbo9x","id":"storagebucket-sample-33u296k9fbo9x","name":"storagebucket-sample-33u296k9fbo9x","projectNumber":"123456789","metageneration":"1","location":"US","storageClass":"STANDARD","etag":"CAE=","timeCreated":"2024-06-26T02:35:32.275Z","updated":"2024-06-26T02:35:32.275Z","versioning":{"enabled":false},"lifecycle":{"rule":[{"action":{"type":"Delete"},"condition":{"age":7}}]},"labels":{"cnrm-test":"true","managed-by-cnrm":"true"},"softDeletePolicy":{"retentionDurationSeconds":"604800","effectiveTime":"2024-06-26T02:35:32.275Z"},"iamConfiguration":{"bucketPolicyOnly":{"enabled":false},"uniformBucketLevelAccess":{"enabled":false},"publicAccessPrevention":"inherited"},"locationType":"multi-region","rpo":"DEFAULT"}' + headers: + Content-Length: + - "831" + Content-Type: + - application/json; charset=UTF-8 + Expires: + - Mon, 01 Jan 1990 00:00:00 GMT + Pragma: + - no-cache + X-Guploader-Uploadid: + - ACJd0NrbTFLpTcpfrKFCvGP26bs8_4MuaRg2iMLUrq3la7tAfbHhtWgD_AJqeVBmz8q8A2TKucwNdepkgw + status: 200 OK + code: 200 + duration: 827.144767ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: storage.googleapis.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + X-Goog-Api-Client: + - gl-go/1.23.0--20240419-RC02 cl/626470163 +7f76c00fc5 X:fieldtrack,boringcrypto gdcl/0.185.0 + url: https://storage.googleapis.com/storage/v1/b/storagebucket-sample-33u296k9fbo9x?alt=json&prettyPrint=false + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 831 + uncompressed: false + body: '{"kind":"storage#bucket","selfLink":"https://www.googleapis.com/storage/v1/b/storagebucket-sample-33u296k9fbo9x","id":"storagebucket-sample-33u296k9fbo9x","name":"storagebucket-sample-33u296k9fbo9x","projectNumber":"123456789","metageneration":"1","location":"US","storageClass":"STANDARD","etag":"CAE=","timeCreated":"2024-06-26T02:35:32.275Z","updated":"2024-06-26T02:35:32.275Z","versioning":{"enabled":false},"lifecycle":{"rule":[{"action":{"type":"Delete"},"condition":{"age":7}}]},"labels":{"managed-by-cnrm":"true","cnrm-test":"true"},"softDeletePolicy":{"retentionDurationSeconds":"604800","effectiveTime":"2024-06-26T02:35:32.275Z"},"iamConfiguration":{"bucketPolicyOnly":{"enabled":false},"uniformBucketLevelAccess":{"enabled":false},"publicAccessPrevention":"inherited"},"locationType":"multi-region","rpo":"DEFAULT"}' + headers: + Content-Length: + - "831" + Content-Type: + - application/json; charset=UTF-8 + Expires: + - Wed, 26 Jun 2024 02:35:33 GMT + X-Guploader-Uploadid: + - ACJd0NqrE2WyFxid0w4vS-U9u30N1L0chkbBgiO47KeQl4SYlLc2m1xUA9mWp2c4MFTpNLa974Q79j6NEg + status: 200 OK + code: 200 + duration: 170.840222ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: storage.googleapis.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + X-Goog-Api-Client: + - gl-go/1.23.0--20240419-RC02 cl/626470163 +7f76c00fc5 X:fieldtrack,boringcrypto gdcl/0.185.0 + url: https://storage.googleapis.com/storage/v1/b/storagebucket-sample-33u296k9fbo9x?alt=json&prettyPrint=false + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 831 + uncompressed: false + body: '{"kind":"storage#bucket","selfLink":"https://www.googleapis.com/storage/v1/b/storagebucket-sample-33u296k9fbo9x","id":"storagebucket-sample-33u296k9fbo9x","name":"storagebucket-sample-33u296k9fbo9x","projectNumber":"123456789","metageneration":"1","location":"US","storageClass":"STANDARD","etag":"CAE=","timeCreated":"2024-06-26T02:35:32.275Z","updated":"2024-06-26T02:35:32.275Z","versioning":{"enabled":false},"lifecycle":{"rule":[{"action":{"type":"Delete"},"condition":{"age":7}}]},"labels":{"cnrm-test":"true","managed-by-cnrm":"true"},"softDeletePolicy":{"retentionDurationSeconds":"604800","effectiveTime":"2024-06-26T02:35:32.275Z"},"iamConfiguration":{"bucketPolicyOnly":{"enabled":false},"uniformBucketLevelAccess":{"enabled":false},"publicAccessPrevention":"inherited"},"locationType":"multi-region","rpo":"DEFAULT"}' + headers: + Content-Length: + - "831" + Content-Type: + - application/json; charset=UTF-8 + Expires: + - Wed, 26 Jun 2024 02:35:33 GMT + X-Guploader-Uploadid: + - ACJd0NqINDWHnGhz1xA0rPXztGD-alwR-UWap1Z_5bh9LqOhRfJYsL-woQ-pXNgyOXOalVxa-plz_yA8kw + status: 200 OK + code: 200 + duration: 131.47671ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: storage.googleapis.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + X-Goog-Api-Client: + - gl-go/1.23.0--20240419-RC02 cl/626470163 +7f76c00fc5 X:fieldtrack,boringcrypto gdcl/0.185.0 + url: https://storage.googleapis.com/storage/v1/b/storagebucket-sample-33u296k9fbo9x?alt=json&prettyPrint=false + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 831 + uncompressed: false + body: '{"kind":"storage#bucket","selfLink":"https://www.googleapis.com/storage/v1/b/storagebucket-sample-33u296k9fbo9x","id":"storagebucket-sample-33u296k9fbo9x","name":"storagebucket-sample-33u296k9fbo9x","projectNumber":"123456789","metageneration":"1","location":"US","storageClass":"STANDARD","etag":"CAE=","timeCreated":"2024-06-26T02:35:32.275Z","updated":"2024-06-26T02:35:32.275Z","versioning":{"enabled":false},"lifecycle":{"rule":[{"action":{"type":"Delete"},"condition":{"age":7}}]},"labels":{"managed-by-cnrm":"true","cnrm-test":"true"},"softDeletePolicy":{"retentionDurationSeconds":"604800","effectiveTime":"2024-06-26T02:35:32.275Z"},"iamConfiguration":{"bucketPolicyOnly":{"enabled":false},"uniformBucketLevelAccess":{"enabled":false},"publicAccessPrevention":"inherited"},"locationType":"multi-region","rpo":"DEFAULT"}' + headers: + Content-Length: + - "831" + Content-Type: + - application/json; charset=UTF-8 + Expires: + - Wed, 26 Jun 2024 02:35:33 GMT + X-Guploader-Uploadid: + - ACJd0Np5Hk2W8i4kLbGQFjOj7jB1B1vdCMsCUV4f8zBS6C9hz1EZHjVqzylbiRInKMu55H14yF-5YjK48g + status: 200 OK + code: 200 + duration: 137.38968ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: storage.googleapis.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + X-Goog-Api-Client: + - gl-go/1.23.0--20240419-RC02 cl/626470163 +7f76c00fc5 X:fieldtrack,boringcrypto gdcl/0.185.0 + url: https://storage.googleapis.com/storage/v1/b/storagebucket-sample-33u296k9fbo9x?alt=json&prettyPrint=false + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 831 + uncompressed: false + body: '{"kind":"storage#bucket","selfLink":"https://www.googleapis.com/storage/v1/b/storagebucket-sample-33u296k9fbo9x","id":"storagebucket-sample-33u296k9fbo9x","name":"storagebucket-sample-33u296k9fbo9x","projectNumber":"123456789","metageneration":"1","location":"US","storageClass":"STANDARD","etag":"CAE=","timeCreated":"2024-06-26T02:35:32.275Z","updated":"2024-06-26T02:35:32.275Z","versioning":{"enabled":false},"lifecycle":{"rule":[{"action":{"type":"Delete"},"condition":{"age":7}}]},"labels":{"managed-by-cnrm":"true","cnrm-test":"true"},"softDeletePolicy":{"retentionDurationSeconds":"604800","effectiveTime":"2024-06-26T02:35:32.275Z"},"iamConfiguration":{"bucketPolicyOnly":{"enabled":false},"uniformBucketLevelAccess":{"enabled":false},"publicAccessPrevention":"inherited"},"locationType":"multi-region","rpo":"DEFAULT"}' + headers: + Content-Length: + - "831" + Content-Type: + - application/json; charset=UTF-8 + Expires: + - Wed, 26 Jun 2024 02:35:34 GMT + X-Guploader-Uploadid: + - ACJd0Np75PXX7v8jU6zCWxZlOE1elNyQaseastZgrBaJ3RCk9Lkkz3SORSsXzBQBwCoatNgG8isjoS7-Cg + status: 200 OK + code: 200 + duration: 91.31316ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 56 + transfer_encoding: [] + trailer: {} + host: storage.googleapis.com + remote_addr: "" + request_uri: "" + body: | + {"lifecycle":{"rule":[]},"versioning":{"enabled":true}} + form: {} + headers: + Content-Type: + - application/json + X-Goog-Api-Client: + - gl-go/1.23.0--20240419-RC02 cl/626470163 +7f76c00fc5 X:fieldtrack,boringcrypto gdcl/0.185.0 + url: https://storage.googleapis.com/storage/v1/b/storagebucket-sample-33u296k9fbo9x?alt=json&prettyPrint=false + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 2576 + uncompressed: false + body: '{"kind":"storage#bucket","selfLink":"https://www.googleapis.com/storage/v1/b/storagebucket-sample-33u296k9fbo9x","id":"storagebucket-sample-33u296k9fbo9x","name":"storagebucket-sample-33u296k9fbo9x","projectNumber":"123456789","metageneration":"2","location":"US","storageClass":"STANDARD","etag":"CAI=","timeCreated":"2024-06-26T02:35:32.275Z","updated":"2024-06-26T02:35:35.083Z","acl":[{"kind":"storage#bucketAccessControl","id":"storagebucket-sample-33u296k9fbo9x/project-owners-123456789","selfLink":"https://www.googleapis.com/storage/v1/b/storagebucket-sample-33u296k9fbo9x/acl/project-owners-123456789","bucket":"storagebucket-sample-33u296k9fbo9x","entity":"project-owners-123456789","role":"OWNER","etag":"CAI=","projectTeam":{"projectNumber":"123456789","team":"owners"}},{"kind":"storage#bucketAccessControl","id":"storagebucket-sample-33u296k9fbo9x/project-editors-123456789","selfLink":"https://www.googleapis.com/storage/v1/b/storagebucket-sample-33u296k9fbo9x/acl/project-editors-123456789","bucket":"storagebucket-sample-33u296k9fbo9x","entity":"project-editors-123456789","role":"OWNER","etag":"CAI=","projectTeam":{"projectNumber":"123456789","team":"editors"}},{"kind":"storage#bucketAccessControl","id":"storagebucket-sample-33u296k9fbo9x/project-viewers-123456789","selfLink":"https://www.googleapis.com/storage/v1/b/storagebucket-sample-33u296k9fbo9x/acl/project-viewers-123456789","bucket":"storagebucket-sample-33u296k9fbo9x","entity":"project-viewers-123456789","role":"READER","etag":"CAI=","projectTeam":{"projectNumber":"123456789","team":"viewers"}}],"defaultObjectAcl":[{"kind":"storage#objectAccessControl","entity":"project-owners-123456789","role":"OWNER","etag":"CAI=","projectTeam":{"projectNumber":"123456789","team":"owners"}},{"kind":"storage#objectAccessControl","entity":"project-editors-123456789","role":"OWNER","etag":"CAI=","projectTeam":{"projectNumber":"123456789","team":"editors"}},{"kind":"storage#objectAccessControl","entity":"project-viewers-123456789","role":"READER","etag":"CAI=","projectTeam":{"projectNumber":"123456789","team":"viewers"}}],"owner":{"entity":"project-owners-123456789"},"versioning":{"enabled":true},"labels":{"managed-by-cnrm":"true","cnrm-test":"true"},"softDeletePolicy":{"retentionDurationSeconds":"604800","effectiveTime":"2024-06-26T02:35:32.275Z"},"iamConfiguration":{"bucketPolicyOnly":{"enabled":false},"uniformBucketLevelAccess":{"enabled":false},"publicAccessPrevention":"inherited"},"locationType":"multi-region","rpo":"DEFAULT"}' + headers: + Content-Length: + - "2576" + Content-Type: + - application/json; charset=UTF-8 + Expires: + - Mon, 01 Jan 1990 00:00:00 GMT + Pragma: + - no-cache + X-Guploader-Uploadid: + - ACJd0NqqdyeLX60ICqGrOW79D-07R6uZtG4QhObMMSuXADD6cWoGG0p7G3NvidHNXCc7zmMQsDoAZysjLQ + status: 200 OK + code: 200 + duration: 414.631428ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: storage.googleapis.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + X-Goog-Api-Client: + - gl-go/1.23.0--20240419-RC02 cl/626470163 +7f76c00fc5 X:fieldtrack,boringcrypto gdcl/0.185.0 + url: https://storage.googleapis.com/storage/v1/b/storagebucket-sample-33u296k9fbo9x?alt=json&prettyPrint=false + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 756 + uncompressed: false + body: '{"kind":"storage#bucket","selfLink":"https://www.googleapis.com/storage/v1/b/storagebucket-sample-33u296k9fbo9x","id":"storagebucket-sample-33u296k9fbo9x","name":"storagebucket-sample-33u296k9fbo9x","projectNumber":"123456789","metageneration":"2","location":"US","storageClass":"STANDARD","etag":"CAI=","timeCreated":"2024-06-26T02:35:32.275Z","updated":"2024-06-26T02:35:35.083Z","versioning":{"enabled":true},"labels":{"managed-by-cnrm":"true","cnrm-test":"true"},"softDeletePolicy":{"retentionDurationSeconds":"604800","effectiveTime":"2024-06-26T02:35:32.275Z"},"iamConfiguration":{"bucketPolicyOnly":{"enabled":false},"uniformBucketLevelAccess":{"enabled":false},"publicAccessPrevention":"inherited"},"locationType":"multi-region","rpo":"DEFAULT"}' + headers: + Content-Length: + - "756" + Content-Type: + - application/json; charset=UTF-8 + Expires: + - Wed, 26 Jun 2024 02:35:35 GMT + X-Guploader-Uploadid: + - ACJd0NrlfbMd9sNgnQZchcHM4fOGcV4Qu6MlyFQ6qS03U4I6Px9taDkarBAeI8uM8SGLRnMco3Nn5wneTA + status: 200 OK + code: 200 + duration: 170.227033ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: storage.googleapis.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + X-Goog-Api-Client: + - gl-go/1.23.0--20240419-RC02 cl/626470163 +7f76c00fc5 X:fieldtrack,boringcrypto gdcl/0.185.0 + url: https://storage.googleapis.com/storage/v1/b/storagebucket-sample-33u296k9fbo9x?alt=json&prettyPrint=false + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 756 + uncompressed: false + body: '{"kind":"storage#bucket","selfLink":"https://www.googleapis.com/storage/v1/b/storagebucket-sample-33u296k9fbo9x","id":"storagebucket-sample-33u296k9fbo9x","name":"storagebucket-sample-33u296k9fbo9x","projectNumber":"123456789","metageneration":"2","location":"US","storageClass":"STANDARD","etag":"CAI=","timeCreated":"2024-06-26T02:35:32.275Z","updated":"2024-06-26T02:35:35.083Z","versioning":{"enabled":true},"labels":{"cnrm-test":"true","managed-by-cnrm":"true"},"softDeletePolicy":{"retentionDurationSeconds":"604800","effectiveTime":"2024-06-26T02:35:32.275Z"},"iamConfiguration":{"bucketPolicyOnly":{"enabled":false},"uniformBucketLevelAccess":{"enabled":false},"publicAccessPrevention":"inherited"},"locationType":"multi-region","rpo":"DEFAULT"}' + headers: + Content-Length: + - "756" + Content-Type: + - application/json; charset=UTF-8 + Expires: + - Wed, 26 Jun 2024 02:35:36 GMT + X-Guploader-Uploadid: + - ACJd0No-VAHxb6pscd88k65MfuSWv9YtkfjN7FDkMVOXXYGg2ivUKXzvtJ7vxrKaxVT5qSAsnnA + status: 200 OK + code: 200 + duration: 173.162822ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: storage.googleapis.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + X-Goog-Api-Client: + - gl-go/1.23.0--20240419-RC02 cl/626470163 +7f76c00fc5 X:fieldtrack,boringcrypto gdcl/0.185.0 + url: https://storage.googleapis.com/storage/v1/b/storagebucket-sample-33u296k9fbo9x?alt=json&prettyPrint=false + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 756 + uncompressed: false + body: '{"kind":"storage#bucket","selfLink":"https://www.googleapis.com/storage/v1/b/storagebucket-sample-33u296k9fbo9x","id":"storagebucket-sample-33u296k9fbo9x","name":"storagebucket-sample-33u296k9fbo9x","projectNumber":"123456789","metageneration":"2","location":"US","storageClass":"STANDARD","etag":"CAI=","timeCreated":"2024-06-26T02:35:32.275Z","updated":"2024-06-26T02:35:35.083Z","versioning":{"enabled":true},"labels":{"cnrm-test":"true","managed-by-cnrm":"true"},"softDeletePolicy":{"retentionDurationSeconds":"604800","effectiveTime":"2024-06-26T02:35:32.275Z"},"iamConfiguration":{"bucketPolicyOnly":{"enabled":false},"uniformBucketLevelAccess":{"enabled":false},"publicAccessPrevention":"inherited"},"locationType":"multi-region","rpo":"DEFAULT"}' + headers: + Content-Length: + - "756" + Content-Type: + - application/json; charset=UTF-8 + Expires: + - Wed, 26 Jun 2024 02:35:36 GMT + X-Guploader-Uploadid: + - ACJd0NrvcyrkRcVWTn03qPHD_GqS58eOqg9d0Xs8JNbpU1zWzCG3N1stpyXmrBFRYXp6POpiMx0 + status: 200 OK + code: 200 + duration: 154.636196ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: storage.googleapis.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + X-Goog-Api-Client: + - gl-go/1.23.0--20240419-RC02 cl/626470163 +7f76c00fc5 X:fieldtrack,boringcrypto gdcl/0.185.0 + url: https://storage.googleapis.com/storage/v1/b/storagebucket-sample-33u296k9fbo9x/o?alt=json&prettyPrint=false&versions=true + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 26 + uncompressed: false + body: '{"kind":"storage#objects"}' + headers: + Content-Length: + - "26" + Content-Type: + - application/json; charset=UTF-8 + Expires: + - Wed, 26 Jun 2024 02:35:37 GMT + X-Guploader-Uploadid: + - ACJd0Nqhw77rgklGdUeD2_Gds5SpY8l-7ylFaRbCoPtmkAwmGtZ-t5FfxG98OM8C-KBibw1HDxl22q8tqg + status: 200 OK + code: 200 + duration: 153.509806ms + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: storage.googleapis.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + X-Goog-Api-Client: + - gl-go/1.23.0--20240419-RC02 cl/626470163 +7f76c00fc5 X:fieldtrack,boringcrypto gdcl/0.185.0 + url: https://storage.googleapis.com/storage/v1/b/storagebucket-sample-33u296k9fbo9x?alt=json&prettyPrint=false + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Length: + - "0" + Content-Type: + - application/json + Expires: + - Mon, 01 Jan 1990 00:00:00 GMT + Pragma: + - no-cache + X-Guploader-Uploadid: + - ACJd0Npxhqk7R26AN9KC0Oc3MaMBWODzbU_Q3Dc_C2YUW0YcUJxhq6JAkN-xDf2SRF2V75hqAGJIDdleWw + status: 204 No Content + code: 204 + duration: 864.736228ms