Skip to content

Commit ee307c8

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit ba0da669 of spec repo
1 parent 825234b commit ee307c8

File tree

3 files changed

+5
-17
lines changed

3 files changed

+5
-17
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-05-02 09:33:55.410949",
8-
"spec_repo_commit": "77cf469a"
7+
"regenerated": "2025-05-06 07:34:20.593703",
8+
"spec_repo_commit": "ba0da669"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-02 09:33:55.426962",
13-
"spec_repo_commit": "77cf469a"
12+
"regenerated": "2025-05-06 07:34:20.609499",
13+
"spec_repo_commit": "ba0da669"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24183,7 +24183,6 @@ components:
2418324183
- auth
2418424184
- storage_class
2418524185
- acl
24186-
- metadata
2418724186
type: object
2418824187
ObservabilityPipelineGoogleCloudStorageDestinationAcl:
2418924188
description: Access control list setting for objects written to the bucket.

lib/datadog_api_client/v2/models/observability_pipeline_google_cloud_storage_destination.rb

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class ObservabilityPipelineGoogleCloudStorageDestination
4242
attr_accessor :key_prefix
4343

4444
# Custom metadata key-value pairs added to each object.
45-
attr_reader :metadata
45+
attr_accessor :metadata
4646

4747
# Storage class used for objects stored in GCS.
4848
attr_reader :storage_class
@@ -152,7 +152,6 @@ def valid?
152152
return false if @bucket.nil?
153153
return false if @id.nil?
154154
return false if @inputs.nil?
155-
return false if @metadata.nil?
156155
return false if @storage_class.nil?
157156
return false if @type.nil?
158157
true
@@ -208,16 +207,6 @@ def inputs=(inputs)
208207
@inputs = inputs
209208
end
210209

211-
# Custom attribute writer method with validation
212-
# @param metadata [Object] Object to be assigned
213-
# @!visibility private
214-
def metadata=(metadata)
215-
if metadata.nil?
216-
fail ArgumentError, 'invalid value for "metadata", metadata cannot be nil.'
217-
end
218-
@metadata = metadata
219-
end
220-
221210
# Custom attribute writer method with validation
222211
# @param storage_class [Object] Object to be assigned
223212
# @!visibility private

0 commit comments

Comments
 (0)