Class: Google::Cloud::GDCHardwareManagement::V1alpha::Comment

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/gdchardwaremanagement/v1alpha/resources.rb

Overview

A comment on an order.

Defined Under Namespace

Classes: LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#author::String (readonly)

Returns Output only. Username of the author of this comment. This is auto-populated from the credentials used during creation of the comment.

Returns:

  • (::String)

    Output only. Username of the author of this comment. This is auto-populated from the credentials used during creation of the comment.



567
568
569
570
571
572
573
574
575
576
577
578
579
# File 'proto_docs/google/cloud/gdchardwaremanagement/v1alpha/resources.rb', line 567

class Comment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#author_entity::Google::Cloud::GDCHardwareManagement::V1alpha::Entity (readonly)

Returns Output only. The entity the author belongs to.

Returns:



567
568
569
570
571
572
573
574
575
576
577
578
579
# File 'proto_docs/google/cloud/gdchardwaremanagement/v1alpha/resources.rb', line 567

class Comment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Time when this comment was created.

Returns:



567
568
569
570
571
572
573
574
575
576
577
578
579
# File 'proto_docs/google/cloud/gdchardwaremanagement/v1alpha/resources.rb', line 567

class Comment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#customer_viewed_time::Google::Protobuf::Timestamp (readonly)

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

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.



567
568
569
570
571
572
573
574
575
576
577
578
579
# File 'proto_docs/google/cloud/gdchardwaremanagement/v1alpha/resources.rb', line 567

class Comment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

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



567
568
569
570
571
572
573
574
575
576
577
578
579
# File 'proto_docs/google/cloud/gdchardwaremanagement/v1alpha/resources.rb', line 567

class Comment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#name::String

Returns 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}



567
568
569
570
571
572
573
574
575
576
577
578
579
# File 'proto_docs/google/cloud/gdchardwaremanagement/v1alpha/resources.rb', line 567

class Comment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#text::String

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



567
568
569
570
571
572
573
574
575
576
577
578
579
# File 'proto_docs/google/cloud/gdchardwaremanagement/v1alpha/resources.rb', line 567

class Comment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end