# Google Play EMM API . storelayoutpages

## Instance Methods

Deletes a store page.

Retrieves details of a store page.

Inserts a new store page.

Retrieves the details of all pages in the store.

Updates the content of a store page. This method supports patch semantics.

Updates the content of a store page.

### Method Details

`delete(enterpriseId, pageId)`

    Deletes a store page.

    Args:
      enterpriseId: string, The ID of the enterprise. (required)
      pageId: string, The ID of the page. (required)

`get(enterpriseId, pageId)`

    Retrieves details of a store page.

    Args:
      enterpriseId: string, The ID of the enterprise. (required)
      pageId: string, The ID of the page. (required)

    Returns:
      An object of the form:

        { # Definition of a managed Google Play store page, made of a localized name and links to other pages. A page also contains clusters defined as a subcollection.
          "kind": "androidenterprise#storePage", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#storePage".
          "link": [ # Ordered list of pages a user should be able to reach from this page. The pages must exist, must not be this page, and once a link is created the page linked to cannot be deleted until all links to it are removed. It is recommended that the basic pages are created first, before adding the links between pages.
              #
              # No attempt is made to verify that all pages are reachable from the homepage.
            "A String",
          ],
          "id": "A String", # Unique ID of this page. Assigned by the server. Immutable once assigned.
          "name": [ # Ordered list of localized strings giving the name of this page. The text displayed is the one that best matches the user locale, or the first entry if there is no good match. There needs to be at least one entry.
            { # A localized string with its locale.
              "locale": "A String", # The BCP47 tag for a locale. (e.g. "en-US", "de").
              "text": "A String", # The text localized in the associated locale.
            },
          ],
        }

`insert(enterpriseId, body)`

    Inserts a new store page.

    Args:
      enterpriseId: string, The ID of the enterprise. (required)
      body: object, The request body. (required)
        The object takes the form of:

    { # Definition of a managed Google Play store page, made of a localized name and links to other pages. A page also contains clusters defined as a subcollection.
        "kind": "androidenterprise#storePage", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#storePage".
        "link": [ # Ordered list of pages a user should be able to reach from this page. The pages must exist, must not be this page, and once a link is created the page linked to cannot be deleted until all links to it are removed. It is recommended that the basic pages are created first, before adding the links between pages.
            #
            # No attempt is made to verify that all pages are reachable from the homepage.
          "A String",
        ],
        "id": "A String", # Unique ID of this page. Assigned by the server. Immutable once assigned.
        "name": [ # Ordered list of localized strings giving the name of this page. The text displayed is the one that best matches the user locale, or the first entry if there is no good match. There needs to be at least one entry.
          { # A localized string with its locale.
            "locale": "A String", # The BCP47 tag for a locale. (e.g. "en-US", "de").
            "text": "A String", # The text localized in the associated locale.
          },
        ],
      }

    Returns:
      An object of the form:

        { # Definition of a managed Google Play store page, made of a localized name and links to other pages. A page also contains clusters defined as a subcollection.
          "kind": "androidenterprise#storePage", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#storePage".
          "link": [ # Ordered list of pages a user should be able to reach from this page. The pages must exist, must not be this page, and once a link is created the page linked to cannot be deleted until all links to it are removed. It is recommended that the basic pages are created first, before adding the links between pages.
              #
              # No attempt is made to verify that all pages are reachable from the homepage.
            "A String",
          ],
          "id": "A String", # Unique ID of this page. Assigned by the server. Immutable once assigned.
          "name": [ # Ordered list of localized strings giving the name of this page. The text displayed is the one that best matches the user locale, or the first entry if there is no good match. There needs to be at least one entry.
            { # A localized string with its locale.
              "locale": "A String", # The BCP47 tag for a locale. (e.g. "en-US", "de").
              "text": "A String", # The text localized in the associated locale.
            },
          ],
        }

`list(enterpriseId)`

    Retrieves the details of all pages in the store.

    Args:
      enterpriseId: string, The ID of the enterprise. (required)

    Returns:
      An object of the form:

        { # The store page resources for the enterprise.
        "kind": "androidenterprise#storeLayoutPagesListResponse", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#storeLayoutPagesListResponse".
        "page": [ # A store page of an enterprise.
          { # Definition of a managed Google Play store page, made of a localized name and links to other pages. A page also contains clusters defined as a subcollection.
              "kind": "androidenterprise#storePage", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#storePage".
              "link": [ # Ordered list of pages a user should be able to reach from this page. The pages must exist, must not be this page, and once a link is created the page linked to cannot be deleted until all links to it are removed. It is recommended that the basic pages are created first, before adding the links between pages.
                  #
                  # No attempt is made to verify that all pages are reachable from the homepage.
                "A String",
              ],
              "id": "A String", # Unique ID of this page. Assigned by the server. Immutable once assigned.
              "name": [ # Ordered list of localized strings giving the name of this page. The text displayed is the one that best matches the user locale, or the first entry if there is no good match. There needs to be at least one entry.
                { # A localized string with its locale.
                  "locale": "A String", # The BCP47 tag for a locale. (e.g. "en-US", "de").
                  "text": "A String", # The text localized in the associated locale.
                },
              ],
            },
        ],
      }

