Settings class
Describes the settings associated with a project, folder, organization, billing account, or flexible resource.
Constructors
- Settings.new({bool? disableDefaultSink, String? kmsKeyName, String? kmsServiceAccountId, String? loggingServiceAccountId, String? name, String? storageLocation})
- Settings.fromJson(Map json_)
Properties
- 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 for the Log Router, 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.
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 for Log Router, you must first assign
the role roles/cloudkms.cryptoKeyEncrypterDecrypter to the service account
that the Log Router will use to access your Cloud KMS key.
getter/setter pair
- loggingServiceAccountId ↔ String?
-
The service account for the given container.
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 that Cloud Logging will use to create new resources
when a location is needed but not explicitly provided.
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