Content API for Shopping . csses

Instance Methods

close()

Close httplib2 connections.

get(cssGroupId, cssDomainId, x__xgafv=None)

Retrieves a single CSS domain by ID.

list(cssGroupId, pageSize=None, pageToken=None, x__xgafv=None)

Lists CSS domains affiliated with a CSS group.

list_next()

Retrieves the next page of results.

updatelabels(cssGroupId, cssDomainId, body=None, x__xgafv=None)

Updates labels that are assigned to a CSS domain by its CSS group.

Method Details

close()
Close httplib2 connections.
get(cssGroupId, cssDomainId, x__xgafv=None)
Retrieves a single CSS domain by ID.

Args:
  cssGroupId: string, Required. The ID of the managing account. If this parameter is not the same as [cssDomainId](#cssDomainId), then this ID must be a CSS group ID and `cssDomainId` must be the ID of a CSS domain affiliated with this group. (required)
  cssDomainId: string, Required. The ID of the CSS domain to return. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Information about CSS domain.
  "cssDomainId": "A String", # Output only. Immutable. The CSS domain ID.
  "cssGroupId": "A String", # Output only. Immutable. The ID of the CSS group this CSS domain is affiliated with. Only populated for CSS group users.
  "displayName": "A String", # Output only. Immutable. The CSS domain's display name, used when space is constrained.
  "fullName": "A String", # Output only. Immutable. The CSS domain's full name.
  "homepageUri": "A String", # Output only. Immutable. The CSS domain's homepage.
  "labelIds": [ # A list of label IDs that are assigned to this CSS domain by its CSS group. Only populated for CSS group users.
    "A String",
  ],
}
list(cssGroupId, pageSize=None, pageToken=None, x__xgafv=None)
Lists CSS domains affiliated with a CSS group.

Args:
  cssGroupId: string, Required. The CSS group ID of CSS domains to be listed. (required)
  pageSize: integer, The maximum number of CSS domains to return. The service may return fewer than this value. If unspecified, at most 50 CSS domains will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
  pageToken: string, A page token, received from a previous `ListCsses` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCsses` must match the call that provided the page token.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # The response message for the `ListCsses` method
  "csses": [ # The CSS domains affiliated with the specified CSS group.
    { # Information about CSS domain.
      "cssDomainId": "A String", # Output only. Immutable. The CSS domain ID.
      "cssGroupId": "A String", # Output only. Immutable. The ID of the CSS group this CSS domain is affiliated with. Only populated for CSS group users.
      "displayName": "A String", # Output only. Immutable. The CSS domain's display name, used when space is constrained.
      "fullName": "A String", # Output only. Immutable. The CSS domain's full name.
      "homepageUri": "A String", # Output only. Immutable. The CSS domain's homepage.
      "labelIds": [ # A list of label IDs that are assigned to this CSS domain by its CSS group. Only populated for CSS group users.
        "A String",
      ],
    },
  ],
  "nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
}
list_next()
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.
        
updatelabels(cssGroupId, cssDomainId, body=None, x__xgafv=None)
Updates labels that are assigned to a CSS domain by its CSS group.

Args:
  cssGroupId: string, Required. The CSS group ID of the updated CSS domain. (required)
  cssDomainId: string, Required. The ID of the updated CSS domain. (required)
  body: object, The request body.
    The object takes the form of:

{ # The IDs of labels that should be assigned to the CSS domain.
  "labelIds": [ # The list of label IDs.
    "A String",
  ],
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Information about CSS domain.
  "cssDomainId": "A String", # Output only. Immutable. The CSS domain ID.
  "cssGroupId": "A String", # Output only. Immutable. The ID of the CSS group this CSS domain is affiliated with. Only populated for CSS group users.
  "displayName": "A String", # Output only. Immutable. The CSS domain's display name, used when space is constrained.
  "fullName": "A String", # Output only. Immutable. The CSS domain's full name.
  "homepageUri": "A String", # Output only. Immutable. The CSS domain's homepage.
  "labelIds": [ # A list of label IDs that are assigned to this CSS domain by its CSS group. Only populated for CSS group users.
    "A String",
  ],
}