Trial

Represents a Trial for a project.

JSON representation
 { 
 "name" 
 : 
 string 
 , 
 "state" 
 : 
 enum (  State 
 
) 
 , 
 "startTime" 
 : 
 string 
 , 
 "endTime" 
 : 
 string 
 , 
 "endReason" 
 : 
 enum (  EndReason 
 
) 
 } 
Fields
name

string

Identifier. The resource name of the trial. Format: projects/{project}/locations/{location}/trial

state

enum ( State )

Output only. The state of the trial.

startTime

string ( Timestamp format)

Output only. The time when the trial was subscribed.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30" .

endTime

string ( Timestamp format)

Output only. The time when the trial will expire.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30" .

endReason

enum ( EndReason )

Output only. The reason for ending the trial.

State

Trial state enum.

Enums
STATE_UNSPECIFIED State not set.
SUBSCRIBED Trial is subscribed.
UNSUBSCRIBED Trial is unsubscribed before expiration.
EXPIRED Trial is expired post 30 days of subscription.
ELIGIBLE Trial is eligible for enablement.
NOT_ELIGIBLE Trial is not eligible for enablement.

EndReason

End reason enum.

Enums
END_REASON_UNSPECIFIED End reason not set.
MOVE_TO_PAID Trial is deliberately ended by the user to transition to paid usage.
DISCONTINUED Trial is discontinued before expiration.
Design a Mobile Site
View Site in Mobile | Classic
Share by: