Google Cloud Appoptimize V1beta Client - Class Scope (0.1.0)

Reference documentation and code samples for the Google Cloud Appoptimize V1beta Client class Scope.

Specifies the report scope.

Generated from protobuf message google.cloud.appoptimize.v1beta.Scope

Namespace

Google \ Cloud \ AppOptimize \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ project string

Required. A Google Cloud Platform project to fetch data from. Format: "projects/{project}".

↳ application string

Required. An App Hub Application to fetch data from. Format: "projects/{project}/locations/{location}/applications/{application}".

getProject

Required. A Google Cloud Platform project to fetch data from.

Format: "projects/{project}".

Returns
Type Description
string

hasProject

setProject

Required. A Google Cloud Platform project to fetch data from.

Format: "projects/{project}".

Parameter
Name Description
var string
Returns
Type Description
$this

getApplication

Required. An App Hub Application to fetch data from.

Format: "projects/{project}/locations/{location}/applications/{application}".

Returns
Type Description
string

hasApplication

setApplication

Required. An App Hub Application to fetch data from.

Format: "projects/{project}/locations/{location}/applications/{application}".

Parameter
Name Description
var string
Returns
Type Description
$this

getScope

Returns
Type Description
string