# Google Play Game Services Publishing API . achievementConfigurations

## Instance Methods

Delete the achievement configuration with the given ID.

Retrieves the metadata of the achievement configuration with the given ID.

Insert a new achievement configuration in this application.

Returns a list of the achievement configurations in this application.

Retrieves the next page of results.

Update the metadata of the achievement configuration with the given ID. This method supports patch semantics.

Update the metadata of the achievement configuration with the given ID.

### Method Details

`delete(achievementId)`

    Delete the achievement configuration with the given ID.

    Args:
      achievementId: string, The ID of the achievement used by this method. (required)

`get(achievementId)`

    Retrieves the metadata of the achievement configuration with the given ID.

    Args:
      achievementId: string, The ID of the achievement used by this method. (required)

    Returns:
      An object of the form:

        { # This is a JSON template for an achievement configuration resource.
          "achievementType": "A String", # The type of the achievement.
              # Possible values are:
              # - "STANDARD" - Achievement is either locked or unlocked.
              # - "INCREMENTAL" - Achievement is incremental.
          "stepsToUnlock": 42, # Steps to unlock. Only applicable to incremental achievements.
          "kind": "gamesConfiguration#achievementConfiguration", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfiguration.
          "initialState": "A String", # The initial state of the achievement.
              # Possible values are:
              # - "HIDDEN" - Achievement is hidden.
              # - "REVEALED" - Achievement is revealed.
              # - "UNLOCKED" - Achievement is unlocked.
          "token": "A String", # The token for this resource.
          "draft": { # This is a JSON template for an achievement configuration detail. # The draft data of the achievement.
            "kind": "gamesConfiguration#achievementConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfigurationDetail.
            "description": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement description.
              "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
              "translations": [ # The locale strings.
                { # This is a JSON template for a localized string resource.
                  "locale": "A String", # The locale string.
                  "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                  "value": "A String", # The string value.
                },
              ],
            },
            "iconUrl": "A String", # The icon url of this achievement. Writes to this field are ignored.
            "pointValue": 42, # Point value for the achievement.
            "sortRank": 42, # The sort rank of this achievement. Writes to this field are ignored.
            "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement name.
              "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
              "translations": [ # The locale strings.
                { # This is a JSON template for a localized string resource.
                  "locale": "A String", # The locale string.
                  "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                  "value": "A String", # The string value.
                },
              ],
            },
          },
          "published": { # This is a JSON template for an achievement configuration detail. # The read-only published data of the achievement.
            "kind": "gamesConfiguration#achievementConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfigurationDetail.
            "description": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement description.
              "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
              "translations": [ # The locale strings.
                { # This is a JSON template for a localized string resource.
                  "locale": "A String", # The locale string.
                  "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                  "value": "A String", # The string value.
                },
              ],
            },
            "iconUrl": "A String", # The icon url of this achievement. Writes to this field are ignored.
            "pointValue": 42, # Point value for the achievement.
            "sortRank": 42, # The sort rank of this achievement. Writes to this field are ignored.
            "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement name.
              "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
              "translations": [ # The locale strings.
                { # This is a JSON template for a localized string resource.
                  "locale": "A String", # The locale string.
                  "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                  "value": "A String", # The string value.
                },
              ],
            },
          },
          "id": "A String", # The ID of the achievement.
        }

