Class FirstAndThirdPartyAudiencesResource.PatchRequest
Updates an existing FirstAndThirdPartyAudience. Only supported for the following audience_type: *
CUSTOMER_MATCH_CONTACT_INFO
* CUSTOMER_MATCH_DEVICE_ID
Inheritance
System.Object
FirstAndThirdPartyAudiencesResource.PatchRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.DisplayVideo.v1
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class PatchRequest : DisplayVideoBaseServiceRequest<FirstAndThirdPartyAudience>, IClientServiceRequest<FirstAndThirdPartyAudience>, IClientServiceRequest
Constructors
PatchRequest(IClientService, FirstAndThirdPartyAudience, Int64)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, FirstAndThirdPartyAudience body, long firstAndThirdPartyAudienceId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
FirstAndThirdPartyAudience | body | |
System.Int64 | firstAndThirdPartyAudienceId |
Properties
AdvertiserId
Required. The ID of the owner advertiser of the updated FirstAndThirdPartyAudience.
Declaration
[RequestParameter("advertiserId", RequestParameterType.Query)]
public virtual long? AdvertiserId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
FirstAndThirdPartyAudienceId
Output only. The unique ID of the first and third party audience. Assigned by the system.
Declaration
[RequestParameter("firstAndThirdPartyAudienceId", RequestParameterType.Path)]
public virtual long FirstAndThirdPartyAudienceId { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.FirstAndThirdPartyAudience>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.FirstAndThirdPartyAudience>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.FirstAndThirdPartyAudience>.RestPath
UpdateMask
Required. The mask to control which fields to update. Updates are only supported for the following
fields: * displayName
* description
* membershipDurationDays
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.FirstAndThirdPartyAudience>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.DisplayVideo.v1.DisplayVideoBaseServiceRequest<Google.Apis.DisplayVideo.v1.Data.FirstAndThirdPartyAudience>.InitParameters()