개발자 메타데이터 위치 정보에 액세스합니다.
메서드
| 메서드 | 반환 유형 | 간략한 설명 |
|---|---|---|
get | Range|null | 이 메타데이터의 열 위치에 대한 Range를 반환하거나 위치 유형이 Developer이 아닌 경우 null를 반환합니다. |
get | Developer | 위치 유형을 가져옵니다. |
get | Range|null | 이 메타데이터의 행 위치에 대한 Range를 반환하거나 위치 유형이 Developer가 아닌 경우 null를 반환합니다. |
get | Sheet|null | 이 메타데이터의 Sheet 위치를 반환하거나 위치 유형이
Developer가 아닌 경우 null를 반환합니다. |
get | Spreadsheet|null | 이 메타데이터의 Spreadsheet 위치를 반환하거나 위치
유형이 Developer가 아닌 경우 null을 반환합니다. |
자세한 문서
getColumn()
이 메타데이터의 열 위치에 대한 Range를 반환하거나 위치 유형이 DeveloperMetadataLocationType.COLUMN이 아닌 경우 null을 반환합니다.
리턴
Range|null — 이 메타데이터의 열 위치에 대한 Range 또는 위치 유형이 DeveloperMetadataLocationType.COLUMN이 아닌 경우 null입니다.
승인
이 메서드를 사용하는 스크립트는 다음 범위 중 하나 이상으로 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly -
https://www.googleapis.com/auth/spreadsheets
getLocationType()
위치 유형을 가져옵니다.
리턴
DeveloperMetadataLocationType — 위치 유형입니다.
승인
이 메서드를 사용하는 스크립트는 다음 범위 중 하나 이상으로 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly -
https://www.googleapis.com/auth/spreadsheets
getRow()
이 메타데이터의 행 위치에 대한 Range를 반환하거나 위치 유형이 DeveloperMetadataLocationType.ROW가 아닌 경우 null을 반환합니다.
리턴
Range|null — 이 메타데이터의 행 위치에 대한 Range 또는 위치 유형이 DeveloperMetadataLocationType.ROW가 아닌 경우 null입니다.
승인
이 메서드를 사용하는 스크립트는 다음 범위 중 하나 이상으로 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly -
https://www.googleapis.com/auth/spreadsheets
getSheet()
이 메타데이터의 Sheet 위치를 반환하거나 위치 유형이 DeveloperMetadataLocationType.SHEET가 아닌 경우 null을 반환합니다.
리턴
Sheet|null — 이 메타데이터의 Sheet 위치 또는 위치 유형이 DeveloperMetadataLocationType.SHEET이 아닌 경우 null입니다.
승인
이 메서드를 사용하는 스크립트는 다음 범위 중 하나 이상으로 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly -
https://www.googleapis.com/auth/spreadsheets
getSpreadsheet()
이 메타데이터의 Spreadsheet 위치를 반환하거나 위치 유형이 DeveloperMetadataLocationType.SPREADSHEET가 아닌 경우 null을 반환합니다.
리턴
Spreadsheet|null — 이 메타데이터의 Spreadsheet 위치 또는 위치 유형이 DeveloperMetadataLocationType.SPREADSHEET가 아닌 경우 null입니다.
승인
이 메서드를 사용하는 스크립트는 다음 범위 중 하나 이상으로 승인해야 합니다.
-
https://www.googleapis.com/auth/spreadsheets.currentonly -
https://www.googleapis.com/auth/spreadsheets