Class: Google::Apis::SasportalV1alpha1::SasPortalGetPolicyRequest

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

Instance Method Summary collapse

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

#resourceString

Required. The resource for which the policy is being requested. Corresponds to the JSON property resource

Returns:

  • (String)


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