Certificate Authority Service V1 API - Class Google::Cloud::Security::PrivateCA::V1::AttributeTypeAndValue (v2.2.0)

Reference documentation and code samples for the Certificate Authority Service V1 API class Google::Cloud::Security::PrivateCA::V1::AttributeTypeAndValue.

AttributeTypeAndValue specifies an attribute type and value. It can use either a OID or enum value to specify the attribute type.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#object_id

def object_id() -> ::Google::Cloud::Security::PrivateCA::V1::ObjectId
Returns
  • (::Google::Cloud::Security::PrivateCA::V1::ObjectId) — Object ID for an attribute type of an attribute and value pair.

    Note: The following fields are mutually exclusive: object_id, type. If a field in that set is populated, all other fields in the set will automatically be cleared.

#object_id=

def object_id=(value) -> ::Google::Cloud::Security::PrivateCA::V1::ObjectId
Parameter
  • value (::Google::Cloud::Security::PrivateCA::V1::ObjectId) — Object ID for an attribute type of an attribute and value pair.

    Note: The following fields are mutually exclusive: object_id, type. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Security::PrivateCA::V1::ObjectId) — Object ID for an attribute type of an attribute and value pair.

    Note: The following fields are mutually exclusive: object_id, type. If a field in that set is populated, all other fields in the set will automatically be cleared.

#type

def type() -> ::Google::Cloud::Security::PrivateCA::V1::AttributeType
Returns
  • (::Google::Cloud::Security::PrivateCA::V1::AttributeType) — The attribute type of the attribute and value pair.

    Note: The following fields are mutually exclusive: type, object_id. If a field in that set is populated, all other fields in the set will automatically be cleared.

#type=

def type=(value) -> ::Google::Cloud::Security::PrivateCA::V1::AttributeType
Parameter
  • value (::Google::Cloud::Security::PrivateCA::V1::AttributeType) — The attribute type of the attribute and value pair.

    Note: The following fields are mutually exclusive: type, object_id. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Security::PrivateCA::V1::AttributeType) — The attribute type of the attribute and value pair.

    Note: The following fields are mutually exclusive: type, object_id. If a field in that set is populated, all other fields in the set will automatically be cleared.

#value

def value() -> ::String
Returns
  • (::String) — The value for the attribute type.

#value=

def value=(value) -> ::String
Parameter
  • value (::String) — The value for the attribute type.
Returns
  • (::String) — The value for the attribute type.