Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListInstructionsResponse

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

Results of listing instructions under a project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1ListInstructionsResponse

Returns a new instance of GoogleCloudDatalabelingV1beta1ListInstructionsResponse.



3657
3658
3659
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3657

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

Instance Attribute Details

#instructionsArray<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Instruction>

The list of Instructions to return. Corresponds to the JSON property instructions



3650
3651
3652
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3650

def instructions
  @instructions
end

#next_page_tokenString

A token to retrieve next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


3655
3656
3657
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3655

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3662
3663
3664
3665
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3662

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