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.



1511
1512
1513
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1511

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)


1508
1509
1510
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1508

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1516
1517
1518
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1516

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