`insert(applicationId, body)`

    Insert a new achievement configuration in this application.

    Args:
      applicationId: string, The application ID from the Google Play developer console. (required)
      body: object, The request body. (required)
        The object takes the form of:

    { # This is a JSON template for an achievement configuration resource.
        "achievementType": "A String", # The type of the achievement.
            # Possible values are:
            # - "STANDARD" - Achievement is either locked or unlocked.
            # - "INCREMENTAL" - Achievement is incremental.
        "stepsToUnlock": 42, # Steps to unlock. Only applicable to incremental achievements.
        "kind": "gamesConfiguration#achievementConfiguration", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfiguration.
        "initialState": "A String", # The initial state of the achievement.
            # Possible values are:
            # - "HIDDEN" - Achievement is hidden.
            # - "REVEALED" - Achievement is revealed.
            # - "UNLOCKED" - Achievement is unlocked.
        "token": "A String", # The token for this resource.
        "draft": { # This is a JSON template for an achievement configuration detail. # The draft data of the achievement.
          "kind": "gamesConfiguration#achievementConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfigurationDetail.
          "description": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement description.
            "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
            "translations": [ # The locale strings.
              { # This is a JSON template for a localized string resource.
                "locale": "A String", # The locale string.
                "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                "value": "A String", # The string value.
              },
            ],
          },
          "iconUrl": "A String", # The icon url of this achievement. Writes to this field are ignored.
          "pointValue": 42, # Point value for the achievement.
          "sortRank": 42, # The sort rank of this achievement. Writes to this field are ignored.
          "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement name.
            "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
            "translations": [ # The locale strings.
              { # This is a JSON template for a localized string resource.
                "locale": "A String", # The locale string.
                "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                "value": "A String", # The string value.
              },
            ],
          },
        },
        "published": { # This is a JSON template for an achievement configuration detail. # The read-only published data of the achievement.
          "kind": "gamesConfiguration#achievementConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfigurationDetail.
          "description": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement description.
            "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
            "translations": [ # The locale strings.
              { # This is a JSON template for a localized string resource.
                "locale": "A String", # The locale string.
                "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                "value": "A String", # The string value.
              },
            ],
          },
          "iconUrl": "A String", # The icon url of this achievement. Writes to this field are ignored.
          "pointValue": 42, # Point value for the achievement.
          "sortRank": 42, # The sort rank of this achievement. Writes to this field are ignored.
          "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement name.
            "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
            "translations": [ # The locale strings.
              { # This is a JSON template for a localized string resource.
                "locale": "A String", # The locale string.
                "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                "value": "A String", # The string value.
              },
            ],
          },
        },
        "id": "A String", # The ID of the achievement.
      }

    Returns:
      An object of the form:

        { # This is a JSON template for an achievement configuration resource.
          "achievementType": "A String", # The type of the achievement.
              # Possible values are:
              # - "STANDARD" - Achievement is either locked or unlocked.
              # - "INCREMENTAL" - Achievement is incremental.
          "stepsToUnlock": 42, # Steps to unlock. Only applicable to incremental achievements.
          "kind": "gamesConfiguration#achievementConfiguration", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfiguration.
          "initialState": "A String", # The initial state of the achievement.
              # Possible values are:
              # - "HIDDEN" - Achievement is hidden.
              # - "REVEALED" - Achievement is revealed.
              # - "UNLOCKED" - Achievement is unlocked.
          "token": "A String", # The token for this resource.
          "draft": { # This is a JSON template for an achievement configuration detail. # The draft data of the achievement.
            "kind": "gamesConfiguration#achievementConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfigurationDetail.
            "description": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement description.
              "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
              "translations": [ # The locale strings.
                { # This is a JSON template for a localized string resource.
                  "locale": "A String", # The locale string.
                  "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                  "value": "A String", # The string value.
                },
              ],
            },
            "iconUrl": "A String", # The icon url of this achievement. Writes to this field are ignored.
            "pointValue": 42, # Point value for the achievement.
            "sortRank": 42, # The sort rank of this achievement. Writes to this field are ignored.
            "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement name.
              "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
              "translations": [ # The locale strings.
                { # This is a JSON template for a localized string resource.
                  "locale": "A String", # The locale string.
                  "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                  "value": "A String", # The string value.
                },
              ],
            },
          },
          "published": { # This is a JSON template for an achievement configuration detail. # The read-only published data of the achievement.
            "kind": "gamesConfiguration#achievementConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfigurationDetail.
            "description": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement description.
              "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
              "translations": [ # The locale strings.
                { # This is a JSON template for a localized string resource.
                  "locale": "A String", # The locale string.
                  "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                  "value": "A String", # The string value.
                },
              ],
            },
            "iconUrl": "A String", # The icon url of this achievement. Writes to this field are ignored.
            "pointValue": 42, # Point value for the achievement.
            "sortRank": 42, # The sort rank of this achievement. Writes to this field are ignored.
            "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement name.
              "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
              "translations": [ # The locale strings.
                { # This is a JSON template for a localized string resource.
                  "locale": "A String", # The locale string.
                  "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                  "value": "A String", # The string value.
                },
              ],
            },
          },
          "id": "A String", # The ID of the achievement.
        }

