Google Cloud Database Center V1beta Client - Class Dimension (0.3.1)

Reference documentation and code samples for the Google Cloud Database Center V1beta Client class Dimension.

Dimension used to aggregate the fleet.

Generated from protobuf message google.cloud.databasecenter.v1beta.Dimension

Namespace

Google \ Cloud \ DatabaseCenter \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ container string

Specifies where the resource is created. For GCP, it is the full name of the project.

↳ product_type int

Type to identify a product

↳ product_engine int

Engine refers to underlying database binary running in an instance.

↳ product_version string

Version of the underlying database engine

↳ location string

The location of the resources. It supports returning only regional locations in GCP.

↳ resource_type string

The type of resource defined according to the pattern: {Service Name}/{Type}. Ex: sqladmin.googleapis.com/Instance alloydb.googleapis.com/Cluster alloydb.googleapis.com/Instance spanner.googleapis.com/Instance

↳ sub_resource_type int

Subtype of the resource specified at creation time.

↳ resource_category int

The category of the resource.

↳ management_type int

The management type of the resource.

↳ edition int

The edition of the resource.

↳ tag_key string

Tag key of the resource.

↳ tag_value string

Tag value of the resource.

↳ tag_source string

Tag source of the resource.

↳ tag_inherited bool

Tag inheritance value of the resource.

↳ label_key string

Label key of the resource.

↳ label_value string

Label value of the resource.

↳ label_source string

Label source of the resource.

↳ has_maintenance_schedule bool

Whether the resource has a maintenance schedule.

↳ has_deny_maintenance_schedules bool

Whether the resource has deny maintenance schedules.

getContainer

Specifies where the resource is created. For GCP, it is the full name of the project.

Returns
Type Description
string

hasContainer

setContainer

Specifies where the resource is created. For GCP, it is the full name of the project.

Parameter
Name Description
var string
Returns
Type Description
$this

getProductType

Type to identify a product

Returns
Type Description
int Enum of type ProductType.

hasProductType

setProductType

Type to identify a product

Parameter
Name Description
var int

Enum of type ProductType.

Returns
Type Description
$this

getProductEngine

Engine refers to underlying database binary running in an instance.

Returns
Type Description
int Enum of type Engine.

hasProductEngine

setProductEngine

Engine refers to underlying database binary running in an instance.

Parameter
Name Description
var int

Enum of type Engine.

Returns
Type Description
$this

getProductVersion

Version of the underlying database engine

Returns
Type Description
string

hasProductVersion

setProductVersion

Version of the underlying database engine

Parameter
Name Description
var string
Returns
Type Description
$this

getLocation

The location of the resources. It supports returning only regional locations in GCP.

Returns
Type Description
string

hasLocation

setLocation

The location of the resources. It supports returning only regional locations in GCP.

Parameter
Name Description
var string
Returns
Type Description
$this

getResourceType

The type of resource defined according to the pattern: {Service Name}/{Type}. Ex: sqladmin.googleapis.com/Instance alloydb.googleapis.com/Cluster alloydb.googleapis.com/Instance spanner.googleapis.com/Instance

Returns
Type Description
string

hasResourceType

setResourceType

The type of resource defined according to the pattern: {Service Name}/{Type}. Ex: sqladmin.googleapis.com/Instance alloydb.googleapis.com/Cluster alloydb.googleapis.com/Instance spanner.googleapis.com/Instance

Parameter
Name Description
var string
Returns
Type Description
$this

getSubResourceType

Subtype of the resource specified at creation time.

Returns
Type Description
int Enum of type SubResourceType.

hasSubResourceType

setSubResourceType

Subtype of the resource specified at creation time.

Parameter
Name Description
var int

Enum of type SubResourceType.

Returns
Type Description
$this

getResourceCategory

The category of the resource.

Returns
Type Description
int Enum of type ResourceCategory.

hasResourceCategory

setResourceCategory

The category of the resource.

Parameter
Name Description
var int

Enum of type ResourceCategory.

Returns
Type Description
$this

getManagementType

The management type of the resource.

Returns
Type Description
int Enum of type ManagementType.

hasManagementType

setManagementType

The management type of the resource.

Parameter
Name Description
var int

Enum of type ManagementType.

Returns
Type Description
$this

getEdition

The edition of the resource.

Returns
Type Description
int Enum of type Edition.

hasEdition

setEdition

The edition of the resource.

Parameter
Name Description
var int

Enum of type Edition.

Returns
Type Description
$this

getTagKey

Tag key of the resource.

Returns
Type Description
string

hasTagKey

setTagKey

Tag key of the resource.

Parameter
Name Description
var string
Returns
Type Description
$this

getTagValue

Tag value of the resource.

Returns
Type Description
string

hasTagValue

setTagValue

Tag value of the resource.

Parameter
Name Description
var string
Returns
Type Description
$this

getTagSource

Tag source of the resource.

Returns
Type Description
string

hasTagSource

setTagSource

Tag source of the resource.

Parameter
Name Description
var string
Returns
Type Description
$this

getTagInherited

Tag inheritance value of the resource.

Returns
Type Description
bool

hasTagInherited

setTagInherited

Tag inheritance value of the resource.

Parameter
Name Description
var bool
Returns
Type Description
$this

getLabelKey

Label key of the resource.

Returns
Type Description
string

hasLabelKey

setLabelKey

Label key of the resource.

Parameter
Name Description
var string
Returns
Type Description
$this

getLabelValue

Label value of the resource.

Returns
Type Description
string

hasLabelValue

setLabelValue

Label value of the resource.

Parameter
Name Description
var string
Returns
Type Description
$this

getLabelSource

Label source of the resource.

Returns
Type Description
string

hasLabelSource

setLabelSource

Label source of the resource.

Parameter
Name Description
var string
Returns
Type Description
$this

getHasMaintenanceSchedule

Whether the resource has a maintenance schedule.

Returns
Type Description
bool

hasHasMaintenanceSchedule

setHasMaintenanceSchedule

Whether the resource has a maintenance schedule.

Parameter
Name Description
var bool
Returns
Type Description
$this

getHasDenyMaintenanceSchedules

Whether the resource has deny maintenance schedules.

Returns
Type Description
bool

hasHasDenyMaintenanceSchedules

setHasDenyMaintenanceSchedules

Whether the resource has deny maintenance schedules.

Parameter
Name Description
var bool
Returns
Type Description
$this

getDimension

Returns
Type Description
string