Backup and DR Service API . projects . locations . trial

Instance Methods

close()

Close httplib2 connections.

subscribe(parent, body=None, x__xgafv=None)

Subscribes to a trial for a project

Method Details

close()
Close httplib2 connections.
subscribe(parent, body=None, x__xgafv=None)
Subscribes to a trial for a project

Args:
  parent: string, Required. The parent resource where this trial will be created. (required)
  body: object, The request body.
    The object takes the form of:

{ # Request message for subscribing to a trial.
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Represents a Trial for a project.
  "endTime": "A String", # Output only. The time when the trial will expire.
  "name": "A String", # Identifier. The resource name of the trial. Format: projects/{project}/locations/{location}/trial
  "startTime": "A String", # Output only. The time when the trial was subscribed.
  "state": "A String", # Output only. The state of the trial.
}