Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2RequestLogging

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

Overview

Configuration for logging requests made to this project to Stackdriver Logging

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2RequestLogging

Returns a new instance of GoogleCloudIdentitytoolkitAdminV2RequestLogging.



1159
1160
1161
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1159

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#enabledBoolean Also known as: enabled?

Whether logging is enabled for this project or not. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


1156
1157
1158
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1156

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1164
1165
1166
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1164

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