1+ <!DOCTYPE html>
2+ < html >
3+ < head >
4+ < meta charset ="utf-8 ">
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6+ < title >
7+ Module: DatadogAPIClient
8+
9+ — datadog-api-client 2.39.0 documentation
10+
11+ </ title >
12+
13+ < link rel ="stylesheet " href ="css/style.css " type ="text/css " />
14+
15+ < link rel ="stylesheet " href ="css/common.css " type ="text/css " />
16+
17+ < script type ="text/javascript ">
18+ pathId = "DatadogAPIClient" ;
19+ relpath = '' ;
20+ </ script >
21+
22+
23+ < script type ="text/javascript " charset ="utf-8 " src ="js/jquery.js "> </ script >
24+
25+ < script type ="text/javascript " charset ="utf-8 " src ="js/app.js "> </ script >
26+
27+
28+ </ head >
29+ < body >
30+ < div class ="nav_wrap ">
31+ < iframe id ="nav " src ="class_list.html?1 "> </ iframe >
32+ < div id ="resizer "> </ div >
33+ </ div >
34+
35+ < div id ="main " tabindex ="-1 ">
36+ < div id ="header ">
37+ < div id ="menu ">
38+
39+ < a href ="_index.html "> Index (D)</ a > »
40+
41+
42+ < span class ="title "> DatadogAPIClient</ span >
43+
44+ </ div >
45+
46+ < div id ="search ">
47+
48+ < a class ="full_list_link " id ="class_list_link "
49+ href ="class_list.html ">
50+
51+ < svg width ="24 " height ="24 ">
52+ < rect x ="0 " y ="4 " width ="24 " height ="4 " rx ="1 " ry ="1 "> </ rect >
53+ < rect x ="0 " y ="12 " width ="24 " height ="4 " rx ="1 " ry ="1 "> </ rect >
54+ < rect x ="0 " y ="20 " width ="24 " height ="4 " rx ="1 " ry ="1 "> </ rect >
55+ </ svg >
56+ </ a >
57+
58+ </ div >
59+ < div class ="clear "> </ div >
60+ </ div >
61+
62+ < div id ="content "> < h1 > Module: DatadogAPIClient
63+
64+
65+
66+ </ h1 >
67+ < div class ="box_info ">
68+
69+
70+
71+
72+
73+
74+
75+
76+
77+
78+
79+ < dl >
80+ < dt > Defined in:</ dt >
81+ < dd > lib/datadog_api_client/version.rb< span class ="defines "> ,< br />
82+ lib/datadog_api_client/models.rb,< br /> lib/datadog_api_client/inflector.rb,< br /> lib/datadog_api_client/api_client.rb,< br /> lib/datadog_api_client/user_agent.rb,< br /> lib/datadog_api_client/configuration.rb</ span >
83+ </ dd >
84+ </ dl >
85+
86+ </ div >
87+
88+ < h2 > Overview</ h2 > < div class ="docstring ">
89+ < div class ="discussion ">
90+ < h1 id ="datadog-api-v2-collection "> Datadog API V2 Collection</ h1 >
91+
92+ < h1 id ="collection-of-all-datadog-public-endpoints "> Collection of all Datadog Public endpoints.</ h1 >
93+
94+ < p > The version of the OpenAPI document: 1.0
95+ 96+ Generated by: < a href ="https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator "> https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator</ a > </ p >
97+
98+ < p > Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
99+ This product includes software developed at Datadog (< a href ="https://www.datadoghq.com/ "> https://www.datadoghq.com/</ a > ).
100+ Copyright 2020-Present Datadog, Inc.</ p >
101+
102+
103+ </ div >
104+ </ div >
105+ < div class ="tags ">
106+
107+
108+ </ div > < h2 > Defined Under Namespace</ h2 >
109+ < p class ="children ">
110+
111+
112+ < strong class ="modules "> Modules:</ strong > < span class ='object_link '> < a href ="DatadogAPIClient/V1.html " title ="DatadogAPIClient::V1 (module) "> V1</ a > </ span > , < span class ='object_link '> < a href ="DatadogAPIClient/V2.html " title ="DatadogAPIClient::V2 (module) "> V2</ a > </ span >
113+
114+
115+
116+ < strong class ="classes "> Classes:</ strong > < span class ='object_link '> < a href ="DatadogAPIClient/APIClient.html " title ="DatadogAPIClient::APIClient (class) "> APIClient</ a > </ span > , < span class ='object_link '> < a href ="DatadogAPIClient/APIError.html " title ="DatadogAPIClient::APIError (class) "> APIError</ a > </ span > , < span class ='object_link '> < a href ="DatadogAPIClient/Configuration.html " title ="DatadogAPIClient::Configuration (class) "> Configuration</ a > </ span > , < span class ='object_link '> < a href ="DatadogAPIClient/DatadogAPIClientInflector.html " title ="DatadogAPIClient::DatadogAPIClientInflector (class) "> DatadogAPIClientInflector</ a > </ span > , < span class ='object_link '> < a href ="DatadogAPIClient/EnumAttributeValidator.html " title ="DatadogAPIClient::EnumAttributeValidator (class) "> EnumAttributeValidator</ a > </ span > , < span class ='object_link '> < a href ="DatadogAPIClient/UnparsedObject.html " title ="DatadogAPIClient::UnparsedObject (class) "> UnparsedObject</ a > </ span >
117+
118+
119+ </ p >
120+
121+
122+ < h2 >
123+ Constant Summary
124+ < small > < a href ="# " class ="constants_summary_toggle "> collapse</ a > </ small >
125+ </ h2 >
126+
127+ < dl class ="constants ">
128+
129+ < dt id ="VERSION-constant " class =""> VERSION =
130+
131+ </ dt >
132+ < dd > < pre class ="code "> < span class ='tstring '> < span class ='tstring_beg '> '</ span > < span class ='tstring_content '> 2.39.0</ span > < span class ='tstring_end '> '</ span > </ span > </ pre > </ dd >
133+
134+ < dt id ="USER_AGENT-constant " class =""> USER_AGENT =
135+
136+ </ dt >
137+ < dd > < pre class ="code "> < span class ='id identifier rubyid_format '> format</ span > < span class ='lparen '> (</ span >
138+ < span class ='tstring '> < span class ='tstring_beg '> '</ span > < span class ='tstring_content '> datadog-api-client-ruby/%<version>s (ruby %<ruver>s; os %<os>s; arch %<arch>s; httparty-version %<httparty_version>s)</ span > < span class ='tstring_end '> '</ span > </ span > < span class ='comma '> ,</ span >
139+ < span class ='label '> version:</ span > < span class ='const '> < span class ='object_link '> < a href ="#VERSION-constant " title ="DatadogAPIClient::VERSION (constant) "> VERSION</ a > </ span > </ span > < span class ='comma '> ,</ span >
140+ < span class ='label '> ruver:</ span > < span class ='const '> RUBY_VERSION</ span > < span class ='comma '> ,</ span >
141+ < span class ='label '> os:</ span > < span class ='const '> RbConfig</ span > < span class ='op '> ::</ span > < span class ='const '> CONFIG</ span > < span class ='lbracket '> [</ span > < span class ='tstring '> < span class ='tstring_beg '> '</ span > < span class ='tstring_content '> host_os</ span > < span class ='tstring_end '> '</ span > </ span > < span class ='rbracket '> ]</ span > < span class ='period '> .</ span > < span class ='id identifier rubyid_downcase '> downcase</ span > < span class ='comma '> ,</ span >
142+ < span class ='label '> arch:</ span > < span class ='const '> RbConfig</ span > < span class ='op '> ::</ span > < span class ='const '> CONFIG</ span > < span class ='lbracket '> [</ span > < span class ='tstring '> < span class ='tstring_beg '> '</ span > < span class ='tstring_content '> host_cpu</ span > < span class ='tstring_end '> '</ span > </ span > < span class ='rbracket '> ]</ span > < span class ='comma '> ,</ span >
143+ < span class ='label '> httparty_version:</ span > < span class ='const '> HTTParty</ span > < span class ='op '> ::</ span > < span class ='const '> VERSION</ span >
144+ < span class ='rparen '> )</ span > </ pre > </ dd >
145+
146+ </ dl >
147+
148+
149+
150+
151+
152+
153+
154+
155+
156+ < h2 >
157+ Class Method Summary
158+ < small > < a href ="# " class ="summary_toggle "> collapse</ a > </ small >
159+ </ h2 >
160+
161+ < ul class ="summary ">
162+
163+ < li class ="public ">
164+ < span class ="summary_signature ">
165+
166+ < a href ="#configure-class_method " title ="configure (class method) "> .< strong > configure</ strong > ⇒ Object </ a >
167+
168+
169+
170+ </ span >
171+
172+
173+
174+
175+
176+
177+
178+
179+
180+ < span class ="summary_desc "> < div class ='inline '> < p > Customize default settings for the SDK using block.</ p >
181+ </ div > </ span >
182+
183+ </ li >
184+
185+
186+ </ ul >
187+
188+
189+
190+
191+ < div id ="class_method_details " class ="method_details_list ">
192+ < h2 > Class Method Details</ h2 >
193+
194+
195+ < div class ="method_details first ">
196+ < h3 class ="signature first " id ="configure-class_method ">
197+
198+ .< strong > configure</ strong > ⇒ < tt > Object</ tt >
199+
200+
201+
202+
203+
204+ </ h3 > < div class ="docstring ">
205+ < div class ="discussion ">
206+ < p > Customize default settings for the SDK using block.
207+ DatadogAPIClient::V2.configure do |config|
208+ config.username = "xxx"
209+ config.password = "xxx"
210+ end
211+ If no block given, return the default Configuration object.</ p >
212+
213+
214+ </ div >
215+ </ div >
216+ < div class ="tags ">
217+
218+
219+ </ div > < table class ="source_code ">
220+ < tr >
221+ < td >
222+ < pre class ="lines ">
223+
224+
225+ 35
226+ 36
227+ 37
228+ 38
229+ 39
230+ 40
231+ 41</ pre >
232+ </ td >
233+ < td >
234+ < pre class ="code "> < span class ="info file "> # File 'lib/datadog_api_client/models.rb', line 35</ span >
235+
236+ < span class ='kw '> def</ span > < span class ='id identifier rubyid_configure '> configure</ span >
237+ < span class ='kw '> if</ span > < span class ='id identifier rubyid_block_given? '> block_given?</ span >
238+ < span class ='kw '> yield</ span > < span class ='lparen '> (</ span > < span class ='const '> < span class ='object_link '> < a href ="DatadogAPIClient/Configuration.html " title ="DatadogAPIClient::Configuration (class) "> Configuration</ a > </ span > </ span > < span class ='period '> .</ span > < span class ='id identifier rubyid_default '> < span class ='object_link '> < a href ="DatadogAPIClient/Configuration.html#default-class_method " title ="DatadogAPIClient::Configuration.default (method) "> default</ a > </ span > </ span > < span class ='rparen '> )</ span >
239+ < span class ='kw '> else</ span >
240+ < span class ='const '> < span class ='object_link '> < a href ="DatadogAPIClient/Configuration.html " title ="DatadogAPIClient::Configuration (class) "> Configuration</ a > </ span > </ span > < span class ='period '> .</ span > < span class ='id identifier rubyid_default '> < span class ='object_link '> < a href ="DatadogAPIClient/Configuration.html#default-class_method " title ="DatadogAPIClient::Configuration.default (method) "> default</ a > </ span > </ span >
241+ < span class ='kw '> end</ span >
242+ < span class ='kw '> end</ span > </ pre >
243+ </ td >
244+ </ tr >
245+ </ table >
246+ </ div >
247+
248+ </ div >
249+
250+ </ div >
251+
252+ < div id ="footer ">
253+ Generated on Tue Jul 15 04:44:55 2025 by
254+ < a href ="https://yardoc.org " title ="Yay! A Ruby Documentation Tool " target ="_parent "> yard</ a >
255+ 0.9.37 (ruby-2.7.8).
256+ </ div >
257+
258+ </ div >
259+ </ body >
260+ </ html >
0 commit comments