Skip to content

Commit

Permalink
Regenerate client from commit 733cf3ea of spec repo (#2858)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> 0d0ac7f
  • Loading branch information
fwang356 committed Jan 2, 2025
1 parent 59d8482 commit 6899cd4
Show file tree
Hide file tree
Showing 5 changed files with 3,093 additions and 3,003 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63374,7 +63374,7 @@ <h2 class="toggleButton" title="Click to hide Index section">Index ▾</h2>
<dd>&nbsp; &nbsp; <a href="#RestrictionPoliciesApi.GetRestrictionPolicy">func (a *RestrictionPoliciesApi) GetRestrictionPolicy(ctx _context.Context, resourceId string) (RestrictionPolicyResponse, *_nethttp.Response, error)</a></dd>


<dd>&nbsp; &nbsp; <a href="#RestrictionPoliciesApi.UpdateRestrictionPolicy">func (a *RestrictionPoliciesApi) UpdateRestrictionPolicy(ctx _context.Context, resourceId string, body RestrictionPolicyUpdateRequest) (RestrictionPolicyResponse, *_nethttp.Response, error)</a></dd>
<dd>&nbsp; &nbsp; <a href="#RestrictionPoliciesApi.UpdateRestrictionPolicy">func (a *RestrictionPoliciesApi) UpdateRestrictionPolicy(ctx _context.Context, resourceId string, body RestrictionPolicyUpdateRequest, o ...UpdateRestrictionPolicyOptionalParameters) (RestrictionPolicyResponse, *_nethttp.Response, error)</a></dd>



Expand Down Expand Up @@ -83989,6 +83989,17 @@ <h2 class="toggleButton" title="Click to hide Index section">Index ▾</h2>



<dd><a href="#UpdateRestrictionPolicyOptionalParameters">type UpdateRestrictionPolicyOptionalParameters</a></dd>


<dd>&nbsp; &nbsp; <a href="#NewUpdateRestrictionPolicyOptionalParameters">func NewUpdateRestrictionPolicyOptionalParameters() *UpdateRestrictionPolicyOptionalParameters</a></dd>



<dd>&nbsp; &nbsp; <a href="#UpdateRestrictionPolicyOptionalParameters.WithAllowSelfLockout">func (r *UpdateRestrictionPolicyOptionalParameters) WithAllowSelfLockout(allowSelfLockout string) *UpdateRestrictionPolicyOptionalParameters</a></dd>



<dd><a href="#UpdateRuleRequest">type UpdateRuleRequest</a></dd>


Expand Down Expand Up @@ -386732,7 +386743,7 @@ <h2 id="RestrictionPoliciesApi">type <a href="https://github.com/DataDog/datadog



<h3 id="NewRestrictionPoliciesApi">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_restriction_policies.go#L252">NewRestrictionPoliciesApi</a>
<h3 id="NewRestrictionPoliciesApi">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_restriction_policies.go#L280">NewRestrictionPoliciesApi</a>
<a class="permalink" href="#NewRestrictionPoliciesApi">&#xb6;</a>


Expand Down Expand Up @@ -386774,12 +386785,12 @@ <h3 id="RestrictionPoliciesApi.GetRestrictionPolicy">func (*RestrictionPoliciesA



<h3 id="RestrictionPoliciesApi.UpdateRestrictionPolicy">func (*RestrictionPoliciesApi) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_restriction_policies.go#L179">UpdateRestrictionPolicy</a>
<h3 id="RestrictionPoliciesApi.UpdateRestrictionPolicy">func (*RestrictionPoliciesApi) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_restriction_policies.go#L196">UpdateRestrictionPolicy</a>
<a class="permalink" href="#RestrictionPoliciesApi.UpdateRestrictionPolicy">&#xb6;</a>


</h3>
<pre>func (a *<a href="#RestrictionPoliciesApi">RestrictionPoliciesApi</a>) UpdateRestrictionPolicy(ctx <a href="https://pkg.go.dev/context/">_context</a>.<a href="https://pkg.go.dev/context/#Context">Context</a>, resourceId <a href="https://pkg.go.dev/builtin/#string">string</a>, body <a href="#RestrictionPolicyUpdateRequest">RestrictionPolicyUpdateRequest</a>) (<a href="#RestrictionPolicyResponse">RestrictionPolicyResponse</a>, *<a href="https://pkg.go.dev/net/http/">_nethttp</a>.<a href="https://pkg.go.dev/net/http/#Response">Response</a>, <a href="https://pkg.go.dev/builtin/#error">error</a>)</pre>
<pre>func (a *<a href="#RestrictionPoliciesApi">RestrictionPoliciesApi</a>) UpdateRestrictionPolicy(ctx <a href="https://pkg.go.dev/context/">_context</a>.<a href="https://pkg.go.dev/context/#Context">Context</a>, resourceId <a href="https://pkg.go.dev/builtin/#string">string</a>, body <a href="#RestrictionPolicyUpdateRequest">RestrictionPolicyUpdateRequest</a>, o ...<a href="#UpdateRestrictionPolicyOptionalParameters">UpdateRestrictionPolicyOptionalParameters</a>) (<a href="#RestrictionPolicyResponse">RestrictionPolicyResponse</a>, *<a href="https://pkg.go.dev/net/http/">_nethttp</a>.<a href="https://pkg.go.dev/net/http/#Response">Response</a>, <a href="https://pkg.go.dev/builtin/#error">error</a>)</pre>
<p>UpdateRestrictionPolicy Update a restriction policy.
Updates the restriction policy associated with a resource.
<p>#### Supported resources
Expand Down Expand Up @@ -483840,6 +483851,57 @@ <h3 id="UpdateOpenAPIResponseData.UnmarshalJSON">func (*UpdateOpenAPIResponseDat



<h2 id="UpdateRestrictionPolicyOptionalParameters">type <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_restriction_policies.go#L151">UpdateRestrictionPolicyOptionalParameters</a>
<a class="permalink" href="#UpdateRestrictionPolicyOptionalParameters">&#xb6;</a>


</h2>
<p>UpdateRestrictionPolicyOptionalParameters holds optional parameters for UpdateRestrictionPolicy.

<pre>type UpdateRestrictionPolicyOptionalParameters struct {
<span id="UpdateRestrictionPolicyOptionalParameters.AllowSelfLockout"></span> AllowSelfLockout *<a href="https://pkg.go.dev/builtin/#string">string</a>
}
</pre>











<h3 id="NewUpdateRestrictionPolicyOptionalParameters">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_restriction_policies.go#L156">NewUpdateRestrictionPolicyOptionalParameters</a>
<a class="permalink" href="#NewUpdateRestrictionPolicyOptionalParameters">&#xb6;</a>


</h3>
<pre>func NewUpdateRestrictionPolicyOptionalParameters() *<a href="#UpdateRestrictionPolicyOptionalParameters">UpdateRestrictionPolicyOptionalParameters</a></pre>
<p>NewUpdateRestrictionPolicyOptionalParameters creates an empty struct for parameters.







<h3 id="UpdateRestrictionPolicyOptionalParameters.WithAllowSelfLockout">func (*UpdateRestrictionPolicyOptionalParameters) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_restriction_policies.go#L162">WithAllowSelfLockout</a>
<a class="permalink" href="#UpdateRestrictionPolicyOptionalParameters.WithAllowSelfLockout">&#xb6;</a>


</h3>
<pre>func (r *<a href="#UpdateRestrictionPolicyOptionalParameters">UpdateRestrictionPolicyOptionalParameters</a>) WithAllowSelfLockout(allowSelfLockout <a href="https://pkg.go.dev/builtin/#string">string</a>) *<a href="#UpdateRestrictionPolicyOptionalParameters">UpdateRestrictionPolicyOptionalParameters</a></pre>
<p>WithAllowSelfLockout sets the corresponding parameter name and returns the struct.








<h2 id="UpdateRuleRequest">type <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_update_rule_request.go#L12">UpdateRuleRequest</a>
<a class="permalink" href="#UpdateRuleRequest">&#xb6;</a>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h2>
<td></td>
<td align="right">14927</td>
<td></td>
<td align="left">2025-01-02 17:27:55.499944959 +0000 UTC</td>
<td align="left">2025-01-02 21:46:24.59482285 +0000 UTC</td>
</tr>

<tr>
Expand All @@ -88,7 +88,7 @@ <h2>
<td></td>
<td align="right">19451</td>
<td></td>
<td align="left">2025-01-02 17:27:55.499944959 +0000 UTC</td>
<td align="left">2025-01-02 21:46:24.59482285 +0000 UTC</td>
</tr>

<tr>
Expand All @@ -97,7 +97,7 @@ <h2>
<td></td>
<td align="right">622</td>
<td></td>
<td align="left">2025-01-02 17:27:55.499944959 +0000 UTC</td>
<td align="left">2025-01-02 21:46:24.59482285 +0000 UTC</td>
</tr>

<tr>
Expand All @@ -106,7 +106,7 @@ <h2>
<td></td>
<td align="right">633</td>
<td></td>
<td align="left">2025-01-02 17:27:55.499944959 +0000 UTC</td>
<td align="left">2025-01-02 21:46:24.59482285 +0000 UTC</td>
</tr>

<tr>
Expand All @@ -115,7 +115,7 @@ <h2>
<td></td>
<td align="right">405</td>
<td></td>
<td align="left">2025-01-02 17:27:55.499944959 +0000 UTC</td>
<td align="left">2025-01-02 21:46:24.59482285 +0000 UTC</td>
</tr>

<tr>
Expand All @@ -124,7 +124,7 @@ <h2>
<td></td>
<td align="right">12924</td>
<td></td>
<td align="left">2025-01-02 17:27:55.499944959 +0000 UTC</td>
<td align="left">2025-01-02 21:46:24.59482285 +0000 UTC</td>
</tr>

<tr>
Expand All @@ -133,7 +133,7 @@ <h2>
<td></td>
<td align="right">589</td>
<td></td>
<td align="left">2025-01-02 17:27:55.499944959 +0000 UTC</td>
<td align="left">2025-01-02 21:46:24.59482285 +0000 UTC</td>
</tr>


Expand Down
Loading

0 comments on commit 6899cd4

Please sign in to comment.