Class ProjectsResource.PlatformsResource.PoliciesResource.ReplacePlatformPolicyRequest
Replaces a platform policy. Returns NOT_FOUND if the policy doesn't exist.
Inheritance
ProjectsResource.PlatformsResource.PoliciesResource.ReplacePlatformPolicyRequest
Inherited Members
Namespace: Google.Apis.BinaryAuthorization.v1
Assembly: Google.Apis.BinaryAuthorization.v1.dll
Syntax
public class ProjectsResource.PlatformsResource.PoliciesResource.ReplacePlatformPolicyRequest : BinaryAuthorizationBaseServiceRequest<PlatformPolicy>, IClientServiceRequest<PlatformPolicy>, IClientServiceRequest
Constructors
ReplacePlatformPolicyRequest(IClientService, PlatformPolicy, string)
Constructs a new ReplacePlatformPolicy request.
Declaration
public ReplacePlatformPolicyRequest(IClientService service, PlatformPolicy body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| PlatformPolicy | body | |
| string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Output only. The relative resource name of the Binary Authorization platform policy, in the form
of projects/*/platforms/*/policies/*.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes ReplacePlatformPolicy parameter list.
Declaration
protected override void InitParameters()