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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb,
generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb,
generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb

Overview

Request message for GetPolicy method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SasPortalGetPolicyRequest

Returns a new instance of SasPortalGetPolicyRequest.



527
528
529
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 527

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)


525
526
527
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 525

def resource
  @resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



532
533
534
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 532

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