Class: Google::Apis::ComputeBeta::SslPolicyReference

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SslPolicyReference

Returns a new instance of SslPolicyReference.



36182
36183
36184
# File 'lib/google/apis/compute_beta/classes.rb', line 36182

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#ssl_policyString

URL of the SSL policy resource. Set this to empty string to clear any existing SSL policy associated with the target proxy resource. Corresponds to the JSON property sslPolicy

Returns:

  • (String)


36180
36181
36182
# File 'lib/google/apis/compute_beta/classes.rb', line 36180

def ssl_policy
  @ssl_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



36187
36188
36189
# File 'lib/google/apis/compute_beta/classes.rb', line 36187

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