📄 Source: GoogleCloudChannelV1Report.php
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Cloudchannel;
class GoogleCloudChannelV1Report extends \Google\Collection
{
protected $collection_key = 'columns';
protected $columnsType = GoogleCloudChannelV1Column::class;
protected $columnsDataType = 'array';
/**
* A description of other aspects of the report, such as the products it
* supports.
*
* @var string
*/
public $description;
/**
* A human-readable name for this report.
*
* @var string
*/
public $displayName;
/**
* Required. The report's resource name. Specifies the account and report used
* to generate report data. The report_id identifier is a UID (for example,
* `613bf59q`). Name uses the format:
* accounts/{account_id}/reports/{report_id}
*
* @var string
*/
public $name;
/**
* The list of columns included in the report. This defines the schema of the
* report results.
*
* @param GoogleCloudChannelV1Column[] $columns
*/
public function setColumns($columns)
{
$this->columns = $columns;
}
/**
* @return GoogleCloudChannelV1Column[]
*/
public function getColumns()
{
return $this->columns;
}
/**
* A description of other aspects of the report, such as the products it
* supports.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* A human-readable name for this report.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Required. The report's resource name. Specifies the account and report used
* to generate report data. The report_id identifier is a UID (for example,
* `613bf59q`). Name uses the format:
* accounts/{account_id}/reports/{report_id}
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudChannelV1Report::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1Report');
← Back