All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.content.model.CustomAttribute.html Maven / Gradle / Ivy

There is a newer version: v2.1-rev20241217-2.0.0
Show newest version






CustomAttribute (Content API for Shopping v2.1-rev20240609-2.0.0)












com.google.api.services.content.model

Class CustomAttribute

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class CustomAttribute
    extends com.google.api.client.json.GenericJson
    A message that represents custom attributes. Exactly one of `value` or `groupValues` must be provided. Maximum allowed number of characters for each custom attribute is 10240 (represents sum of characters for name and value). Maximum 2500 custom attributes can be set per merchant, with total size of 102.4kB.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Content API for Shopping. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • CustomAttribute

        public CustomAttribute()
    • Method Detail

      • getGroupValues

        public List<CustomAttribute> getGroupValues()
        Subattributes within this attribute group. Exactly one of value or groupValues must be provided.
        Returns:
        value or null for none
      • setGroupValues

        public CustomAttribute setGroupValues(List<CustomAttribute> groupValues)
        Subattributes within this attribute group. Exactly one of value or groupValues must be provided.
        Parameters:
        groupValues - groupValues or null for none
      • getName

        public String getName()
        The name of the attribute. Underscores will be replaced by spaces upon insertion.
        Returns:
        value or null for none
      • setName

        public CustomAttribute setName(String name)
        The name of the attribute. Underscores will be replaced by spaces upon insertion.
        Parameters:
        name - name or null for none
      • getValue

        public String getValue()
        The value of the attribute.
        Returns:
        value or null for none
      • setValue

        public CustomAttribute setValue(String value)
        The value of the attribute.
        Parameters:
        value - value or null for none
      • clone

        public CustomAttribute clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy