Billing V1 API - Class Google::Cloud::Billing::V1::Category (v1.1.0)

Reference documentation and code samples for the Billing V1 API class Google::Cloud::Billing::V1::Category.

Represents the category hierarchy of a SKU.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#resource_family

def resource_family() -> ::String
Returns
  • (::String) — The type of product the SKU refers to. Example: "Compute", "Storage", "Network", "ApplicationServices" etc.

#resource_family=

def resource_family=(value) -> ::String
Parameter
  • value (::String) — The type of product the SKU refers to. Example: "Compute", "Storage", "Network", "ApplicationServices" etc.
Returns
  • (::String) — The type of product the SKU refers to. Example: "Compute", "Storage", "Network", "ApplicationServices" etc.

#resource_group

def resource_group() -> ::String
Returns
  • (::String) — A group classification for related SKUs. Example: "RAM", "GPU", "Prediction", "Ops", "GoogleEgress" etc.

#resource_group=

def resource_group=(value) -> ::String
Parameter
  • value (::String) — A group classification for related SKUs. Example: "RAM", "GPU", "Prediction", "Ops", "GoogleEgress" etc.
Returns
  • (::String) — A group classification for related SKUs. Example: "RAM", "GPU", "Prediction", "Ops", "GoogleEgress" etc.

#service_display_name

def service_display_name() -> ::String
Returns
  • (::String) — The display name of the service this SKU belongs to.

#service_display_name=

def service_display_name=(value) -> ::String
Parameter
  • value (::String) — The display name of the service this SKU belongs to.
Returns
  • (::String) — The display name of the service this SKU belongs to.

#usage_type

def usage_type() -> ::String
Returns
  • (::String) — Represents how the SKU is consumed. Example: "OnDemand", "Preemptible", "Commit1Mo", "Commit1Yr" etc.

#usage_type=

def usage_type=(value) -> ::String
Parameter
  • value (::String) — Represents how the SKU is consumed. Example: "OnDemand", "Preemptible", "Commit1Mo", "Commit1Yr" etc.
Returns
  • (::String) — Represents how the SKU is consumed. Example: "OnDemand", "Preemptible", "Commit1Mo", "Commit1Yr" etc.