Reference documentation and code samples for the Google Cloud Appoptimize V1beta Client class CreateReportRequest.
Request message for the CreateReport method.
Generated from protobuf message google.cloud.appoptimize.v1beta.CreateReportRequest
Namespace
Google \ Cloud \ AppOptimize \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent Google Cloud project that will own the report. This value does not define the scope of the report data. See |
↳ report_id |
string
Required. The ID to use for this report. This ID must be unique within the parent project and should comply with RFC 1034 restrictions (letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum). |
↳ report |
Report
Required. The report resource to create. |
getParent
Required. The parent Google Cloud project that will own the report.
This value does not define the scope of the report data. See Report.scope
for setting the data scope.
Format: projects/{project}/locations/{location}.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The parent Google Cloud project that will own the report.
This value does not define the scope of the report data. See Report.scope
for setting the data scope.
Format: projects/{project}/locations/{location}.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getReportId
Required. The ID to use for this report. This ID must be unique within the parent project and should comply with RFC 1034 restrictions (letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum).
| Returns | |
|---|---|
| Type | Description |
string |
|
setReportId
Required. The ID to use for this report. This ID must be unique within the parent project and should comply with RFC 1034 restrictions (letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum).
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getReport
Required. The report resource to create.
| Returns | |
|---|---|
| Type | Description |
Report|null |
|
hasReport
clearReport
setReport
Required. The report resource to create.
| Parameter | |
|---|---|
| Name | Description |
var |
Report
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The parent Google Cloud project that will own the report. This value does not define the scope of the report data. See Format: |
report |
Report
Required. The report resource to create. |
reportId |
string
Required. The ID to use for this report. This ID must be unique within the parent project and should comply with RFC 1034 restrictions (letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum). |
| Returns | |
|---|---|
| Type | Description |
CreateReportRequest |
|