Class: Google::Apis::ComputeV1::SslPolicyReference

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SslPolicyReference

Returns a new instance of SslPolicyReference.



39030
39031
39032
# File 'lib/google/apis/compute_v1/classes.rb', line 39030

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)


39028
39029
39030
# File 'lib/google/apis/compute_v1/classes.rb', line 39028

def ssl_policy
  @ssl_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



39035
39036
39037
# File 'lib/google/apis/compute_v1/classes.rb', line 39035

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