Class: Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle
- Inherits:
-
Object
- Object
- Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chromepolicy_v1/classes.rb,
lib/google/apis/chromepolicy_v1/representations.rb,
lib/google/apis/chromepolicy_v1/representations.rb
Instance Attribute Summary collapse
-
#deprecated_in_favor_of ⇒ Array<String>
In the event that this policy was deprecated in favor of another policy, the fully qualified namespace(s) of the new policies as they will show in PolicyAPI.
-
#description ⇒ String
Description about current life cycle.
-
#end_support ⇒ Google::Apis::ChromepolicyV1::GoogleTypeDate
Represents a whole or partial calendar date, such as a birthday.
-
#policy_api_lifecycle_stage ⇒ String
Indicate current life cycle stage of the policy API.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle
constructor
A new instance of ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle
Returns a new instance of ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle.
58 59 60 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 58 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deprecated_in_favor_of ⇒ Array<String>
In the event that this policy was deprecated in favor of another policy, the
fully qualified namespace(s) of the new policies as they will show in
PolicyAPI.
Corresponds to the JSON property deprecatedInFavorOf
34 35 36 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 34 def deprecated_in_favor_of @deprecated_in_favor_of end |
#description ⇒ String
Description about current life cycle.
Corresponds to the JSON property description
39 40 41 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 39 def description @description end |
#end_support ⇒ Google::Apis::ChromepolicyV1::GoogleTypeDate
Represents a whole or partial calendar date, such as a birthday. The time of
day and time zone are either specified elsewhere or are insignificant. The
date is relative to the Gregorian Calendar. This can represent one of the
following: * A full date, with non-zero year, month, and day values. * A month
and day, with a zero year (for example, an anniversary). * A year on its own,
with a zero month and a zero day. * A year and month, with a zero day (for
example, a credit card expiration date). Related types: * google.type.
TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
Corresponds to the JSON property endSupport
51 52 53 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 51 def end_support @end_support end |
#policy_api_lifecycle_stage ⇒ String
Indicate current life cycle stage of the policy API.
Corresponds to the JSON property policyApiLifecycleStage
56 57 58 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 56 def policy_api_lifecycle_stage @policy_api_lifecycle_stage end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
63 64 65 66 67 68 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 63 def update!(**args) @deprecated_in_favor_of = args[:deprecated_in_favor_of] if args.key?(:deprecated_in_favor_of) @description = args[:description] if args.key?(:description) @end_support = args[:end_support] if args.key?(:end_support) @policy_api_lifecycle_stage = args[:policy_api_lifecycle_stage] if args.key?(:policy_api_lifecycle_stage) end |