Class: Google::Apis::ChromewebstoreV2::DeployInfo

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

Overview

Deployment information for a specific release channel. Used in requests to update deployment parameters.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeployInfo

Returns a new instance of DeployInfo.



62
63
64
# File 'lib/google/apis/chromewebstore_v2/classes.rb', line 62

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

Instance Attribute Details

#deploy_percentageFixnum

Required. The current deploy percentage for the release channel (nonnegative number between 0 and 100). Corresponds to the JSON property deployPercentage

Returns:

  • (Fixnum)


60
61
62
# File 'lib/google/apis/chromewebstore_v2/classes.rb', line 60

def deploy_percentage
  @deploy_percentage
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



67
68
69
# File 'lib/google/apis/chromewebstore_v2/classes.rb', line 67

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