Reference documentation and code samples for the Essential Contacts V1 API class Google::Cloud::EssentialContacts::V1::CreateContactRequest.
Request message for the CreateContact method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#contact
def contact() -> ::Google::Cloud::EssentialContacts::V1::Contact
Returns
- (::Google::Cloud::EssentialContacts::V1::Contact) — Required. The contact to create. Must specify an email address and language tag.
#contact=
def contact=(value) -> ::Google::Cloud::EssentialContacts::V1::Contact
Parameter
- value (::Google::Cloud::EssentialContacts::V1::Contact) — Required. The contact to create. Must specify an email address and language tag.
Returns
- (::Google::Cloud::EssentialContacts::V1::Contact) — Required. The contact to create. Must specify an email address and language tag.
#parent
def parent() -> ::String
Returns
- (::String) — Required. The resource to save this contact for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}
#parent=
def parent=(value) -> ::String
Parameter
- value (::String) — Required. The resource to save this contact for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}
Returns
- (::String) — Required. The resource to save this contact for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}