Data Manager API . users

Instance Methods

close()

Close httplib2 connections.

ingest(body=None, x__xgafv=None)

remove(body=None, x__xgafv=None)

Method Details

close()
Close httplib2 connections.
ingest(body=None, x__xgafv=None)

Args:
  body: object, The request body.
    The object takes the form of:

{
  "destinations": [
    {
      "linkedAccount": {
        "accountId": "A String",
        "accountType": "A String",
        "product": "A String",
      },
      "loginAccount": {
        "accountId": "A String",
        "accountType": "A String",
        "product": "A String",
      },
      "operatingAccount": {
        "accountId": "A String",
        "accountType": "A String",
        "product": "A String",
      },
      "productDestinationId": "A String",
      "reference": "A String",
    },
  ],
  "encoding": "A String",
  "encryptionInfo": {
    "awsWrappedKeyInfo": {
      "encryptedDek": "A String",
      "kekUri": "A String",
      "keyType": "A String",
      "roleArn": "A String",
    },
    "coordinatorKeyInfo": {
      "keyId": "A String",
    },
    "gcpWrappedKeyInfo": {
      "encryptedDek": "A String",
      "kekUri": "A String",
      "keyType": "A String",
      "wipProvider": "A String",
    },
  },
  "users": [
    {
      "mobileData": {
        "mobileIds": [
          "A String",
        ],
      },
      "userData": {
        "userIdentifiers": [
          {
            "address": {
              "addressLine": "A String",
              "administrativeArea": "A String",
              "city": "A String",
              "familyName": "A String",
              "givenName": "A String",
              "postalCode": "A String",
              "regionCode": "A String",
            },
            "emailAddress": "A String",
            "phoneNumber": "A String",
          },
        ],
      },
    },
  ],
  "validateOnly": True or False,
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  "requestId": "A String",
}
remove(body=None, x__xgafv=None)

Args:
  body: object, The request body.
    The object takes the form of:

{
  "destinations": [
    {
      "linkedAccount": {
        "accountId": "A String",
        "accountType": "A String",
        "product": "A String",
      },
      "loginAccount": {
        "accountId": "A String",
        "accountType": "A String",
        "product": "A String",
      },
      "operatingAccount": {
        "accountId": "A String",
        "accountType": "A String",
        "product": "A String",
      },
      "productDestinationId": "A String",
      "reference": "A String",
    },
  ],
  "encoding": "A String",
  "encryptionInfo": {
    "awsWrappedKeyInfo": {
      "encryptedDek": "A String",
      "kekUri": "A String",
      "keyType": "A String",
      "roleArn": "A String",
    },
    "coordinatorKeyInfo": {
      "keyId": "A String",
    },
    "gcpWrappedKeyInfo": {
      "encryptedDek": "A String",
      "kekUri": "A String",
      "keyType": "A String",
      "wipProvider": "A String",
    },
  },
  "userData": [
    {
      "userIdentifiers": [
        {
          "address": {
            "addressLine": "A String",
            "administrativeArea": "A String",
            "city": "A String",
            "familyName": "A String",
            "givenName": "A String",
            "postalCode": "A String",
            "regionCode": "A String",
          },
          "emailAddress": "A String",
          "phoneNumber": "A String",
        },
      ],
    },
  ],
  "validateOnly": True or False,
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  "requestId": "A String",
}