`patch(enterpriseId, pageId, body)`

    Updates the content of a store page. This method supports patch semantics.

    Args:
      enterpriseId: string, The ID of the enterprise. (required)
      pageId: string, The ID of the page. (required)
      body: object, The request body. (required)
        The object takes the form of:

    { # Definition of a managed Google Play store page, made of a localized name and links to other pages. A page also contains clusters defined as a subcollection.
        "kind": "androidenterprise#storePage", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#storePage".
        "link": [ # Ordered list of pages a user should be able to reach from this page. The pages must exist, must not be this page, and once a link is created the page linked to cannot be deleted until all links to it are removed. It is recommended that the basic pages are created first, before adding the links between pages.
            #
            # No attempt is made to verify that all pages are reachable from the homepage.
          "A String",
        ],
        "id": "A String", # Unique ID of this page. Assigned by the server. Immutable once assigned.
        "name": [ # Ordered list of localized strings giving the name of this page. The text displayed is the one that best matches the user locale, or the first entry if there is no good match. There needs to be at least one entry.
          { # A localized string with its locale.
            "locale": "A String", # The BCP47 tag for a locale. (e.g. "en-US", "de").
            "text": "A String", # The text localized in the associated locale.
          },
        ],
      }

    Returns:
      An object of the form:

        { # Definition of a managed Google Play store page, made of a localized name and links to other pages. A page also contains clusters defined as a subcollection.
          "kind": "androidenterprise#storePage", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#storePage".
          "link": [ # Ordered list of pages a user should be able to reach from this page. The pages must exist, must not be this page, and once a link is created the page linked to cannot be deleted until all links to it are removed. It is recommended that the basic pages are created first, before adding the links between pages.
              #
              # No attempt is made to verify that all pages are reachable from the homepage.
            "A String",
          ],
          "id": "A String", # Unique ID of this page. Assigned by the server. Immutable once assigned.
          "name": [ # Ordered list of localized strings giving the name of this page. The text displayed is the one that best matches the user locale, or the first entry if there is no good match. There needs to be at least one entry.
            { # A localized string with its locale.
              "locale": "A String", # The BCP47 tag for a locale. (e.g. "en-US", "de").
              "text": "A String", # The text localized in the associated locale.
            },
          ],
        }

`update(enterpriseId, pageId, body)`

    Updates the content of a store page.

    Args:
      enterpriseId: string, The ID of the enterprise. (required)
      pageId: string, The ID of the page. (required)
      body: object, The request body. (required)
        The object takes the form of:

    { # Definition of a managed Google Play store page, made of a localized name and links to other pages. A page also contains clusters defined as a subcollection.
        "kind": "androidenterprise#storePage", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#storePage".
        "link": [ # Ordered list of pages a user should be able to reach from this page. The pages must exist, must not be this page, and once a link is created the page linked to cannot be deleted until all links to it are removed. It is recommended that the basic pages are created first, before adding the links between pages.
            #
            # No attempt is made to verify that all pages are reachable from the homepage.
          "A String",
        ],
        "id": "A String", # Unique ID of this page. Assigned by the server. Immutable once assigned.
        "name": [ # Ordered list of localized strings giving the name of this page. The text displayed is the one that best matches the user locale, or the first entry if there is no good match. There needs to be at least one entry.
          { # A localized string with its locale.
            "locale": "A String", # The BCP47 tag for a locale. (e.g. "en-US", "de").
            "text": "A String", # The text localized in the associated locale.
          },
        ],
      }

    Returns:
      An object of the form:

        { # Definition of a managed Google Play store page, made of a localized name and links to other pages. A page also contains clusters defined as a subcollection.
          "kind": "androidenterprise#storePage", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#storePage".
          "link": [ # Ordered list of pages a user should be able to reach from this page. The pages must exist, must not be this page, and once a link is created the page linked to cannot be deleted until all links to it are removed. It is recommended that the basic pages are created first, before adding the links between pages.
              #
              # No attempt is made to verify that all pages are reachable from the homepage.
            "A String",
          ],
          "id": "A String", # Unique ID of this page. Assigned by the server. Immutable once assigned.
          "name": [ # Ordered list of localized strings giving the name of this page. The text displayed is the one that best matches the user locale, or the first entry if there is no good match. There needs to be at least one entry.
            { # A localized string with its locale.
              "locale": "A String", # The BCP47 tag for a locale. (e.g. "en-US", "de").
              "text": "A String", # The text localized in the associated locale.
            },
          ],
        }