Google Cloud License Manager V1 Client - Class Product (0.2.0)

Reference documentation and code samples for the Google Cloud License Manager V1 Client class Product.

Products for Google SPLA.

Generated from protobuf message google.cloud.licensemanager.v1.Product

Namespace

Google \ Cloud \ LicenseManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. Full name of the product resource. ex "projects/1/locations/us-central1/products/office-2021"

↳ version string

Required. Version of the product.

↳ product_company string

Required. Company that released the product.

↳ state int

Output only. State of the product.

↳ sku string

Required. SKU for mapping to the Billing/Subscription resource.

↳ description string

Required. Human-readable, detailed description of the Product

↳ display_name string

Required. Human-readable name of the Product

getName

Identifier. Full name of the product resource.

ex "projects/1/locations/us-central1/products/office-2021"

Returns
Type Description
string

setName

Identifier. Full name of the product resource.

ex "projects/1/locations/us-central1/products/office-2021"

Parameter
Name Description
var string
Returns
Type Description
$this

getVersion

Required. Version of the product.

Returns
Type Description
string

setVersion

Required. Version of the product.

Parameter
Name Description
var string
Returns
Type Description
$this

getProductCompany

Required. Company that released the product.

Returns
Type Description
string

setProductCompany

Required. Company that released the product.

Parameter
Name Description
var string
Returns
Type Description
$this

getState

Output only. State of the product.

Returns
Type Description
int Enum of type State.

setState

Output only. State of the product.

Parameter
Name Description
var int

Enum of type State.

Returns
Type Description
$this

getSku

Required. SKU for mapping to the Billing/Subscription resource.

Returns
Type Description
string

setSku

Required. SKU for mapping to the Billing/Subscription resource.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Required. Human-readable, detailed description of the Product

Returns
Type Description
string

setDescription

Required. Human-readable, detailed description of the Product

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Required. Human-readable name of the Product

Returns
Type Description
string

setDisplayName

Required. Human-readable name of the Product

Parameter
Name Description
var string
Returns
Type Description
$this