[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Certificate Authority Service V1 Client - Class AttributeTypeAndValue (2.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.1 (latest)](/php/docs/reference/cloud-security-private-ca/latest/V1.AttributeTypeAndValue)\n- [2.1.0](/php/docs/reference/cloud-security-private-ca/2.1.0/V1.AttributeTypeAndValue)\n- [2.0.3](/php/docs/reference/cloud-security-private-ca/2.0.3/V1.AttributeTypeAndValue)\n- [1.7.3](/php/docs/reference/cloud-security-private-ca/1.7.3/V1.AttributeTypeAndValue)\n- [1.5.0](/php/docs/reference/cloud-security-private-ca/1.5.0/V1.AttributeTypeAndValue)\n- [1.4.2](/php/docs/reference/cloud-security-private-ca/1.4.2/V1.AttributeTypeAndValue)\n- [1.3.1](/php/docs/reference/cloud-security-private-ca/1.3.1/V1.AttributeTypeAndValue)\n- [1.2.2](/php/docs/reference/cloud-security-private-ca/1.2.2/V1.AttributeTypeAndValue)\n- [1.1.0](/php/docs/reference/cloud-security-private-ca/1.1.0/V1.AttributeTypeAndValue)\n- [1.0.3](/php/docs/reference/cloud-security-private-ca/1.0.3/V1.AttributeTypeAndValue) \nReference documentation and code samples for the Google Certificate Authority Service V1 Client class AttributeTypeAndValue.\n\n[AttributeTypeAndValue](/php/docs/reference/cloud-security-private-ca/latest/V1.AttributeTypeAndValue)\nspecifies an attribute type and value. It can use either a OID or enum value\nto specify the attribute type.\n\nGenerated from protobuf message `google.cloud.security.privateca.v1.AttributeTypeAndValue`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Security \\\\ PrivateCA \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getType\n\nThe attribute type of the attribute and value pair.\n\n### hasType\n\n### setType\n\nThe attribute type of the attribute and value pair.\n\n### getObjectId\n\nObject ID for an attribute type of an attribute and value pair.\n\n### hasObjectId\n\n### setObjectId\n\nObject ID for an attribute type of an attribute and value pair.\n\n### getValue\n\nThe value for the attribute type.\n\n### setValue\n\nThe value for the attribute type.\n\n### getAttributeType"]]