Class: Google::Apis::AccesscontextmanagerV1::Modifier
- Inherits:
-
Object
- Object
- Google::Apis::AccesscontextmanagerV1::Modifier
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/accesscontextmanager_v1/classes.rb,
lib/google/apis/accesscontextmanager_v1/representations.rb,
lib/google/apis/accesscontextmanager_v1/representations.rb
Overview
Modifier to apply to the API requests.
Instance Attribute Summary collapse
-
#add_request_header ⇒ Google::Apis::AccesscontextmanagerV1::AddRequestHeader
Adds a request header to the API.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Modifier
constructor
A new instance of Modifier.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Modifier
Returns a new instance of Modifier.
1630 1631 1632 |
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 1630 def initialize(**args) update!(**args) end |
Instance Attribute Details
#add_request_header ⇒ Google::Apis::AccesscontextmanagerV1::AddRequestHeader
Adds a request header to the API.
Corresponds to the JSON property addRequestHeader
1628 1629 1630 |
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 1628 def add_request_header @add_request_header end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1635 1636 1637 |
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 1635 def update!(**args) @add_request_header = args[:add_request_header] if args.key?(:add_request_header) end |