GDC Hardware Management V1ALPHA API - Class Google::Cloud::GDCHardwareManagement::V1alpha::Comment (v0.1.0)

Reference documentation and code samples for the GDC Hardware Management V1ALPHA API class Google::Cloud::GDCHardwareManagement::V1alpha::Comment.

A comment on an order.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#author

def author() -> ::String
Returns
  • (::String) — Output only. Username of the author of this comment. This is auto-populated from the credentials used during creation of the comment.

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels associated with this comment as key value pairs. For more information about labels, see Create and manage labels.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels associated with this comment as key value pairs. For more information about labels, see Create and manage labels.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels associated with this comment as key value pairs. For more information about labels, see Create and manage labels.

#name

def name() -> ::String
Returns
  • (::String) — Identifier. Name of this comment. Format: projects/{project}/locations/{location}/orders/{order}/comments/{comment}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. Name of this comment. Format: projects/{project}/locations/{location}/orders/{order}/comments/{comment}
Returns
  • (::String) — Identifier. Name of this comment. Format: projects/{project}/locations/{location}/orders/{order}/comments/{comment}

#text

def text() -> ::String
Returns
  • (::String) — Required. Text of this comment. The length of text must be <= 1000 characters.

#text=

def text=(value) -> ::String
Parameter
  • value (::String) — Required. Text of this comment. The length of text must be <= 1000 characters.
Returns
  • (::String) — Required. Text of this comment. The length of text must be <= 1000 characters.