View Source GoogleApi.Storage.V1.Model.BucketIpFilter (google_api_storage v0.45.0)

The bucket's IP filter configuration. Specifies the network sources that are allowed to access the operations on the bucket, as well as its underlying objects. Only enforced when the mode is set to 'Enabled'.

Attributes

  • mode (type: String.t, default: nil) - The mode of the IP filter. Valid values are 'Enabled' and 'Disabled'.
  • publicNetworkSource (type: GoogleApi.Storage.V1.Model.BucketIpFilterPublicNetworkSource.t, default: nil) - The public network source of the bucket's IP filter.
  • vpcNetworkSources (type: list(GoogleApi.Storage.V1.Model.BucketIpFilterVpcNetworkSources.t), default: nil) - The list of VPC network sources of the bucket's IP filter.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Storage.V1.Model.BucketIpFilter{
  mode: String.t() | nil,
  publicNetworkSource:
    GoogleApi.Storage.V1.Model.BucketIpFilterPublicNetworkSource.t() | nil,
  vpcNetworkSources:
    [GoogleApi.Storage.V1.Model.BucketIpFilterVpcNetworkSources.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.