Class protos.google.analytics.data.v1alpha.RunFunnelReportResponse (4.6.0)

Represents a RunFunnelReportResponse.

Package

@google-analytics/data

Constructors

(constructor)(properties)

constructor(properties?: google.analytics.data.v1alpha.IRunFunnelReportResponse);

Constructs a new RunFunnelReportResponse.

Parameter
Name Description
properties IRunFunnelReportResponse

Properties to set

Properties

funnelTable

public funnelTable?: (google.analytics.data.v1alpha.IFunnelSubReport|null);

RunFunnelReportResponse funnelTable.

funnelVisualization

public funnelVisualization?: (google.analytics.data.v1alpha.IFunnelSubReport|null);

RunFunnelReportResponse funnelVisualization.

kind

public kind: string;

RunFunnelReportResponse kind.

propertyQuota

public propertyQuota?: (google.analytics.data.v1alpha.IPropertyQuota|null);

RunFunnelReportResponse propertyQuota.

Methods

create(properties)

public static create(properties?: google.analytics.data.v1alpha.IRunFunnelReportResponse): google.analytics.data.v1alpha.RunFunnelReportResponse;

Creates a new RunFunnelReportResponse instance using the specified properties.

Parameter
Name Description
properties IRunFunnelReportResponse

Properties to set

Returns
Type Description
RunFunnelReportResponse

RunFunnelReportResponse instance

decode(reader, length)

public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.analytics.data.v1alpha.RunFunnelReportResponse;

Decodes a RunFunnelReportResponse 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
RunFunnelReportResponse

RunFunnelReportResponse

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.analytics.data.v1alpha.RunFunnelReportResponse;

Decodes a RunFunnelReportResponse message from the specified reader or buffer, length delimited.

Parameter
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
Type Description
RunFunnelReportResponse

RunFunnelReportResponse

encode(message, writer)

public static encode(message: google.analytics.data.v1alpha.IRunFunnelReportResponse, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified RunFunnelReportResponse message. Does not implicitly messages.

Parameters
Name Description
message IRunFunnelReportResponse

RunFunnelReportResponse 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.analytics.data.v1alpha.IRunFunnelReportResponse, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified RunFunnelReportResponse message, length delimited. Does not implicitly messages.

Parameters
Name Description
message IRunFunnelReportResponse

RunFunnelReportResponse 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.analytics.data.v1alpha.RunFunnelReportResponse;

Creates a RunFunnelReportResponse 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
RunFunnelReportResponse

RunFunnelReportResponse

getTypeUrl(typeUrlPrefix)

public static getTypeUrl(typeUrlPrefix?: string): string;

Gets the default type url for RunFunnelReportResponse

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 RunFunnelReportResponse to JSON.

Returns
Type Description
{ [k: string]: any }

JSON object

toObject(message, options)

public static toObject(message: google.analytics.data.v1alpha.RunFunnelReportResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };

Creates a plain object from a RunFunnelReportResponse message. Also converts values to other types if specified.

Parameters
Name Description
message RunFunnelReportResponse

RunFunnelReportResponse

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 RunFunnelReportResponse message.

Parameter
Name Description
message { [k: string]: any }

Plain object to verify

Returns
Type Description
(string|null)

null if valid, otherwise the reason why it is not