datadog_api_client 2.13.0 → 2.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.apigentools-info +4 -4
- data/.generator/schemas/v1/openapi.yaml +181 -16
- data/.generator/schemas/v2/openapi.yaml +391 -151
- data/.generator/src/generator/formatter.py +34 -29
- data/.generator/src/generator/templates/api_client.j2 +81 -53
- data/.generator/src/generator/templates/configuration.j2 +21 -0
- data/.pre-commit-config.yaml +2 -2
- data/CHANGELOG.md +31 -0
- data/README.md +23 -0
- data/examples/v1/azure-integration/CreateAzureIntegration.rb +3 -0
- data/examples/v1/azure-integration/DeleteAzureIntegration.rb +3 -0
- data/examples/v1/azure-integration/UpdateAzureHostFilters.rb +3 -0
- data/examples/v1/azure-integration/UpdateAzureIntegration.rb +3 -0
- data/examples/v1/dashboards/CreateDashboard_252716965.rb +6 -0
- data/examples/v1/dashboards/DeletePublicDashboardInvitation.rb +3 -3
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1487281163.rb +1 -0
- data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent.rb +3 -0
- data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent_129899466.rb +3 -0
- data/examples/v2/logs/AggregateLogs_2955613758.rb +1 -1
- data/examples/v2/teams/CreateTeam.rb +2 -2
- data/examples/v2/teams/CreateTeam_252121814.rb +24 -0
- data/examples/v2/teams/GetUserMemberships.rb +8 -0
- data/examples/v2/teams/UpdateTeam.rb +9 -0
- data/lib/datadog_api_client/api_client.rb +81 -53
- data/lib/datadog_api_client/configuration.rb +22 -0
- data/lib/datadog_api_client/inflector.rb +10 -1
- data/lib/datadog_api_client/v1/api/service_level_objective_corrections_api.rb +2 -2
- data/lib/datadog_api_client/v1/api/service_level_objectives_api.rb +10 -10
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +3 -3
- data/lib/datadog_api_client/v1/models/azure_account.rb +32 -1
- data/lib/datadog_api_client/v1/models/distribution_widget_definition.rb +13 -1
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +3 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +6 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +61 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +11 -1
- data/lib/datadog_api_client/v1/models/usage_ci_visibility_hour.rb +12 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +24 -4
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +24 -4
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +24 -4
- data/lib/datadog_api_client/v1/models/widget_comparator.rb +1 -0
- data/lib/datadog_api_client/v2/api/ci_visibility_pipelines_api.rb +10 -6
- data/lib/datadog_api_client/v2/api/ip_allowlist_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/metrics_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +3 -3
- data/lib/datadog_api_client/v2/api/spans_metrics_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/teams_api.rb +65 -0
- data/lib/datadog_api_client/v2/models/application_key_create_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/application_key_update_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/audit_logs_event_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/ci_app_event_attributes.rb +9 -21
- data/lib/datadog_api_client/v2/models/ci_app_pipeline_event.rb +1 -1
- data/lib/datadog_api_client/v2/models/{team_data.rb → ci_app_pipeline_event_attributes.rb} +24 -62
- data/lib/datadog_api_client/v2/models/ci_app_pipeline_level.rb +30 -0
- data/lib/datadog_api_client/v2/models/ci_app_pipelines_query_filter.rb +1 -1
- data/lib/datadog_api_client/v2/models/ci_app_test_level.rb +29 -0
- data/lib/datadog_api_client/v2/models/ci_app_tests_analytics_aggregate_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/ci_app_tests_query_filter.rb +1 -1
- data/lib/datadog_api_client/v2/models/cloud_configuration_rule_compliance_signal_options.rb +25 -1
- data/lib/datadog_api_client/v2/models/dashboard_list_item.rb +25 -1
- data/lib/datadog_api_client/v2/models/downtime_schedule_one_time_response.rb +19 -1
- data/lib/datadog_api_client/v2/models/formula_limit.rb +1 -0
- data/lib/datadog_api_client/v2/models/full_application_key_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_aggregate_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_aggregate_request_page.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_group_by.rb +3 -2
- data/lib/datadog_api_client/v2/models/logs_group_by_histogram.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_list_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_query_options.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_response_metadata_page.rb +1 -1
- data/lib/datadog_api_client/v2/models/on_demand_concurrency_cap.rb +14 -4
- data/lib/datadog_api_client/v2/models/on_demand_concurrency_cap_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/partial_application_key_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/query_formula.rb +1 -0
- data/lib/datadog_api_client/v2/models/relationship_to_team_links.rb +14 -4
- data/lib/datadog_api_client/v2/models/relationship_to_user_team_permission.rb +14 -4
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_metadata_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_response_query.rb +26 -2
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_state_update_data.rb +24 -4
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_triage_update_data.rb +24 -4
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb +1 -19
- data/lib/datadog_api_client/v2/models/security_monitoring_triage_user.rb +11 -1
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_get_config_response_data.rb +11 -1
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_meta.rb +11 -1
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/team_attributes.rb +50 -4
- data/lib/datadog_api_client/v2/models/team_create_attributes.rb +57 -4
- data/lib/datadog_api_client/v2/models/team_relationships_links.rb +80 -0
- data/lib/datadog_api_client/v2/models/team_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/team_update_attributes.rb +57 -4
- data/lib/datadog_api_client/v2/models/teams_response.rb +24 -4
- data/lib/datadog_api_client/v2/models/teams_response_links.rb +129 -0
- data/lib/datadog_api_client/v2/models/teams_response_meta.rb +80 -0
- data/lib/datadog_api_client/v2/models/teams_response_meta_pagination.rb +150 -0
- data/lib/datadog_api_client/v2/models/usage_attributes_object.rb +11 -1
- data/lib/datadog_api_client/v2/models/user_teams_response.rb +24 -4
- data/lib/datadog_api_client/version.rb +1 -1
- data/spec/configuration_spec.rb +17 -0
- data/spec/retry_spec.rb +44 -0
- metadata +16 -3
@@ -0,0 +1,150 @@
|
|
1
|
+
=begin
|
2
|
+
#Datadog API V2 Collection
|
3
|
+
|
4
|
+
#Collection of all Datadog Public endpoints.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
Contact: support@datadoghq.com
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
9
|
+
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
13
|
+
|
14
|
+
=end
|
15
|
+
|
16
|
+
require 'date'
|
17
|
+
require 'time'
|
18
|
+
|
19
|
+
module DatadogAPIClient::V2
|
20
|
+
# Teams response metadata.
|
21
|
+
class TeamsResponseMetaPagination
|
22
|
+
include BaseGenericModel
|
23
|
+
|
24
|
+
# The first offset.
|
25
|
+
attr_accessor :first_offset
|
26
|
+
|
27
|
+
# The last offset.
|
28
|
+
attr_accessor :last_offset
|
29
|
+
|
30
|
+
# Pagination limit.
|
31
|
+
attr_accessor :limit
|
32
|
+
|
33
|
+
# The next offset.
|
34
|
+
attr_accessor :next_offset
|
35
|
+
|
36
|
+
# The offset.
|
37
|
+
attr_accessor :offset
|
38
|
+
|
39
|
+
# The previous offset.
|
40
|
+
attr_accessor :prev_offset
|
41
|
+
|
42
|
+
# Total results.
|
43
|
+
attr_accessor :total
|
44
|
+
|
45
|
+
# Offset type.
|
46
|
+
attr_accessor :type
|
47
|
+
|
48
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
49
|
+
# @!visibility private
|
50
|
+
def self.attribute_map
|
51
|
+
{
|
52
|
+
:'first_offset' => :'first_offset',
|
53
|
+
:'last_offset' => :'last_offset',
|
54
|
+
:'limit' => :'limit',
|
55
|
+
:'next_offset' => :'next_offset',
|
56
|
+
:'offset' => :'offset',
|
57
|
+
:'prev_offset' => :'prev_offset',
|
58
|
+
:'total' => :'total',
|
59
|
+
:'type' => :'type'
|
60
|
+
}
|
61
|
+
end
|
62
|
+
|
63
|
+
# Attribute type mapping.
|
64
|
+
# @!visibility private
|
65
|
+
def self.openapi_types
|
66
|
+
{
|
67
|
+
:'first_offset' => :'Integer',
|
68
|
+
:'last_offset' => :'Integer',
|
69
|
+
:'limit' => :'Integer',
|
70
|
+
:'next_offset' => :'Integer',
|
71
|
+
:'offset' => :'Integer',
|
72
|
+
:'prev_offset' => :'Integer',
|
73
|
+
:'total' => :'Integer',
|
74
|
+
:'type' => :'String'
|
75
|
+
}
|
76
|
+
end
|
77
|
+
|
78
|
+
# Initializes the object
|
79
|
+
# @param attributes [Hash] Model attributes in the form of hash
|
80
|
+
# @!visibility private
|
81
|
+
def initialize(attributes = {})
|
82
|
+
if (!attributes.is_a?(Hash))
|
83
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::TeamsResponseMetaPagination` initialize method"
|
84
|
+
end
|
85
|
+
|
86
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
87
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
88
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
89
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::TeamsResponseMetaPagination`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
90
|
+
end
|
91
|
+
h[k.to_sym] = v
|
92
|
+
}
|
93
|
+
|
94
|
+
if attributes.key?(:'first_offset')
|
95
|
+
self.first_offset = attributes[:'first_offset']
|
96
|
+
end
|
97
|
+
|
98
|
+
if attributes.key?(:'last_offset')
|
99
|
+
self.last_offset = attributes[:'last_offset']
|
100
|
+
end
|
101
|
+
|
102
|
+
if attributes.key?(:'limit')
|
103
|
+
self.limit = attributes[:'limit']
|
104
|
+
end
|
105
|
+
|
106
|
+
if attributes.key?(:'next_offset')
|
107
|
+
self.next_offset = attributes[:'next_offset']
|
108
|
+
end
|
109
|
+
|
110
|
+
if attributes.key?(:'offset')
|
111
|
+
self.offset = attributes[:'offset']
|
112
|
+
end
|
113
|
+
|
114
|
+
if attributes.key?(:'prev_offset')
|
115
|
+
self.prev_offset = attributes[:'prev_offset']
|
116
|
+
end
|
117
|
+
|
118
|
+
if attributes.key?(:'total')
|
119
|
+
self.total = attributes[:'total']
|
120
|
+
end
|
121
|
+
|
122
|
+
if attributes.key?(:'type')
|
123
|
+
self.type = attributes[:'type']
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
# Checks equality by comparing each attribute.
|
128
|
+
# @param o [Object] Object to be compared
|
129
|
+
# @!visibility private
|
130
|
+
def ==(o)
|
131
|
+
return true if self.equal?(o)
|
132
|
+
self.class == o.class &&
|
133
|
+
first_offset == o.first_offset &&
|
134
|
+
last_offset == o.last_offset &&
|
135
|
+
limit == o.limit &&
|
136
|
+
next_offset == o.next_offset &&
|
137
|
+
offset == o.offset &&
|
138
|
+
prev_offset == o.prev_offset &&
|
139
|
+
total == o.total &&
|
140
|
+
type == o.type
|
141
|
+
end
|
142
|
+
|
143
|
+
# Calculates hash code according to all attributes.
|
144
|
+
# @return [Integer] Hash code
|
145
|
+
# @!visibility private
|
146
|
+
def hash
|
147
|
+
[first_offset, last_offset, limit, next_offset, offset, prev_offset, total, type].hash
|
148
|
+
end
|
149
|
+
end
|
150
|
+
end
|
@@ -30,6 +30,9 @@ module DatadogAPIClient::V2
|
|
30
30
|
# The organization public ID.
|
31
31
|
attr_accessor :public_id
|
32
32
|
|
33
|
+
# The region of the Datadog instance that the organization belongs to.
|
34
|
+
attr_accessor :region
|
35
|
+
|
33
36
|
# List of usage data reported for each requested hour.
|
34
37
|
attr_accessor :timeseries
|
35
38
|
|
@@ -43,6 +46,7 @@ module DatadogAPIClient::V2
|
|
43
46
|
:'org_name' => :'org_name',
|
44
47
|
:'product_family' => :'product_family',
|
45
48
|
:'public_id' => :'public_id',
|
49
|
+
:'region' => :'region',
|
46
50
|
:'timeseries' => :'timeseries',
|
47
51
|
:'usage_type' => :'usage_type'
|
48
52
|
}
|
@@ -55,6 +59,7 @@ module DatadogAPIClient::V2
|
|
55
59
|
:'org_name' => :'String',
|
56
60
|
:'product_family' => :'String',
|
57
61
|
:'public_id' => :'String',
|
62
|
+
:'region' => :'String',
|
58
63
|
:'timeseries' => :'Array<UsageTimeSeriesObject>',
|
59
64
|
:'usage_type' => :'HourlyUsageType'
|
60
65
|
}
|
@@ -88,6 +93,10 @@ module DatadogAPIClient::V2
|
|
88
93
|
self.public_id = attributes[:'public_id']
|
89
94
|
end
|
90
95
|
|
96
|
+
if attributes.key?(:'region')
|
97
|
+
self.region = attributes[:'region']
|
98
|
+
end
|
99
|
+
|
91
100
|
if attributes.key?(:'timeseries')
|
92
101
|
if (value = attributes[:'timeseries']).is_a?(Array)
|
93
102
|
self.timeseries = value
|
@@ -108,6 +117,7 @@ module DatadogAPIClient::V2
|
|
108
117
|
org_name == o.org_name &&
|
109
118
|
product_family == o.product_family &&
|
110
119
|
public_id == o.public_id &&
|
120
|
+
region == o.region &&
|
111
121
|
timeseries == o.timeseries &&
|
112
122
|
usage_type == o.usage_type
|
113
123
|
end
|
@@ -116,7 +126,7 @@ module DatadogAPIClient::V2
|
|
116
126
|
# @return [Integer] Hash code
|
117
127
|
# @!visibility private
|
118
128
|
def hash
|
119
|
-
[org_name, product_family, public_id, timeseries, usage_type].hash
|
129
|
+
[org_name, product_family, public_id, region, timeseries, usage_type].hash
|
120
130
|
end
|
121
131
|
end
|
122
132
|
end
|
@@ -24,11 +24,19 @@ module DatadogAPIClient::V2
|
|
24
24
|
# Team memberships response data
|
25
25
|
attr_accessor :data
|
26
26
|
|
27
|
+
# Teams response links.
|
28
|
+
attr_accessor :links
|
29
|
+
|
30
|
+
# Teams response metadata.
|
31
|
+
attr_accessor :meta
|
32
|
+
|
27
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
28
34
|
# @!visibility private
|
29
35
|
def self.attribute_map
|
30
36
|
{
|
31
|
-
:'data' => :'data'
|
37
|
+
:'data' => :'data',
|
38
|
+
:'links' => :'links',
|
39
|
+
:'meta' => :'meta'
|
32
40
|
}
|
33
41
|
end
|
34
42
|
|
@@ -36,7 +44,9 @@ module DatadogAPIClient::V2
|
|
36
44
|
# @!visibility private
|
37
45
|
def self.openapi_types
|
38
46
|
{
|
39
|
-
:'data' => :'Array<UserTeam>'
|
47
|
+
:'data' => :'Array<UserTeam>',
|
48
|
+
:'links' => :'TeamsResponseLinks',
|
49
|
+
:'meta' => :'TeamsResponseMeta'
|
40
50
|
}
|
41
51
|
end
|
42
52
|
|
@@ -61,6 +71,14 @@ module DatadogAPIClient::V2
|
|
61
71
|
self.data = value
|
62
72
|
end
|
63
73
|
end
|
74
|
+
|
75
|
+
if attributes.key?(:'links')
|
76
|
+
self.links = attributes[:'links']
|
77
|
+
end
|
78
|
+
|
79
|
+
if attributes.key?(:'meta')
|
80
|
+
self.meta = attributes[:'meta']
|
81
|
+
end
|
64
82
|
end
|
65
83
|
|
66
84
|
# Checks equality by comparing each attribute.
|
@@ -69,14 +87,16 @@ module DatadogAPIClient::V2
|
|
69
87
|
def ==(o)
|
70
88
|
return true if self.equal?(o)
|
71
89
|
self.class == o.class &&
|
72
|
-
data == o.data
|
90
|
+
data == o.data &&
|
91
|
+
links == o.links &&
|
92
|
+
meta == o.meta
|
73
93
|
end
|
74
94
|
|
75
95
|
# Calculates hash code according to all attributes.
|
76
96
|
# @return [Integer] Hash code
|
77
97
|
# @!visibility private
|
78
98
|
def hash
|
79
|
-
[data].hash
|
99
|
+
[data, links, meta].hash
|
80
100
|
end
|
81
101
|
end
|
82
102
|
end
|
data/spec/configuration_spec.rb
CHANGED
@@ -42,4 +42,21 @@ describe DatadogAPIClient::Configuration do
|
|
42
42
|
end
|
43
43
|
end
|
44
44
|
end
|
45
|
+
|
46
|
+
describe '#backoff_base' do
|
47
|
+
context 'when setting a valid backoff_base value > 2' do
|
48
|
+
it 'sets the backoff_base attribute' do
|
49
|
+
config.backoff_base = 3
|
50
|
+
expect(config.backoff_base).to eq(3)
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
context 'when setting an invalid backoff_base value < 2' do
|
56
|
+
it 'raises an ArgumentError' do
|
57
|
+
expect { config.backoff_base = 1 }.to raise_error(ArgumentError, 'backoff_base cannot be smaller than 2')
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
|
45
62
|
end
|
data/spec/retry_spec.rb
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'logs_archive retry test' do
|
4
|
+
before do
|
5
|
+
DatadogAPIClient.configure do |c|
|
6
|
+
c.enable_retry = true
|
7
|
+
c.backoff_base = 2
|
8
|
+
end
|
9
|
+
@api_instance = DatadogAPIClient::V2::LogsArchivesAPI.new
|
10
|
+
@base_path = @api_instance.api_client.build_request_url('')
|
11
|
+
@body = DatadogAPIClient::V2::LogsArchiveCreateRequest.new
|
12
|
+
allow_any_instance_of(DatadogAPIClient::APIClient).to receive(:sleep)
|
13
|
+
end
|
14
|
+
it 'should retry 3 times and sleep for the value of X-Ratelimit-Reset' do
|
15
|
+
fixture = File.read('spec/fixtures/logs_archive_unknown_nested_oneof.json')
|
16
|
+
stub_request(:post, "#{@base_path}api/v2/logs/config/archives")
|
17
|
+
.to_return(
|
18
|
+
{:body => fixture, :headers => {"Content-Type": "application/json", "X-Ratelimit-Reset" => "1"}, :status => 429},
|
19
|
+
{:body => fixture, :headers => {"Content-Type": "application/json", "X-Ratelimit-Reset" => "1"}, :status => 429},
|
20
|
+
{:body => fixture, :headers => {"Content-Type": "application/json", "X-Ratelimit-Reset" => "1"}, :status => 429},
|
21
|
+
{:body => fixture, :headers => {"Content-Type": "application/json"}, :status => 299}
|
22
|
+
)
|
23
|
+
data = @api_instance.create_logs_archive(@body)
|
24
|
+
expect(@api_instance::api_client).to have_received(:sleep).exactly(3).times.with(1)
|
25
|
+
expect(WebMock).to have_requested(:post, "#{@base_path}api/v2/logs/config/archives").times(4)
|
26
|
+
end
|
27
|
+
|
28
|
+
it 'should retry 3 times and sleep for 2,4,8 seconds' do
|
29
|
+
fixture = File.read('spec/fixtures/logs_archive_unknown_nested_oneof.json')
|
30
|
+
stub_request(:post, "#{@base_path}api/v2/logs/config/archives")
|
31
|
+
.to_return(
|
32
|
+
{:body => fixture, :headers => {"Content-Type": "application/json"}, :status => 500},
|
33
|
+
{:body => fixture, :headers => {"Content-Type": "application/json"}, :status => 500},
|
34
|
+
{:body => fixture, :headers => {"Content-Type": "application/json"}, :status => 500},
|
35
|
+
{:body => fixture, :headers => {"Content-Type": "application/json"}, :status => 299}
|
36
|
+
)
|
37
|
+
|
38
|
+
data = @api_instance.create_logs_archive(@body)
|
39
|
+
expect(@api_instance::api_client).to have_received(:sleep).exactly(1).times.with(2)
|
40
|
+
expect(@api_instance::api_client).to have_received(:sleep).exactly(1).times.with(4)
|
41
|
+
expect(@api_instance::api_client).to have_received(:sleep).exactly(1).times.with(8)
|
42
|
+
expect(WebMock).to have_requested(:post, "#{@base_path}api/v2/logs/config/archives").times(4)
|
43
|
+
end
|
44
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: datadog_api_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Datadog, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -777,6 +777,7 @@ files:
|
|
777
777
|
- examples/v2/teams/CreateTeam.rb
|
778
778
|
- examples/v2/teams/CreateTeamLink.rb
|
779
779
|
- examples/v2/teams/CreateTeamMembership.rb
|
780
|
+
- examples/v2/teams/CreateTeam_252121814.rb
|
780
781
|
- examples/v2/teams/DeleteTeam.rb
|
781
782
|
- examples/v2/teams/DeleteTeamLink.rb
|
782
783
|
- examples/v2/teams/DeleteTeamMembership.rb
|
@@ -785,6 +786,7 @@ files:
|
|
785
786
|
- examples/v2/teams/GetTeamLinks.rb
|
786
787
|
- examples/v2/teams/GetTeamMemberships.rb
|
787
788
|
- examples/v2/teams/GetTeamPermissionSettings.rb
|
789
|
+
- examples/v2/teams/GetUserMemberships.rb
|
788
790
|
- examples/v2/teams/ListTeams.rb
|
789
791
|
- examples/v2/teams/UpdateTeam.rb
|
790
792
|
- examples/v2/teams/UpdateTeamLink.rb
|
@@ -1760,6 +1762,7 @@ files:
|
|
1760
1762
|
- lib/datadog_api_client/v2/models/ci_app_group_by_total.rb
|
1761
1763
|
- lib/datadog_api_client/v2/models/ci_app_host_info.rb
|
1762
1764
|
- lib/datadog_api_client/v2/models/ci_app_pipeline_event.rb
|
1765
|
+
- lib/datadog_api_client/v2/models/ci_app_pipeline_event_attributes.rb
|
1763
1766
|
- lib/datadog_api_client/v2/models/ci_app_pipeline_event_job.rb
|
1764
1767
|
- lib/datadog_api_client/v2/models/ci_app_pipeline_event_job_level.rb
|
1765
1768
|
- lib/datadog_api_client/v2/models/ci_app_pipeline_event_job_status.rb
|
@@ -1777,6 +1780,7 @@ files:
|
|
1777
1780
|
- lib/datadog_api_client/v2/models/ci_app_pipeline_event_type_name.rb
|
1778
1781
|
- lib/datadog_api_client/v2/models/ci_app_pipeline_events_request.rb
|
1779
1782
|
- lib/datadog_api_client/v2/models/ci_app_pipeline_events_response.rb
|
1783
|
+
- lib/datadog_api_client/v2/models/ci_app_pipeline_level.rb
|
1780
1784
|
- lib/datadog_api_client/v2/models/ci_app_pipelines_aggregate_request.rb
|
1781
1785
|
- lib/datadog_api_client/v2/models/ci_app_pipelines_aggregation_buckets_response.rb
|
1782
1786
|
- lib/datadog_api_client/v2/models/ci_app_pipelines_analytics_aggregate_response.rb
|
@@ -1796,6 +1800,7 @@ files:
|
|
1796
1800
|
- lib/datadog_api_client/v2/models/ci_app_test_event_type_name.rb
|
1797
1801
|
- lib/datadog_api_client/v2/models/ci_app_test_events_request.rb
|
1798
1802
|
- lib/datadog_api_client/v2/models/ci_app_test_events_response.rb
|
1803
|
+
- lib/datadog_api_client/v2/models/ci_app_test_level.rb
|
1799
1804
|
- lib/datadog_api_client/v2/models/ci_app_tests_aggregate_request.rb
|
1800
1805
|
- lib/datadog_api_client/v2/models/ci_app_tests_aggregation_buckets_response.rb
|
1801
1806
|
- lib/datadog_api_client/v2/models/ci_app_tests_analytics_aggregate_response.rb
|
@@ -2300,6 +2305,7 @@ files:
|
|
2300
2305
|
- lib/datadog_api_client/v2/models/on_demand_concurrency_cap.rb
|
2301
2306
|
- lib/datadog_api_client/v2/models/on_demand_concurrency_cap_attributes.rb
|
2302
2307
|
- lib/datadog_api_client/v2/models/on_demand_concurrency_cap_response.rb
|
2308
|
+
- lib/datadog_api_client/v2/models/on_demand_concurrency_cap_type.rb
|
2303
2309
|
- lib/datadog_api_client/v2/models/opsgenie_service_create_attributes.rb
|
2304
2310
|
- lib/datadog_api_client/v2/models/opsgenie_service_create_data.rb
|
2305
2311
|
- lib/datadog_api_client/v2/models/opsgenie_service_create_request.rb
|
@@ -2499,6 +2505,8 @@ files:
|
|
2499
2505
|
- lib/datadog_api_client/v2/models/security_monitoring_signal_list_request.rb
|
2500
2506
|
- lib/datadog_api_client/v2/models/security_monitoring_signal_list_request_filter.rb
|
2501
2507
|
- lib/datadog_api_client/v2/models/security_monitoring_signal_list_request_page.rb
|
2508
|
+
- lib/datadog_api_client/v2/models/security_monitoring_signal_metadata_type.rb
|
2509
|
+
- lib/datadog_api_client/v2/models/security_monitoring_signal_response.rb
|
2502
2510
|
- lib/datadog_api_client/v2/models/security_monitoring_signal_rule_create_payload.rb
|
2503
2511
|
- lib/datadog_api_client/v2/models/security_monitoring_signal_rule_query.rb
|
2504
2512
|
- lib/datadog_api_client/v2/models/security_monitoring_signal_rule_response.rb
|
@@ -2692,7 +2700,6 @@ files:
|
|
2692
2700
|
- lib/datadog_api_client/v2/models/team_create_attributes.rb
|
2693
2701
|
- lib/datadog_api_client/v2/models/team_create_relationships.rb
|
2694
2702
|
- lib/datadog_api_client/v2/models/team_create_request.rb
|
2695
|
-
- lib/datadog_api_client/v2/models/team_data.rb
|
2696
2703
|
- lib/datadog_api_client/v2/models/team_included.rb
|
2697
2704
|
- lib/datadog_api_client/v2/models/team_link.rb
|
2698
2705
|
- lib/datadog_api_client/v2/models/team_link_attributes.rb
|
@@ -2712,6 +2719,7 @@ files:
|
|
2712
2719
|
- lib/datadog_api_client/v2/models/team_permission_setting_value.rb
|
2713
2720
|
- lib/datadog_api_client/v2/models/team_permission_settings_response.rb
|
2714
2721
|
- lib/datadog_api_client/v2/models/team_relationships.rb
|
2722
|
+
- lib/datadog_api_client/v2/models/team_relationships_links.rb
|
2715
2723
|
- lib/datadog_api_client/v2/models/team_response.rb
|
2716
2724
|
- lib/datadog_api_client/v2/models/team_type.rb
|
2717
2725
|
- lib/datadog_api_client/v2/models/team_update.rb
|
@@ -2719,6 +2727,9 @@ files:
|
|
2719
2727
|
- lib/datadog_api_client/v2/models/team_update_relationships.rb
|
2720
2728
|
- lib/datadog_api_client/v2/models/team_update_request.rb
|
2721
2729
|
- lib/datadog_api_client/v2/models/teams_response.rb
|
2730
|
+
- lib/datadog_api_client/v2/models/teams_response_links.rb
|
2731
|
+
- lib/datadog_api_client/v2/models/teams_response_meta.rb
|
2732
|
+
- lib/datadog_api_client/v2/models/teams_response_meta_pagination.rb
|
2722
2733
|
- lib/datadog_api_client/v2/models/timeseries_formula_query_request.rb
|
2723
2734
|
- lib/datadog_api_client/v2/models/timeseries_formula_query_response.rb
|
2724
2735
|
- lib/datadog_api_client/v2/models/timeseries_formula_request.rb
|
@@ -2783,6 +2794,7 @@ files:
|
|
2783
2794
|
- spec/fixtures/synthetics_unknown_nested_enum_in_list.json
|
2784
2795
|
- spec/fixtures/synthetics_unknown_nested_oneof_in_list.json
|
2785
2796
|
- spec/fixtures/synthetics_unknown_top_level_enum.json
|
2797
|
+
- spec/retry_spec.rb
|
2786
2798
|
- spec/spec_helper.rb
|
2787
2799
|
- spec/v1/deserialization_spec.rb
|
2788
2800
|
homepage: https://github.com/DataDog/
|
@@ -2821,5 +2833,6 @@ test_files:
|
|
2821
2833
|
- spec/fixtures/synthetics_unknown_nested_enum_in_list.json
|
2822
2834
|
- spec/fixtures/synthetics_unknown_nested_oneof_in_list.json
|
2823
2835
|
- spec/fixtures/synthetics_unknown_top_level_enum.json
|
2836
|
+
- spec/retry_spec.rb
|
2824
2837
|
- spec/spec_helper.rb
|
2825
2838
|
- spec/v1/deserialization_spec.rb
|