Reference documentation and code samples for the Google Cloud Billing V1 Client class Category.
Represents the category hierarchy of a SKU.
Generated from protobuf message google.cloud.billing.v1.Category
Namespace
Google \ Cloud \ Billing \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ service_display_name
string
The display name of the service this SKU belongs to.
↳ resource_family
string
The type of product the SKU refers to. Example: "Compute", "Storage", "Network", "ApplicationServices" etc.
↳ resource_group
string
A group classification for related SKUs. Example: "RAM", "GPU", "Prediction", "Ops", "GoogleEgress" etc.
↳ usage_type
string
Represents how the SKU is consumed. Example: "OnDemand", "Preemptible", "Commit1Mo", "Commit1Yr" etc.
getServiceDisplayName
The display name of the service this SKU belongs to.
string
setServiceDisplayName
The display name of the service this SKU belongs to.
var
string
$this
getResourceFamily
The type of product the SKU refers to.
Example: "Compute", "Storage", "Network", "ApplicationServices" etc.
string
setResourceFamily
The type of product the SKU refers to.
Example: "Compute", "Storage", "Network", "ApplicationServices" etc.
var
string
$this
getResourceGroup
A group classification for related SKUs.
Example: "RAM", "GPU", "Prediction", "Ops", "GoogleEgress" etc.
string
setResourceGroup
A group classification for related SKUs.
Example: "RAM", "GPU", "Prediction", "Ops", "GoogleEgress" etc.
var
string
$this
getUsageType
Represents how the SKU is consumed.
Example: "OnDemand", "Preemptible", "Commit1Mo", "Commit1Yr" etc.
string
setUsageType
Represents how the SKU is consumed.
Example: "OnDemand", "Preemptible", "Commit1Mo", "Commit1Yr" etc.
var
string
$this