REST Resource: projects.settings
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
리소스: 설정
값 설정을 위한 스키마입니다. 특정 Cloud 리소스에서 설정은 하나의 설정 값까지 상위 요소로 지정될 수 있습니다.
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 에서 수신한 값입니다. 참고: 일부 설정에는 기본값이 없습니다.
|
방법 |
|
설정 값을 삭제합니다. |
|
설정 값을 가져옵니다. |
|
Cloud 리소스 parent 에서 사용 가능한 모든 설정을 나열합니다. |
|
Cloud 리소스 parent 에 있는 설정의 유효 설정 값을 계산합니다. |
|
리소스 parent 에 있는 모든 설정 값을 검색합니다. |
|
설정 값을 업데이트합니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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"]]