View Source GoogleApi.Compute.V1.Model.InstancesSetSecurityPolicyRequest (google_api_compute v0.56.2)

Attributes

  • networkInterfaces (type: list(String.t), default: nil) - 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.
  • securityPolicy (type: String.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Compute.V1.Model.InstancesSetSecurityPolicyRequest{
  networkInterfaces: [String.t()] | nil,
  securityPolicy: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.