GDC Hardware Management V1ALPHA API - Class Google::Cloud::GDCHardwareManagement::V1alpha::Comment (v0.2.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.

#author_entity

def author_entity() -> ::Google::Cloud::GDCHardwareManagement::V1alpha::Entity
Returns

#create_time

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

#customer_viewed_time

def customer_viewed_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — Output only. Timestamp of the first time this comment was viewed by the customer. If the comment wasn't viewed then this timestamp will be unset.

#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.