Represents a RequestStatusPerDestination.
Package
@google-ads/datamanagerConstructors
(constructor)(properties)
constructor(properties?: google.ads.datamanager.v1.IRequestStatusPerDestination);Constructs a new RequestStatusPerDestination.
| Parameter | |
|---|---|
| Name | Description |
properties |
IRequestStatusPerDestination
Properties to set |
Properties
audienceMembersIngestionStatus
public audienceMembersIngestionStatus?: (google.ads.datamanager.v1.RequestStatusPerDestination.IIngestAudienceMembersStatus|null);RequestStatusPerDestination audienceMembersIngestionStatus.
audienceMembersRemovalStatus
public audienceMembersRemovalStatus?: (google.ads.datamanager.v1.RequestStatusPerDestination.IRemoveAudienceMembersStatus|null);RequestStatusPerDestination audienceMembersRemovalStatus.
destination
public destination?: (google.ads.datamanager.v1.IDestination|null);RequestStatusPerDestination destination.
errorInfo
public errorInfo?: (google.ads.datamanager.v1.IErrorInfo|null);RequestStatusPerDestination errorInfo.
eventsIngestionStatus
public eventsIngestionStatus?: (google.ads.datamanager.v1.RequestStatusPerDestination.IIngestEventsStatus|null);RequestStatusPerDestination eventsIngestionStatus.
requestStatus
public requestStatus: (google.ads.datamanager.v1.RequestStatusPerDestination.RequestStatus|keyof typeof google.ads.datamanager.v1.RequestStatusPerDestination.RequestStatus);RequestStatusPerDestination requestStatus.
status
public status?: ("audienceMembersIngestionStatus"|"eventsIngestionStatus"|"audienceMembersRemovalStatus");RequestStatusPerDestination status.
warningInfo
public warningInfo?: (google.ads.datamanager.v1.IWarningInfo|null);RequestStatusPerDestination warningInfo.
Methods
create(properties)
public static create(properties?: google.ads.datamanager.v1.IRequestStatusPerDestination): google.ads.datamanager.v1.RequestStatusPerDestination;Creates a new RequestStatusPerDestination instance using the specified properties.
| Parameter | |
|---|---|
| Name | Description |
properties |
IRequestStatusPerDestination
Properties to set |
| Returns | |
|---|---|
| Type | Description |
RequestStatusPerDestination |
RequestStatusPerDestination instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.ads.datamanager.v1.RequestStatusPerDestination;Decodes a RequestStatusPerDestination message from the specified reader or buffer.
| Parameters | |
|---|---|
| Name | Description |
reader |
(Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
| Returns | |
|---|---|
| Type | Description |
RequestStatusPerDestination |
RequestStatusPerDestination |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.ads.datamanager.v1.RequestStatusPerDestination;Decodes a RequestStatusPerDestination message from the specified reader or buffer, length delimited.
| Parameter | |
|---|---|
| Name | Description |
reader |
(Reader|Uint8Array)
Reader or buffer to decode from |
| Returns | |
|---|---|
| Type | Description |
RequestStatusPerDestination |
RequestStatusPerDestination |
encode(message, writer)
public static encode(message: google.ads.datamanager.v1.IRequestStatusPerDestination, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified RequestStatusPerDestination message. Does not implicitly messages.
| Parameters | |
|---|---|
| Name | Description |
message |
IRequestStatusPerDestination
RequestStatusPerDestination message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
| Returns | |
|---|---|
| Type | Description |
$protobuf.Writer |
Writer |
encodeDelimited(message, writer)
public static encodeDelimited(message: google.ads.datamanager.v1.IRequestStatusPerDestination, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified RequestStatusPerDestination message, length delimited. Does not implicitly messages.
| Parameters | |
|---|---|
| Name | Description |
message |
IRequestStatusPerDestination
RequestStatusPerDestination message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
| Returns | |
|---|---|
| Type | Description |
$protobuf.Writer |
Writer |
fromObject(object)
public static fromObject(object: { [k: string]: any }): google.ads.datamanager.v1.RequestStatusPerDestination;Creates a RequestStatusPerDestination message from a plain object. Also converts values to their respective internal types.
| Parameter | |
|---|---|
| Name | Description |
object |
{ [k: string]: any }
Plain object |
| Returns | |
|---|---|
| Type | Description |
RequestStatusPerDestination |
RequestStatusPerDestination |
getTypeUrl(typeUrlPrefix)
public static getTypeUrl(typeUrlPrefix?: string): string;Gets the default type url for RequestStatusPerDestination
| Parameter | |
|---|---|
| Name | Description |
typeUrlPrefix |
string
your custom typeUrlPrefix(default "type.googleapis.com") |
| Returns | |
|---|---|
| Type | Description |
string |
The default type url |
toJSON()
public toJSON(): { [k: string]: any };Converts this RequestStatusPerDestination to JSON.
| Returns | |
|---|---|
| Type | Description |
{ [k: string]: any } |
JSON object |
toObject(message, options)
public static toObject(message: google.ads.datamanager.v1.RequestStatusPerDestination, options?: $protobuf.IConversionOptions): { [k: string]: any };Creates a plain object from a RequestStatusPerDestination message. Also converts values to other types if specified.
| Parameters | |
|---|---|
| Name | Description |
message |
RequestStatusPerDestination
RequestStatusPerDestination |
options |
$protobuf.IConversionOptions
Conversion options |
| Returns | |
|---|---|
| Type | Description |
{ [k: string]: any } |
Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);Verifies a RequestStatusPerDestination message.
| Parameter | |
|---|---|
| Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
| Returns | |
|---|---|
| Type | Description |
(string|null) |
|