Class: Google::Cloud::Compute::V1::InstancesSetSecurityPolicyRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Instance Attribute Summary collapse

Instance Attribute Details

#network_interfaces::Array<::String>

Returns The network interfaces that the security policy will be applied to. Network interfaces use the nicN naming format. You can only set a security policy for network interfaces with an access config.

Returns:

  • (::Array<::String>)

    The network interfaces that the security policy will be applied to. Network interfaces use the nicN naming format. You can only set a security policy for network interfaces with an access config.



15197
15198
15199
15200
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 15197

class InstancesSetSecurityPolicyRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#security_policy::String

Returns A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.

Returns:

  • (::String)

    A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.



15197
15198
15199
15200
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 15197

class InstancesSetSecurityPolicyRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end