Class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase

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

Overview

AI test cases

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppdistroV1alphaTestCase

Returns a new instance of GoogleFirebaseAppdistroV1alphaTestCase.



1300
1301
1302
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1300

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

Instance Attribute Details

#ai_instructionsGoogle::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaAiInstructions

Instructions for AI driven test Corresponds to the JSON property aiInstructions



1287
1288
1289
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1287

def ai_instructions
  @ai_instructions
end

#display_nameString

Required. Display name of the test case. Corresponds to the JSON property displayName

Returns:

  • (String)


1292
1293
1294
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1292

def display_name
  @display_name
end

#nameString

Identifier. The name of the test case resource. Format: projects/ project_number/apps/app_id/testCases/test_case_id` Corresponds to the JSON propertyname`

Returns:

  • (String)


1298
1299
1300
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1298

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1305
1306
1307
1308
1309
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1305

def update!(**args)
  @ai_instructions = args[:ai_instructions] if args.key?(:ai_instructions)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
end