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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/sasportal_v1alpha1/classes.rb,
lib/google/apis/sasportal_v1alpha1/representations.rb,
lib/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.



592
593
594
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 592

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)


590
591
592
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 590

def resource
  @resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



597
598
599
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 597

def update!(**args)
  @resource = args[:resource] if args.key?(:resource)
end