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 \ V1Methods
__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 |
Enum of type Scheme. |
setScheme
Scheme.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Scheme. |
| 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 |
|