Settings class
Describes the settings associated with a project, folder, organization, or billing account.
Constructors
- Settings({DefaultSinkConfig? defaultSinkConfig, bool? disableDefaultSink, String? kmsKeyName, String? kmsServiceAccountId, String? loggingServiceAccountId, String? name, String? storageLocation})
- Settings.fromJson(Map json_)
Properties
- defaultSinkConfig ↔ DefaultSinkConfig?
-
Overrides the built-in configuration for _Default sink.
getter/setter pair
- disableDefaultSink ↔ bool?
-
If set to true, the _Default sink in newly created projects and folders
will created in a disabled state.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- kmsKeyName ↔ String?
-
The resource name for the configured Cloud KMS key.KMS key name format:
"projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
For
example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To
enable CMEK, set this field to a valid kms_key_name for which the
associated service account has the required
roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key.The
Cloud KMS key used by the Log Router can be updated by changing the
kms_key_name to a new valid key name.To disable CMEK for the Log Router,
set this field to an empty string.See Enabling CMEK for Log Router
(https://cloud.google.com/logging/docs/routing/managed-encryption) for
more information.
getter/setter pair
- kmsServiceAccountId ↔ String?
-
The service account that will be used by the Log Router to access your
Cloud KMS key.Before enabling CMEK, you must first assign the role
roles/cloudkms.cryptoKeyEncrypterDecrypter to the service account that
will be used to access your Cloud KMS key.
getter/setter pair
- loggingServiceAccountId ↔ String?
-
The service account for the given resource container, such as project or
folder.
getter/setter pair
- name ↔ String?
-
The resource name of the settings.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storageLocation ↔ String?
-
The storage location for the _Default and _Required log buckets of newly
created projects and folders, unless the storage location is explicitly
provided.Example value: europe-west1.Note: this setting does not affect
the location of resources where a location is explicitly provided when
created, such as custom log buckets.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited