Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ExportDataRequest

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

Overview

Request message for ExportData API.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1ExportDataRequest

Returns a new instance of GoogleCloudDatalabelingV1beta1ExportDataRequest.



2245
2246
2247
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 2245

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

Instance Attribute Details

#annotated_datasetString

Required. Annotated dataset resource name. DataItem in Dataset and their annotations in specified annotated dataset will be exported. It's in format of projects/project_id/datasets/dataset_id/annotatedDatasets/ annotated_dataset_id Corresponds to the JSON property annotatedDataset

Returns:

  • (String)


2227
2228
2229
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 2227

def annotated_dataset
  @annotated_dataset
end

#filterString

Optional. Filter is not supported at this moment. Corresponds to the JSON property filter

Returns:

  • (String)


2232
2233
2234
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 2232

def filter
  @filter
end

#output_configGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1OutputConfig

The configuration of output data. Corresponds to the JSON property outputConfig



2237
2238
2239
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 2237

def output_config
  @output_config
end

#user_email_addressString

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

Returns:

  • (String)


2243
2244
2245
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 2243

def user_email_address
  @user_email_address
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2250
2251
2252
2253
2254
2255
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 2250

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