Class: Google::Apis::CloudassetV1::ConditionContext
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1::ConditionContext
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1/classes.rb,
lib/google/apis/cloudasset_v1/representations.rb,
lib/google/apis/cloudasset_v1/representations.rb
Overview
The IAM conditions context.
Instance Attribute Summary collapse
-
#access_time ⇒ String
The hypothetical access timestamp to evaluate IAM conditions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConditionContext
constructor
A new instance of ConditionContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConditionContext
Returns a new instance of ConditionContext.
876 877 878 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 876 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_time ⇒ String
The hypothetical access timestamp to evaluate IAM conditions. Note that this
value must not be earlier than the current time; otherwise, an
INVALID_ARGUMENT error will be returned.
Corresponds to the JSON property accessTime
874 875 876 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 874 def access_time @access_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
881 882 883 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 881 def update!(**args) @access_time = args[:access_time] if args.key?(:access_time) end |