Essential Contacts v1 API - Class CreateContactRequest (2.3.0)

public sealed class CreateContactRequest : IMessage<CreateContactRequest>, IEquatable<CreateContactRequest>, IDeepCloneable<CreateContactRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Essential Contacts v1 API class CreateContactRequest.

Request message for the CreateContact method.

Inheritance

object > CreateContactRequest

Namespace

Google.Cloud.EssentialContacts.V1

Assembly

Google.Cloud.EssentialContacts.V1.dll

Constructors

CreateContactRequest()

public CreateContactRequest()

CreateContactRequest(CreateContactRequest)

public CreateContactRequest(CreateContactRequest other)
Parameter
NameDescription
otherCreateContactRequest

Properties

Contact

public Contact Contact { get; set; }

Required. The contact to create. Must specify an email address and language tag.

Property Value
TypeDescription
Contact

Parent

public string Parent { get; set; }

Required. The resource to save this contact for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}

Property Value
TypeDescription
string

ParentAsFolderName

public FolderName ParentAsFolderName { get; set; }

FolderName-typed view over the Parent resource name property.

Property Value
TypeDescription
FolderName

ParentAsOrganizationName

public OrganizationName ParentAsOrganizationName { get; set; }

OrganizationName-typed view over the Parent resource name property.

Property Value
TypeDescription
OrganizationName

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
TypeDescription
ProjectName

ParentAsResourceName

public IResourceName ParentAsResourceName { get; set; }

IResourceName-typed view over the Parent resource name property.

Property Value
TypeDescription
IResourceName