Sha256: f373bd6497df433c149a195cb0f3bee8fa821c70702e15c8ef5a97c2b46306e2
Contents?: true
Size: 1.98 KB
Versions: 17
Compression:
Stored size: 1.98 KB
Contents
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true module StackOne module Shared class IamPolicy < ::StackOne::Utils::FieldAugmented extend T::Sig field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } } field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } } # Unique identifier field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } } # The name of the policy. field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } } # The set of permissions associated with the policy. field :permissions, T.nilable(T::Array[::StackOne::Shared::IamPermission]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('permissions') } } # Provider's unique identifier field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } sig { params(created_at: T.nilable(::DateTime), description: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), permissions: T.nilable(T::Array[::StackOne::Shared::IamPermission]), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void } def initialize(created_at: nil, description: nil, id: nil, name: nil, permissions: nil, remote_id: nil, updated_at: nil) @created_at = created_at @description = description @id = id @name = name @permissions = permissions @remote_id = remote_id @updated_at = updated_at end end end end
Version data entries
17 entries across 17 versions & 1 rubygems