Class ApplicationsResource.DataSafetyRequest
Writes the Safety Labels declaration of an app.
Inheritance
ApplicationsResource.DataSafetyRequest
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class ApplicationsResource.DataSafetyRequest : AndroidPublisherBaseServiceRequest<SafetyLabelsUpdateResponse>, IClientServiceRequest<SafetyLabelsUpdateResponse>, IClientServiceRequest
Constructors
DataSafetyRequest(IClientService, SafetyLabelsUpdateRequest, string)
Constructs a new DataSafety request.
Declaration
public DataSafetyRequest(IClientService service, SafetyLabelsUpdateRequest body, string packageName)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
SafetyLabelsUpdateRequest | body | |
string | packageName |
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
PackageName
Required. Package name of the app.
Declaration
[RequestParameter("packageName", RequestParameterType.Path)]
public virtual string PackageName { 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 DataSafety parameter list.
Declaration
protected override void InitParameters()