`list(applicationId, pageToken=None, maxResults=None)`

    Returns a list of the achievement configurations in this application.

    Args:
      applicationId: string, The application ID from the Google Play developer console. (required)
      pageToken: string, The token returned by the previous request.
      maxResults: integer, The maximum number of resource configurations to return in the response, used for paging. For any response, the actual number of resources returned may be less than the specified maxResults.

    Returns:
      An object of the form:

        { # This is a JSON template for a ListConfigurations response.
        "nextPageToken": "A String", # The pagination token for the next page of results.
        "items": [ # The achievement configurations.
          { # This is a JSON template for an achievement configuration resource.
              "achievementType": "A String", # The type of the achievement.
                  # Possible values are:
                  # - "STANDARD" - Achievement is either locked or unlocked.
                  # - "INCREMENTAL" - Achievement is incremental.
              "stepsToUnlock": 42, # Steps to unlock. Only applicable to incremental achievements.
              "kind": "gamesConfiguration#achievementConfiguration", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfiguration.
              "initialState": "A String", # The initial state of the achievement.
                  # Possible values are:
                  # - "HIDDEN" - Achievement is hidden.
                  # - "REVEALED" - Achievement is revealed.
                  # - "UNLOCKED" - Achievement is unlocked.
              "token": "A String", # The token for this resource.
              "draft": { # This is a JSON template for an achievement configuration detail. # The draft data of the achievement.
                "kind": "gamesConfiguration#achievementConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfigurationDetail.
                "description": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement description.
                  "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
                  "translations": [ # The locale strings.
                    { # This is a JSON template for a localized string resource.
                      "locale": "A String", # The locale string.
                      "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                      "value": "A String", # The string value.
                    },
                  ],
                },
                "iconUrl": "A String", # The icon url of this achievement. Writes to this field are ignored.
                "pointValue": 42, # Point value for the achievement.
                "sortRank": 42, # The sort rank of this achievement. Writes to this field are ignored.
                "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement name.
                  "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
                  "translations": [ # The locale strings.
                    { # This is a JSON template for a localized string resource.
                      "locale": "A String", # The locale string.
                      "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                      "value": "A String", # The string value.
                    },
                  ],
                },
              },
              "published": { # This is a JSON template for an achievement configuration detail. # The read-only published data of the achievement.
                "kind": "gamesConfiguration#achievementConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfigurationDetail.
                "description": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement description.
                  "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
                  "translations": [ # The locale strings.
                    { # This is a JSON template for a localized string resource.
                      "locale": "A String", # The locale string.
                      "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                      "value": "A String", # The string value.
                    },
                  ],
                },
                "iconUrl": "A String", # The icon url of this achievement. Writes to this field are ignored.
                "pointValue": 42, # Point value for the achievement.
                "sortRank": 42, # The sort rank of this achievement. Writes to this field are ignored.
                "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement name.
                  "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
                  "translations": [ # The locale strings.
                    { # This is a JSON template for a localized string resource.
                      "locale": "A String", # The locale string.
                      "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                      "value": "A String", # The string value.
                    },
                  ],
                },
              },
              "id": "A String", # The ID of the achievement.
            },
        ],
        "kind": "gamesConfiguration#achievementConfigurationListResponse", # Uniquely identifies the type of this resource. Value is always the fixed string games#achievementConfigurationListResponse.
      }

`list_next(previous_request, previous_response)`

    Retrieves the next page of results.

    Args:
      previous_request: The request for the previous page. (required)
      previous_response: The response from the request for the previous page. (required)

    Returns:
      A request object that you can call 'execute()' on to request the next
      page. Returns None if there are no more items in the collection.

