REST Resource: projects.settings
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
リソース: 設定
値を設定するためのスキーマ。1 つの Cloud リソースで、1 つの設定に設定できる設定値は 1 つまでです。
JSON 表現 |
{
"name": string,
"displayName": string,
"description": string,
"readOnly": boolean,
"dataType": enum (DataType ),
"defaultValue": {
object (Value )
}
} |
フィールド |
name |
string
設定のリソース名。次のいずれかの形式にする必要があります。
projects/{project_number}/settings/{setting_name}
folders/{folder_id}/settings/{setting_name}
organizations/{organization_id}/settings/{setting_name}
例: 「/projects/123/settings/gcp-enableMyFeature」
|
displayName |
string
この設定の人が読める形式の名前。
|
description |
string
この設定の詳しい説明。
|
readOnly |
boolean
この設定の値を変更できないことを示すフラグ(更新と理由については、特定の設定に関するドキュメントをご覧ください)。ただし、DeleteSettingValueRequest.ignore_read_only が true に設定されている場合、settings.deleteValue を使用して削除される場合があります。このフラグを使用すると、設定値を再作成できないことが確認されます。詳しくは、DeleteSettingValueRequest.ignore_read_only をご覧ください。
|
dataType |
enum (DataType )
この設定のデータ型。
|
defaultValue |
object (Value )
設定値が明示的に設定されていない場合に settings.lookupEffectiveValue が受け取る値。 注: すべての設定にデフォルト値があるわけではありません。
|
Methods |
|
設定値を削除します。 |
|
設定値を取得します。 |
|
Cloud リソース parent で使用可能なすべての設定を一覧表示します。 |
|
Cloud リソース parent の設定の有効な設定値を計算します。 |
|
リソース parent に存在するすべての設定値を検索します。 |
|
設定値を更新します。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2023-05-25 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2023-05-25 UTC。"],[[["This document describes the `Setting` resource, which defines the schema for setting values within Cloud resources."],["Settings have properties like name, display name, description, data type, and a default value."],["A setting can have at most one value associated with it at a given Cloud resource."],["Several methods are available to interact with settings and their values, including getting, setting, listing, searching, and deleting."],["The `Setting` resource allows for configuring and managing various aspects of Cloud resources using a structured approach."]]],["The \"Setting\" resource defines the schema for setting values in Cloud resources, where each setting can have at most one parent setting value. Key attributes include `name`, `displayName`, `description`, `readOnly` status, `dataType`, and `defaultValue`. Settings can be managed using several methods: `deleteValue`, `getValue`, `list` available settings, `lookupEffectiveValue` to check effective setting, `search` for existing settings, and `updateValue`. Read only setting can be deleted with a specific parameter.\n"]]