Class: Google::Apis::ComputeAlpha::SslPolicyReference

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SslPolicyReference

Returns a new instance of SslPolicyReference.



44725
44726
44727
# File 'lib/google/apis/compute_alpha/classes.rb', line 44725

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)


44723
44724
44725
# File 'lib/google/apis/compute_alpha/classes.rb', line 44723

def ssl_policy
  @ssl_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



44730
44731
44732
# File 'lib/google/apis/compute_alpha/classes.rb', line 44730

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