`patch(achievementId, body)`

    Update the metadata of the achievement configuration with the given ID. This method supports patch semantics.

    Args:
      achievementId: string, The ID of the achievement used by this method. (required)
      body: object, The request body. (required)
        The object takes the form of:

    { # This is a JSON template for an achievement configuration resource.
        "achievementType": "A String", # The type of the achievement.
            # Possible values are:
            # - "STANDARD" - Achievement is either locked or unlocked.
            # - "INCREMENTAL" - Achievement is incremental.
        "stepsToUnlock": 42, # Steps to unlock. Only applicable to incremental achievements.
        "kind": "gamesConfiguration#achievementConfiguration", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfiguration.
        "initialState": "A String", # The initial state of the achievement.
            # Possible values are:
            # - "HIDDEN" - Achievement is hidden.
            # - "REVEALED" - Achievement is revealed.
            # - "UNLOCKED" - Achievement is unlocked.
        "token": "A String", # The token for this resource.
        "draft": { # This is a JSON template for an achievement configuration detail. # The draft data of the achievement.
          "kind": "gamesConfiguration#achievementConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfigurationDetail.
          "description": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement description.
            "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
            "translations": [ # The locale strings.
              { # This is a JSON template for a localized string resource.
                "locale": "A String", # The locale string.
                "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                "value": "A String", # The string value.
              },
            ],
          },
          "iconUrl": "A String", # The icon url of this achievement. Writes to this field are ignored.
          "pointValue": 42, # Point value for the achievement.
          "sortRank": 42, # The sort rank of this achievement. Writes to this field are ignored.
          "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement name.
            "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
            "translations": [ # The locale strings.
              { # This is a JSON template for a localized string resource.
                "locale": "A String", # The locale string.
                "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                "value": "A String", # The string value.
              },
            ],
          },
        },
        "published": { # This is a JSON template for an achievement configuration detail. # The read-only published data of the achievement.
          "kind": "gamesConfiguration#achievementConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfigurationDetail.
          "description": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement description.
            "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
            "translations": [ # The locale strings.
              { # This is a JSON template for a localized string resource.
                "locale": "A String", # The locale string.
                "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                "value": "A String", # The string value.
              },
            ],
          },
          "iconUrl": "A String", # The icon url of this achievement. Writes to this field are ignored.
          "pointValue": 42, # Point value for the achievement.
          "sortRank": 42, # The sort rank of this achievement. Writes to this field are ignored.
          "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement name.
            "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
            "translations": [ # The locale strings.
              { # This is a JSON template for a localized string resource.
                "locale": "A String", # The locale string.
                "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                "value": "A String", # The string value.
              },
            ],
          },
        },
        "id": "A String", # The ID of the achievement.
      }

    Returns:
      An object of the form:

        { # This is a JSON template for an achievement configuration resource.
          "achievementType": "A String", # The type of the achievement.
              # Possible values are:
              # - "STANDARD" - Achievement is either locked or unlocked.
              # - "INCREMENTAL" - Achievement is incremental.
          "stepsToUnlock": 42, # Steps to unlock. Only applicable to incremental achievements.
          "kind": "gamesConfiguration#achievementConfiguration", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfiguration.
          "initialState": "A String", # The initial state of the achievement.
              # Possible values are:
              # - "HIDDEN" - Achievement is hidden.
              # - "REVEALED" - Achievement is revealed.
              # - "UNLOCKED" - Achievement is unlocked.
          "token": "A String", # The token for this resource.
          "draft": { # This is a JSON template for an achievement configuration detail. # The draft data of the achievement.
            "kind": "gamesConfiguration#achievementConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfigurationDetail.
            "description": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement description.
              "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
              "translations": [ # The locale strings.
                { # This is a JSON template for a localized string resource.
                  "locale": "A String", # The locale string.
                  "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                  "value": "A String", # The string value.
                },
              ],
            },
            "iconUrl": "A String", # The icon url of this achievement. Writes to this field are ignored.
            "pointValue": 42, # Point value for the achievement.
            "sortRank": 42, # The sort rank of this achievement. Writes to this field are ignored.
            "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement name.
              "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
              "translations": [ # The locale strings.
                { # This is a JSON template for a localized string resource.
                  "locale": "A String", # The locale string.
                  "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                  "value": "A String", # The string value.
                },
              ],
            },
          },
          "published": { # This is a JSON template for an achievement configuration detail. # The read-only published data of the achievement.
            "kind": "gamesConfiguration#achievementConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfigurationDetail.
            "description": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement description.
              "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
              "translations": [ # The locale strings.
                { # This is a JSON template for a localized string resource.
                  "locale": "A String", # The locale string.
                  "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                  "value": "A String", # The string value.
                },
              ],
            },
            "iconUrl": "A String", # The icon url of this achievement. Writes to this field are ignored.
            "pointValue": 42, # Point value for the achievement.
            "sortRank": 42, # The sort rank of this achievement. Writes to this field are ignored.
            "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement name.
              "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
              "translations": [ # The locale strings.
                { # This is a JSON template for a localized string resource.
                  "locale": "A String", # The locale string.
                  "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                  "value": "A String", # The string value.
                },
              ],
            },
          },
          "id": "A String", # The ID of the achievement.
        }

