Class: Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle

Returns a new instance of ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle.



51
52
53
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 51

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

Instance Attribute Details

#descriptionString

Description about current life cycle. Corresponds to the JSON property description

Returns:

  • (String)


32
33
34
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 32

def description
  @description
end

#end_supportGoogle::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 (e.g., an anniversary) * A year on its own, with a zero month and a zero day * A year and month, with a zero day (e.g., a credit card expiration date) Related types: * google.type.TimeOfDay * google.type. DateTime * google.protobuf.Timestamp Corresponds to the JSON property endSupport



44
45
46
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 44

def end_support
  @end_support
end

#policy_api_lifecycle_stageString

Indicate current life cycle stage of the policy API. Corresponds to the JSON property policyApiLifecycleStage

Returns:

  • (String)


49
50
51
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 49

def policy_api_lifecycle_stage
  @policy_api_lifecycle_stage
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



56
57
58
59
60
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 56

def update!(**args)
  @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