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

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

A request to create a comment.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#comment

def comment() -> ::Google::Cloud::GDCHardwareManagement::V1alpha::Comment
Returns

#comment=

def comment=(value) -> ::Google::Cloud::GDCHardwareManagement::V1alpha::Comment
Parameter
Returns

#comment_id

def comment_id() -> ::String
Returns
  • (::String) — Optional. ID used to uniquely identify the Comment within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and - are accepted. The - character cannot be the first or the last one. A system generated ID will be used if the field is not set.

    The comment.name field in the request will be ignored.

#comment_id=

def comment_id=(value) -> ::String
Parameter
  • value (::String) — Optional. ID used to uniquely identify the Comment within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and - are accepted. The - character cannot be the first or the last one. A system generated ID will be used if the field is not set.

    The comment.name field in the request will be ignored.

Returns
  • (::String) — Optional. ID used to uniquely identify the Comment within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and - are accepted. The - character cannot be the first or the last one. A system generated ID will be used if the field is not set.

    The comment.name field in the request will be ignored.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The order to create the comment on. Format: projects/{project}/locations/{location}/orders/{order}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The order to create the comment on. Format: projects/{project}/locations/{location}/orders/{order}
Returns
  • (::String) — Required. The order to create the comment on. Format: projects/{project}/locations/{location}/orders/{order}

#request_id

def request_id() -> ::String
Returns
  • (::String) — Optional. An optional unique identifier for this request. See AIP-155.

#request_id=

def request_id=(value) -> ::String
Parameter
  • value (::String) — Optional. An optional unique identifier for this request. See AIP-155.
Returns
  • (::String) — Optional. An optional unique identifier for this request. See AIP-155.