Google Cloud Data Catalog V1 Client - Class UpdateEntryRequest (1.6.0)

Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class UpdateEntryRequest.

Request message for UpdateEntry.

Generated from protobuf message google.cloud.datacatalog.v1.UpdateEntryRequest

Namespace

Google \ Cloud \ DataCatalog \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ entry Google\Cloud\DataCatalog\V1\Entry

Required. Updates for the entry. The name field must be set.

↳ update_mask Google\Protobuf\FieldMask

Names of fields whose values to overwrite on an entry. If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied. You can modify only the fields listed below. For entries with type DATA_STREAM: * schema For entries with type FILESET: * schema * display_name * description * gcs_fileset_spec * gcs_fileset_spec.file_patterns For entries with user_specified_type: * schema * display_name * description * user_specified_type * user_specified_system * linked_resource * source_system_timestamps

getEntry

Required. Updates for the entry. The name field must be set.

Returns
TypeDescription
Google\Cloud\DataCatalog\V1\Entry|null

hasEntry

clearEntry

setEntry

Required. Updates for the entry. The name field must be set.

Parameter
NameDescription
var Google\Cloud\DataCatalog\V1\Entry
Returns
TypeDescription
$this

getUpdateMask

Names of fields whose values to overwrite on an entry.

If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied. You can modify only the fields listed below. For entries with type DATA_STREAM:

  • schema For entries with type FILESET:
  • schema
  • display_name
  • description
  • gcs_fileset_spec
  • gcs_fileset_spec.file_patterns For entries with user_specified_type:
  • schema
  • display_name
  • description
  • user_specified_type
  • user_specified_system
  • linked_resource
  • source_system_timestamps
Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Names of fields whose values to overwrite on an entry.

If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied. You can modify only the fields listed below. For entries with type DATA_STREAM:

  • schema For entries with type FILESET:
  • schema
  • display_name
  • description
  • gcs_fileset_spec
  • gcs_fileset_spec.file_patterns For entries with user_specified_type:
  • schema
  • display_name
  • description
  • user_specified_type
  • user_specified_system
  • linked_resource
  • source_system_timestamps
Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
entry Google\Cloud\DataCatalog\V1\Entry

Required. Updates for the entry. The name field must be set.

Returns
TypeDescription
Google\Cloud\DataCatalog\V1\UpdateEntryRequest

static::buildFromEntryUpdateMask

Parameters
NameDescription
entry Google\Cloud\DataCatalog\V1\Entry

Required. Updates for the entry. The name field must be set.

updateMask Google\Protobuf\FieldMask

Names of fields whose values to overwrite on an entry.

If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.

You can modify only the fields listed below.

For entries with type DATA_STREAM:

  • schema

For entries with type FILESET:

  • schema
  • display_name
  • description
  • gcs_fileset_spec
  • gcs_fileset_spec.file_patterns

For entries with user_specified_type:

  • schema
  • display_name
  • description
  • user_specified_type
  • user_specified_system
  • linked_resource
  • source_system_timestamps
Returns
TypeDescription
Google\Cloud\DataCatalog\V1\UpdateEntryRequest