<button class="button button-with-icon cloud-select-dropdown__button button-primary" aria-haspopup="true">On-premises or any cloud edition v1.15</button>

- [SAP BTP edition v1.1](https://docs.cloud.google.com/sap/docs/abap-sdk/btp/latest/reference/googcl_blogger_v2)
- [On-premises or any cloud edition v1.15](https://docs.cloud.google.com/sap/docs/abap-sdk/on-premises-or-any-cloud/latest/reference/googcl_blogger_v2.md.txt)

## Class

```abap
/GOOG/CL_BLOGGER_V2
```

- Inheriting from:`/GOOG/CL_HTTP_CLIENT`
- Description:`Blogger API v2`

For general information about a class in ABAP SDK for Google Cloud, see [API client stub](https://docs.cloud.google.com/sap/docs/abap-sdk/latest/developer#client_stub).

## Types

| Type | Description | Visibility |
|---|---|---|
| `TY_001` | `Blog` | PUBLIC |
| `TY_002` | `BlogList` | PUBLIC |
| `TY_003` | `BlogPerUserInfo` | PUBLIC |
| `TY_004` | `BlogUserInfo` | PUBLIC |
| `TY_005` | `Comment` | PUBLIC |
| `TY_006` | `CommentList` | PUBLIC |
| `TY_007` | `Page` | PUBLIC |
| `TY_008` | `PageList` | PUBLIC |
| `TY_009` | `Post` | PUBLIC |
| `TY_010` | `PostList` | PUBLIC |
| `TY_011` | `User` | PUBLIC |
| `TY_040` | `Locale` | PUBLIC |
| `TY_041` | `Pages` | PUBLIC |
| `TY_053` | `Posts` | PUBLIC |
| `TY_062` | `Image` | PUBLIC |
| `TY_063` | `Author` | PUBLIC |
| `TY_064` | `Blog` | PUBLIC |
| `TY_065` | `Image` | PUBLIC |
| `TY_066` | `Author` | PUBLIC |
| `TY_067` | `Blog` | PUBLIC |
| `TY_068` | `Images` | PUBLIC |
| `TY_069` | `Location` | PUBLIC |
| `TY_070` | `Image` | PUBLIC |
| `TY_071` | `Author` | PUBLIC |
| `TY_072` | `Blog` | PUBLIC |
| `TY_073` | `InReplyTo` | PUBLIC |
| `TY_074` | `Post` | PUBLIC |
| `TY_075` | `Replies` | PUBLIC |
| `TY_076` | `Blogs` | PUBLIC |
| `TY_077` | `Locale` | PUBLIC |
| `TY_T_001` | `Blog` | PUBLIC |
| `TY_T_004` | `BlogUserInfo` | PUBLIC |
| `TY_T_005` | `Comment` | PUBLIC |
| `TY_T_007` | `Page` | PUBLIC |
| `TY_T_009` | `Post` | PUBLIC |
| `TY_T_068` | `Images` | PUBLIC |
| `TY_T_STRING` | `Table of Strings` | PUBLIC |

## Constants

| Name | Type | Description | Value | Visibility |
|---|---|---|---|---|
| `C_SUPPORTED_AUTH` | `/GOOG/SUPP_AUTH` | Supported Auth Types | IJIJWW | PUBLIC |
| `C_SERVICE_NAME` | `/GOOG/SERVICE_NAME` | Google Service Name | blogger:v2 | PUBLIC |
| `C_ROOT_URL` | `STRING` | API Root URL | https://blogger.googleapis.com | PUBLIC |
| `C_REVISION_DATE` | `DATUM` | Discovery Document revision Date | 20250305 | PUBLIC |
| `C_PATH_PREFIX` | `STRING` | API Path Prefix |   | PUBLIC |
| `C_ON_PREM_VERSION` | `/GOOG/SDK_VERSION` | Lowest On-premises Version | 1.7 | PUBLIC |
| `C_CLOUD_VERSION` | `/GOOG/SDK_VERSION` | Lowest Cloud Version |   | PUBLIC |

## Methods

For general information about a method in ABAP SDK for Google Cloud, see [API method](https://docs.cloud.google.com/sap/docs/abap-sdk/latest/developer#api_method).

### CONSTRUCTOR

- Description: Constructor
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_KEY_NAME` | IMPORTING | `/GOOG/KEYNAME` | Google Cloud Key Name |
| `IV_LOG_OBJ` | IMPORTING | `BALOBJ_D` | Application log: Object name (Application code) |
| `IV_LOG_SUBOBJ` | IMPORTING | `BALSUBOBJ` | Application Log: Subobject |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_BLOGS

- Description: blogger.blogs.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_BLOG_ID` | IMPORTING | `STRING` | blogId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_001` | Blog |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_COMMENTS

- Description: blogger.comments.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_BLOG_ID` | IMPORTING | `STRING` | blogId |
| `IV_P_COMMENT_ID` | IMPORTING | `STRING` | commentId |
| `IV_P_POST_ID` | IMPORTING | `STRING` | postId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_005` | Comment |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_PAGES

- Description: blogger.pages.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_BLOG_ID` | IMPORTING | `STRING` | blogId |
| `IV_P_PAGE_ID` | IMPORTING | `STRING` | pageId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_007` | Page |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_POSTS

- Description: blogger.posts.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_BLOG_ID` | IMPORTING | `STRING` | blogId |
| `IV_P_POST_ID` | IMPORTING | `STRING` | postId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_009` | Post |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_USERS

- Description: blogger.users.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_USER_ID` | IMPORTING | `STRING` | userId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_011` | User |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### LIST_BLOGS

- Description: blogger.blogs.list
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_P_USER_ID` | IMPORTING | `STRING` | userId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_002` | BlogList |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### LIST_COMMENTS

- Description: blogger.comments.list
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_FETCHBODIES` | IMPORTING | `STRING` | fetchBodies |
| `IV_Q_MAXRESULTS` | IMPORTING | `STRING` | maxResults |
| `IV_Q_PAGETOKEN` | IMPORTING | `STRING` | pageToken |
| `IV_Q_STARTDATE` | IMPORTING | `STRING` | startDate |
| `IV_P_BLOG_ID` | IMPORTING | `STRING` | blogId |
| `IV_P_POST_ID` | IMPORTING | `STRING` | postId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_006` | CommentList |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### LIST_PAGES

- Description: blogger.pages.list
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_FETCHBODIES` | IMPORTING | `STRING` | fetchBodies |
| `IV_P_BLOG_ID` | IMPORTING | `STRING` | blogId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_008` | PageList |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### LIST_POSTS

- Description: blogger.posts.list
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_FETCHBODIES` | IMPORTING | `STRING` | fetchBodies |
| `IV_Q_MAXRESULTS` | IMPORTING | `STRING` | maxResults |
| `IV_Q_PAGETOKEN` | IMPORTING | `STRING` | pageToken |
| `IV_Q_STARTDATE` | IMPORTING | `STRING` | startDate |
| `IV_P_BLOG_ID` | IMPORTING | `STRING` | blogId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_010` | PostList |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### CLOSE

- Description: Close Connection
- Visibility: PUBLIC