Resource: ReportConfig
Message describing the ReportConfig
object. ReportConfig
is the configuration used to generate inventory reports. For information about how to set various fields, see Create an inventory report configuration
.
JSON representation |
---|
{ "name" : string , "createTime" : string , "updateTime" : string , "frequencyOptions" : { object ( |
name
string
Identifier. Name of resource.
Format: projects/{projectId}/locations/{location}/reportConfigs/{report-config-id}
.
createTime
string (
Timestamp
format)
Output only. The UTC time at which the inventory report configuration was created. This is auto-populated.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z"
, "2014-10-02T15:01:23.045123456Z"
or "2014-10-02T15:01:23+05:30"
.
updateTime
string (
Timestamp
format)
Output only. The UTC time at which the inventory report configuration was updated. This is auto-populated.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z"
, "2014-10-02T15:01:23.045123456Z"
or "2014-10-02T15:01:23+05:30"
.
labels
map (key: string, value: string)
Labels as key value pairs
An object containing a list of "key": value
pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }
.
displayName
string
User provided display name that can be empty and limited to 256 characters that is editable..
report_format
. Format in which the inventory report is generated. report_format
can be only one of the following:report_kind
. Configuration options for inventory report contents. report_kind
can be only one of the following:FrequencyOptions
FrequencyOptions
resource
Frequency configuration for inventory report generation.
JSON representation |
---|
{ "frequency" : enum ( |
Fields | |
---|---|
frequency
|
Frequency of inventory report generation. |
startDate
|
The UTC date to start generating inventory reports. For example, |
endDate
|
The UTC date to stop generating inventory reports. For example, |
Frequency
The frequency at which the inventory reports are generated. Values are FREQUENCY_UNSPECIFIED
, DAILY
or WEEKLY
.
Enums | |
---|---|
FREQUENCY_UNSPECIFIED
|
Unspecified. |
DAILY
|
Inventory report is generated daily. |
WEEKLY
|
Inventory report is generated weekly. |
Date
Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following:
- A full date, with non-zero year, month, and day values.
- A month and day, with a zero year (for example, an anniversary).
- A year on its own, with a zero month and a zero day.
- A year and month, with a zero day (for example, a credit card expiration date).
Related types:
-
google.type.TimeOfDay
-
google.type.DateTime
-
google.protobuf.Timestamp
JSON representation |
---|
{ "year" : integer , "month" : integer , "day" : integer } |
Fields | |
---|---|
year
|
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. |
month
|
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. |
day
|
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. |
CSVOptions
Options to configure inventory reports in CSV format.
JSON representation |
---|
{ "recordSeparator" : string , "delimiter" : string , "headerRequired" : boolean } |
Fields | |
---|---|
recordSeparator
|
Record separator characters in CSV. |
delimiter
|
Delimiter characters in CSV. |
headerRequired
|
If set, includes a header row in the CSV report. |
ParquetOptions
This type has no fields.
Options to configure inventory reports in Parquet format.
ObjectMetadataReportOptions
Options for including metadata in an inventory report.
JSON representation |
---|
{ "metadataFields" : [ string ] , // Union field |
filter
. Filters buckets to generate inventory reports for Cloud Storage. filter
can be only one of the following:storageFilters
object (
CloudStorageFilters
)
Filters buckets to generate inventory reports for Cloud Storage.
CloudStorageFilters
Filters buckets to generate inventory reports for Cloud Storage.
JSON representation |
---|
{ "bucket" : string } |
Fields | |
---|---|
bucket
|
Optional. Bucket for which the inventory report is generated. |
CloudStorageDestinationOptions
Options to store inventory reports in Cloud Storage.
JSON representation |
---|
{ "bucket" : string , "destinationPath" : string } |
Fields | |
---|---|
bucket
|
Optional. The destination bucket for the inventory reports. |
destinationPath
|
The destination path within the bucket where the inventory reports are stored. |
Methods |
|
---|---|
|
Creates a new inventory report configuration in a given project for a given location. |
|
Deletes an existing inventory report configuration in a given project for a given location. |
|
Gets the inventory report configuration in a given project for a given location. |
|
Lists the inventory report configurations in a given project for a given location. |
|
Updates an existing inventory report configuration in a given project for a given location. |