Google Cloud Design Center V1 Client - Class DomainRedirectInfo (0.1.0)

Reference documentation and code samples for the Google Cloud Design Center V1 Client class DomainRedirectInfo.

Information on how to redirect to domain.

Generated from protobuf message google.cloud.designcenter.v1.DomainAssessmentReport.DomainRedirectInfo

Namespace

Google \ Cloud \ DesignCenter \ V1 \ DomainAssessmentReport

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ url string

Required. URL to the domain page.

↳ url_text string

Required. Text to display in UI on the redirect URL.

↳ open_in_same_tab bool

Optional. Flag to open the URL in new tab. Default: false.

getUrl

Required. URL to the domain page.

Returns
Type Description
string

setUrl

Required. URL to the domain page.

Parameter
Name Description
var string
Returns
Type Description
$this

getUrlText

Required. Text to display in UI on the redirect URL.

Returns
Type Description
string

setUrlText

Required. Text to display in UI on the redirect URL.

Parameter
Name Description
var string
Returns
Type Description
$this

getOpenInSameTab

Optional. Flag to open the URL in new tab. Default: false.

Returns
Type Description
bool

setOpenInSameTab

Optional. Flag to open the URL in new tab. Default: false.

Parameter
Name Description
var bool
Returns
Type Description
$this