Class: Google::Apis::ChromewebstoreV2::DeployInfo
- Inherits:
-
Object
- Object
- Google::Apis::ChromewebstoreV2::DeployInfo
- 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
-
#deploy_percentage ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeployInfo
constructor
A new instance of DeployInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_percentage ⇒ Fixnum
Required. The current deploy percentage for the release channel (nonnegative
number between 0 and 100).
Corresponds to the JSON property deployPercentage
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 |