Class: Google::Apis::SasportalV1alpha1::SasPortalGetPolicyRequest
- Inherits:
-
Object
- Object
- Google::Apis::SasportalV1alpha1::SasPortalGetPolicyRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sasportal_v1alpha1/classes.rb,
generated/google/apis/sasportal_v1alpha1/representations.rb,
generated/google/apis/sasportal_v1alpha1/representations.rb
Overview
Request message for GetPolicy
method.
Instance Attribute Summary collapse
-
#resource ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SasPortalGetPolicyRequest
constructor
A new instance of SasPortalGetPolicyRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SasPortalGetPolicyRequest
Returns a new instance of SasPortalGetPolicyRequest.
551 552 553 |
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 551 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource ⇒ String
Required. The resource for which the policy is being requested.
Corresponds to the JSON property resource
549 550 551 |
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 549 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
556 557 558 |
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 556 def update!(**args) @resource = args[:resource] if args.key?(:resource) end |