Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1EntrySource

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb

Overview

EntrySource contains information related to the source system of the Entry.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1EntrySource

Returns a new instance of GoogleCloudDataplexV1EntrySource.



4155
4156
4157
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4155

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#ancestorsArray<Google::Apis::DataplexV1::GoogleCloudDataplexV1EntrySourceAncestor>

Immutable. The ancestors of the Entry in the source system. Corresponds to the JSON property ancestors



4102
4103
4104
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4102

def ancestors
  @ancestors
end

#create_timeString

The create time of the resource in the source system. Corresponds to the JSON property createTime

Returns:

  • (String)


4107
4108
4109
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4107

def create_time
  @create_time
end

#descriptionString

Description of the Entry. The maximum size of the field is 2000 characters. Corresponds to the JSON property description

Returns:

  • (String)


4112
4113
4114
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4112

def description
  @description
end

#display_nameString

User friendly display name. The maximum size of the field is 500 characters. Corresponds to the JSON property displayName

Returns:

  • (String)


4117
4118
4119
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4117

def display_name
  @display_name
end

#labelsHash<String,String>

User-defined labels. The maximum size of keys and values is 128 characters each. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


4123
4124
4125
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4123

def labels
  @labels
end

#locationString

Output only. Location of the resource in the source system. You can search the Entry by this location. By default, this should match the location of the EntryGroup containing this entry. A different value allows capturing the source location for data external to Google Cloud. Corresponds to the JSON property location

Returns:

  • (String)


4131
4132
4133
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4131

def location
  @location
end

#platformString

The platform containing the source system. The maximum size of the field is 64 characters. Corresponds to the JSON property platform

Returns:

  • (String)


4137
4138
4139
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4137

def platform
  @platform
end

#resourceString

The name of the resource in the source system. The maximum size of the field is 4000 characters. Corresponds to the JSON property resource

Returns:

  • (String)


4143
4144
4145
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4143

def resource
  @resource
end

#systemString

The name of the source system. The maximum size of the field is 64 characters. Corresponds to the JSON property system

Returns:

  • (String)


4148
4149
4150
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4148

def system
  @system
end

#update_timeString

The update time of the resource in the source system. Corresponds to the JSON property updateTime

Returns:

  • (String)


4153
4154
4155
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4153

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4160

def update!(**args)
  @ancestors = args[:ancestors] if args.key?(:ancestors)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @labels = args[:labels] if args.key?(:labels)
  @location = args[:location] if args.key?(:location)
  @platform = args[:platform] if args.key?(:platform)
  @resource = args[:resource] if args.key?(:resource)
  @system = args[:system] if args.key?(:system)
  @update_time = args[:update_time] if args.key?(:update_time)
end