Documentation

CustomHttpPattern extends Message
in package

A custom pattern is used for defining custom HTTP verb.

Generated from protobuf message google.api.CustomHttpPattern

Table of Contents

Properties

$kind  : mixed
The name of this custom HTTP verb.
$path  : mixed
The path matched by this custom verb.

Methods

__construct()  : mixed
Constructor.
getKind()  : string
The name of this custom HTTP verb.
getPath()  : string
The path matched by this custom verb.
setKind()  : $this
The name of this custom HTTP verb.
setPath()  : $this
The path matched by this custom verb.

Properties

$kind

The name of this custom HTTP verb.

protected mixed $kind = ''

Generated from protobuf field string kind = 1;

$path

The path matched by this custom verb.

protected mixed $path = ''

Generated from protobuf field string path = 2;

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
$data : array<string|int, mixed> = NULL

{ Optional. Data for populating the Message object.

@type string $kind
      The name of this custom HTTP verb.
@type string $path
      The path matched by this custom verb.

}

getKind()

The name of this custom HTTP verb.

public getKind() : string

Generated from protobuf field string kind = 1;

Return values
string

getPath()

The path matched by this custom verb.

public getPath() : string

Generated from protobuf field string path = 2;

Return values
string

setKind()

The name of this custom HTTP verb.

public setKind(string $var) : $this

Generated from protobuf field string kind = 1;

Parameters
$var : string
Return values
$this

setPath()

The path matched by this custom verb.

public setPath(string $var) : $this

Generated from protobuf field string path = 2;

Parameters
$var : string
Return values
$this

        
On this page

Search results