Class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalGetPolicyRequest

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



684
685
686
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 684

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)


682
683
684
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 682

def resource
  @resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



689
690
691
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 689

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