Cloud Logging V2 API - Class Google::Cloud::Logging::V2::UpdateSettingsRequest (v0.8.0)

Reference documentation and code samples for the Cloud Logging V2 API class Google::Cloud::Logging::V2::UpdateSettingsRequest.

The parameters to {::Google::Cloud::Logging::V2::ConfigServiceV2::Client#update_settings UpdateSettings}.

See Enabling CMEK for Log Router for more information.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Required. The resource name for the settings to update.

    "organizations/[ORGANIZATION_ID]/settings"
    

    For example:

    "organizations/12345/settings"

    Note: Settings for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name for the settings to update.

    "organizations/[ORGANIZATION_ID]/settings"
    

    For example:

    "organizations/12345/settings"

    Note: Settings for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.

Returns
  • (::String) — Required. The resource name for the settings to update.

    "organizations/[ORGANIZATION_ID]/settings"
    

    For example:

    "organizations/12345/settings"

    Note: Settings for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.

#settings

def settings() -> ::Google::Cloud::Logging::V2::Settings
Returns

#settings=

def settings=(value) -> ::Google::Cloud::Logging::V2::Settings
Parameter
Returns

#update_mask

def update_mask() -> ::Google::Protobuf::FieldMask
Returns
  • (::Google::Protobuf::FieldMask) — Optional. Field mask identifying which fields from settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.

    See FieldMask for more information.

    For example: "updateMask=kmsKeyName"

#update_mask=

def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
  • value (::Google::Protobuf::FieldMask) — Optional. Field mask identifying which fields from settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.

    See FieldMask for more information.

    For example: "updateMask=kmsKeyName"

Returns
  • (::Google::Protobuf::FieldMask) — Optional. Field mask identifying which fields from settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.

    See FieldMask for more information.

    For example: "updateMask=kmsKeyName"