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.



1247
1248
1249
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1247

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)


1244
1245
1246
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1244

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1252
1253
1254
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1252

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