Essential Contacts v1 API - Class CreateContactRequest (2.4.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
Name Description
other CreateContactRequest

Properties

Contact

public Contact Contact { get; set; }

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

Property Value
Type Description
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
Type Description
string

ParentAsFolderName

public FolderName ParentAsFolderName { get; set; }

FolderName-typed view over the Parent resource name property.

Property Value
Type Description
FolderName

ParentAsOrganizationName

public OrganizationName ParentAsOrganizationName { get; set; }

OrganizationName-typed view over the Parent resource name property.

Property Value
Type Description
OrganizationName

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
Type Description
ProjectName

ParentAsResourceName

public IResourceName ParentAsResourceName { get; set; }

IResourceName-typed view over the Parent resource name property.

Property Value
Type Description
IResourceName