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

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
Name Description
data array

Optional. Data for populating the Message object.

↳ entry 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
Type Description
Entry|null

hasEntry

clearEntry

setEntry

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

Parameter
Name Description
var Entry
Returns
Type Description
$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
Type Description
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
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameter
Name Description
entry Entry

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

Returns
Type Description
UpdateEntryRequest

static::buildFromEntryUpdateMask

Parameters
Name Description
entry 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
Type Description
UpdateEntryRequest