Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImportDataRequest

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

Overview

Request message for ImportData API.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1ImportDataRequest

Returns a new instance of GoogleCloudDatalabelingV1beta1ImportDataRequest.



2799
2800
2801
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 2799

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

Instance Attribute Details

#input_configGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1InputConfig

The configuration of input data, including data type, location, etc. Corresponds to the JSON property inputConfig



2791
2792
2793
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 2791

def input_config
  @input_config
end

#user_email_addressString

Email of the user who started the import task and should be notified by email. If empty no notification will be sent. Corresponds to the JSON property userEmailAddress

Returns:

  • (String)


2797
2798
2799
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 2797

def user_email_address
  @user_email_address
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2804
2805
2806
2807
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 2804

def update!(**args)
  @input_config = args[:input_config] if args.key?(:input_config)
  @user_email_address = args[:user_email_address] if args.key?(:user_email_address)
end