Google Cloud Apigee Connect V1 Client - Class Url (1.2.5)

Reference documentation and code samples for the Google Cloud Apigee Connect V1 Client class Url.

The proto definition of url.

A url represents a URL and the general form represented is: <xref uid="\Google\Cloud\ApigeeConnect\V1\Url::getHost()">scheme://</xref>[path]

Generated from protobuf message google.cloud.apigeeconnect.v1.Url

Namespace

Google \ Cloud \ ApigeeConnect \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ scheme int

Scheme.

↳ host string

Host or Host:Port.

↳ path string

Path starts with /.

getScheme

Scheme.

Returns
Type Description
int

setScheme

Scheme.

Parameter
Name Description
var int
Returns
Type Description
$this

getHost

Host or Host:Port.

Returns
Type Description
string

setHost

Host or Host:Port.

Parameter
Name Description
var string
Returns
Type Description
$this

getPath

Path starts with /.

Returns
Type Description
string

setPath

Path starts with /.

Parameter
Name Description
var string
Returns
Type Description
$this