`update(achievementId, body)`

    Update the metadata of the achievement configuration with the given ID.

    Args:
      achievementId: string, The ID of the achievement used by this method. (required)
      body: object, The request body. (required)
        The object takes the form of:

    { # This is a JSON template for an achievement configuration resource.
        "achievementType": "A String", # The type of the achievement.
            # Possible values are:
            # - "STANDARD" - Achievement is either locked or unlocked.
            # - "INCREMENTAL" - Achievement is incremental.
        "stepsToUnlock": 42, # Steps to unlock. Only applicable to incremental achievements.
        "kind": "gamesConfiguration#achievementConfiguration", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfiguration.
        "initialState": "A String", # The initial state of the achievement.
            # Possible values are:
            # - "HIDDEN" - Achievement is hidden.
            # - "REVEALED" - Achievement is revealed.
            # - "UNLOCKED" - Achievement is unlocked.
        "token": "A String", # The token for this resource.
        "draft": { # This is a JSON template for an achievement configuration detail. # The draft data of the achievement.
          "kind": "gamesConfiguration#achievementConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfigurationDetail.
          "description": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement description.
            "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
            "translations": [ # The locale strings.
              { # This is a JSON template for a localized string resource.
                "locale": "A String", # The locale string.
                "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                "value": "A String", # The string value.
              },
            ],
          },
          "iconUrl": "A String", # The icon url of this achievement. Writes to this field are ignored.
          "pointValue": 42, # Point value for the achievement.
          "sortRank": 42, # The sort rank of this achievement. Writes to this field are ignored.
          "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement name.
            "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
            "translations": [ # The locale strings.
              { # This is a JSON template for a localized string resource.
                "locale": "A String", # The locale string.
                "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                "value": "A String", # The string value.
              },
            ],
          },
        },
        "published": { # This is a JSON template for an achievement configuration detail. # The read-only published data of the achievement.
          "kind": "gamesConfiguration#achievementConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfigurationDetail.
          "description": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement description.
            "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
            "translations": [ # The locale strings.
              { # This is a JSON template for a localized string resource.
                "locale": "A String", # The locale string.
                "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                "value": "A String", # The string value.
              },
            ],
          },
          "iconUrl": "A String", # The icon url of this achievement. Writes to this field are ignored.
          "pointValue": 42, # Point value for the achievement.
          "sortRank": 42, # The sort rank of this achievement. Writes to this field are ignored.
          "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement name.
            "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
            "translations": [ # The locale strings.
              { # This is a JSON template for a localized string resource.
                "locale": "A String", # The locale string.
                "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                "value": "A String", # The string value.
              },
            ],
          },
        },
        "id": "A String", # The ID of the achievement.
      }

    Returns:
      An object of the form:

        { # This is a JSON template for an achievement configuration resource.
          "achievementType": "A String", # The type of the achievement.
              # Possible values are:
              # - "STANDARD" - Achievement is either locked or unlocked.
              # - "INCREMENTAL" - Achievement is incremental.
          "stepsToUnlock": 42, # Steps to unlock. Only applicable to incremental achievements.
          "kind": "gamesConfiguration#achievementConfiguration", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfiguration.
          "initialState": "A String", # The initial state of the achievement.
              # Possible values are:
              # - "HIDDEN" - Achievement is hidden.
              # - "REVEALED" - Achievement is revealed.
              # - "UNLOCKED" - Achievement is unlocked.
          "token": "A String", # The token for this resource.
          "draft": { # This is a JSON template for an achievement configuration detail. # The draft data of the achievement.
            "kind": "gamesConfiguration#achievementConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfigurationDetail.
            "description": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement description.
              "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
              "translations": [ # The locale strings.
                { # This is a JSON template for a localized string resource.
                  "locale": "A String", # The locale string.
                  "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                  "value": "A String", # The string value.
                },
              ],
            },
            "iconUrl": "A String", # The icon url of this achievement. Writes to this field are ignored.
            "pointValue": 42, # Point value for the achievement.
            "sortRank": 42, # The sort rank of this achievement. Writes to this field are ignored.
            "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement name.
              "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
              "translations": [ # The locale strings.
                { # This is a JSON template for a localized string resource.
                  "locale": "A String", # The locale string.
                  "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                  "value": "A String", # The string value.
                },
              ],
            },
          },
          "published": { # This is a JSON template for an achievement configuration detail. # The read-only published data of the achievement.
            "kind": "gamesConfiguration#achievementConfigurationDetail", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfigurationDetail.
            "description": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement description.
              "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
              "translations": [ # The locale strings.
                { # This is a JSON template for a localized string resource.
                  "locale": "A String", # The locale string.
                  "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                  "value": "A String", # The string value.
                },
              ],
            },
            "iconUrl": "A String", # The icon url of this achievement. Writes to this field are ignored.
            "pointValue": 42, # Point value for the achievement.
            "sortRank": 42, # The sort rank of this achievement. Writes to this field are ignored.
            "name": { # This is a JSON template for a localized string bundle resource. # Localized strings for the achievement name.
              "kind": "gamesConfiguration#localizedStringBundle", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
              "translations": [ # The locale strings.
                { # This is a JSON template for a localized string resource.
                  "locale": "A String", # The locale string.
                  "kind": "gamesConfiguration#localizedString", # Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
                  "value": "A String", # The string value.
                },
              ],
            },
          },
          "id": "A String", # The ID of the achievement.
        }