google-apis-ideahub_v1alpha 0.4.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 030ac17d2ce4a46f1099ce780821b29887c3a08efe21309409823a5001860c7a
         | 
| 4 | 
            +
              data.tar.gz: 3bd457584cb9b2cc7162a799f9284682b465f9abdc2bfa9b1d03360b46e50dd5
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: cdb25f61b9c7ff3b6dbeb097cba182871fc792d1df923f0e5e72a86b16642985f04204337cf32a26f1fa5d927c9c5b440a26f2b3e826cb11ea3a1fe9c8b36682
         | 
| 7 | 
            +
              data.tar.gz: a1108e3ecacdcc2ec530f97790a1168f1a30723245aabc42a1f6e9b7a73dd3be87d93d6dbe5bdb5a4d2113b37ba7315ccf1c2f7879f40b0b83687a90af8e88f1
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,5 +1,21 @@ | |
| 1 1 | 
             
            # Release history for google-apis-ideahub_v1alpha
         | 
| 2 2 |  | 
| 3 | 
            +
            ### v0.8.0 (2021-08-30)
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            * Regenerated from discovery document revision 20210827
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            ### v0.7.0 (2021-08-27)
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            * Regenerated from discovery document revision 20210825
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            ### v0.6.0 (2021-08-19)
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            * Regenerated from discovery document revision 20210818
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            ### v0.5.0 (2021-07-30)
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            * Regenerated from discovery document revision 20210728
         | 
| 18 | 
            +
             | 
| 3 19 | 
             
            ### v0.4.0 (2021-07-09)
         | 
| 4 20 |  | 
| 5 21 | 
             
            * Regenerated from discovery document revision 20210707
         | 
| @@ -83,21 +83,22 @@ module Google | |
| 83 83 | 
             
                  class GoogleSearchIdeahubV1alphaIdeaActivity
         | 
| 84 84 | 
             
                    include Google::Apis::Core::Hashable
         | 
| 85 85 |  | 
| 86 | 
            -
                    # The Idea IDs for this entry.
         | 
| 87 | 
            -
                    # Corresponds to the JSON property ` | 
| 86 | 
            +
                    # The Idea IDs for this entry. If empty, topics should be set.
         | 
| 87 | 
            +
                    # Corresponds to the JSON property `ideas`
         | 
| 88 88 | 
             
                    # @return [Array<String>]
         | 
| 89 | 
            -
                    attr_accessor : | 
| 89 | 
            +
                    attr_accessor :ideas
         | 
| 90 90 |  | 
| 91 | 
            -
                    # Unique identifier for the idea activity.  | 
| 92 | 
            -
                    # properties/`property`/ | 
| 91 | 
            +
                    # Unique identifier for the idea activity. The name is ignored when creating an
         | 
| 92 | 
            +
                    # idea activity. Format: platforms/`platform`/properties/`property`/
         | 
| 93 | 
            +
                    # ideaActivities/`idea_activity`
         | 
| 93 94 | 
             
                    # Corresponds to the JSON property `name`
         | 
| 94 95 | 
             
                    # @return [String]
         | 
| 95 96 | 
             
                    attr_accessor :name
         | 
| 96 97 |  | 
| 97 | 
            -
                    # The Topic IDs for this entry.
         | 
| 98 | 
            -
                    # Corresponds to the JSON property ` | 
| 98 | 
            +
                    # The Topic IDs for this entry. If empty, ideas should be set.
         | 
| 99 | 
            +
                    # Corresponds to the JSON property `topics`
         | 
| 99 100 | 
             
                    # @return [Array<String>]
         | 
| 100 | 
            -
                    attr_accessor : | 
| 101 | 
            +
                    attr_accessor :topics
         | 
| 101 102 |  | 
| 102 103 | 
             
                    # The type of activity performed.
         | 
| 103 104 | 
             
                    # Corresponds to the JSON property `type`
         | 
| @@ -115,9 +116,9 @@ module Google | |
| 115 116 |  | 
| 116 117 | 
             
                    # Update properties of this object
         | 
| 117 118 | 
             
                    def update!(**args)
         | 
| 118 | 
            -
                      @ | 
| 119 | 
            +
                      @ideas = args[:ideas] if args.key?(:ideas)
         | 
| 119 120 | 
             
                      @name = args[:name] if args.key?(:name)
         | 
| 120 | 
            -
                      @ | 
| 121 | 
            +
                      @topics = args[:topics] if args.key?(:topics)
         | 
| 121 122 | 
             
                      @type = args[:type] if args.key?(:type)
         | 
| 122 123 | 
             
                      @uri = args[:uri] if args.key?(:uri)
         | 
| 123 124 | 
             
                    end
         | 
| @@ -224,6 +225,11 @@ module Google | |
| 224 225 | 
             
                    # @return [String]
         | 
| 225 226 | 
             
                    attr_accessor :mid
         | 
| 226 227 |  | 
| 228 | 
            +
                    # Unique identifier for the topic. Format: topics/`topic`
         | 
| 229 | 
            +
                    # Corresponds to the JSON property `name`
         | 
| 230 | 
            +
                    # @return [String]
         | 
| 231 | 
            +
                    attr_accessor :name
         | 
| 232 | 
            +
                  
         | 
| 227 233 | 
             
                    def initialize(**args)
         | 
| 228 234 | 
             
                       update!(**args)
         | 
| 229 235 | 
             
                    end
         | 
| @@ -232,6 +238,7 @@ module Google | |
| 232 238 | 
             
                    def update!(**args)
         | 
| 233 239 | 
             
                      @display_name = args[:display_name] if args.key?(:display_name)
         | 
| 234 240 | 
             
                      @mid = args[:mid] if args.key?(:mid)
         | 
| 241 | 
            +
                      @name = args[:name] if args.key?(:name)
         | 
| 235 242 | 
             
                    end
         | 
| 236 243 | 
             
                  end
         | 
| 237 244 |  | 
| @@ -16,13 +16,13 @@ module Google | |
| 16 16 | 
             
              module Apis
         | 
| 17 17 | 
             
                module IdeahubV1alpha
         | 
| 18 18 | 
             
                  # Version of the google-apis-ideahub_v1alpha gem
         | 
| 19 | 
            -
                  GEM_VERSION = "0. | 
| 19 | 
            +
                  GEM_VERSION = "0.8.0"
         | 
| 20 20 |  | 
| 21 21 | 
             
                  # Version of the code generator used to generate this client
         | 
| 22 22 | 
             
                  GENERATOR_VERSION = "0.4.0"
         | 
| 23 23 |  | 
| 24 24 | 
             
                  # Revision of the discovery document this client was generated from
         | 
| 25 | 
            -
                  REVISION = " | 
| 25 | 
            +
                  REVISION = "20210827"
         | 
| 26 26 | 
             
                end
         | 
| 27 27 | 
             
              end
         | 
| 28 28 | 
             
            end
         | 
| @@ -91,9 +91,9 @@ module Google | |
| 91 91 | 
             
                  class GoogleSearchIdeahubV1alphaIdeaActivity
         | 
| 92 92 | 
             
                    # @private
         | 
| 93 93 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 94 | 
            -
                      collection : | 
| 94 | 
            +
                      collection :ideas, as: 'ideas'
         | 
| 95 95 | 
             
                      property :name, as: 'name'
         | 
| 96 | 
            -
                      collection : | 
| 96 | 
            +
                      collection :topics, as: 'topics'
         | 
| 97 97 | 
             
                      property :type, as: 'type'
         | 
| 98 98 | 
             
                      property :uri, as: 'uri'
         | 
| 99 99 | 
             
                    end
         | 
| @@ -131,6 +131,7 @@ module Google | |
| 131 131 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 132 132 | 
             
                      property :display_name, as: 'displayName'
         | 
| 133 133 | 
             
                      property :mid, as: 'mid'
         | 
| 134 | 
            +
                      property :name, as: 'name'
         | 
| 134 135 | 
             
                    end
         | 
| 135 136 | 
             
                  end
         | 
| 136 137 |  | 
| @@ -50,10 +50,6 @@ module Google | |
| 50 50 | 
             
                    end
         | 
| 51 51 |  | 
| 52 52 | 
             
                    # List ideas for a given Creator and filter and sort options.
         | 
| 53 | 
            -
                    # @param [String] creator_platform
         | 
| 54 | 
            -
                    #   Identifies the platform from which this user is accessing Idea Hub.
         | 
| 55 | 
            -
                    # @param [String] creator_platform_id
         | 
| 56 | 
            -
                    #   Identifies the platform account (blog/site/etc.) for which to fetch Ideas.
         | 
| 57 53 | 
             
                    # @param [String] filter
         | 
| 58 54 | 
             
                    #   Allows filtering. Supported syntax: * Filter expressions are made up of one or
         | 
| 59 55 | 
             
                    #   more restrictions. * Restrictions are implicitly combined, as if the `AND`
         | 
| @@ -92,12 +88,10 @@ module Google | |
| 92 88 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 93 89 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 94 90 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 95 | 
            -
                    def list_ideas( | 
| 91 | 
            +
                    def list_ideas(filter: nil, order_by: nil, page_size: nil, page_token: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 96 92 | 
             
                      command = make_simple_command(:get, 'v1alpha/ideas', options)
         | 
| 97 93 | 
             
                      command.response_representation = Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaListIdeasResponse::Representation
         | 
| 98 94 | 
             
                      command.response_class = Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaListIdeasResponse
         | 
| 99 | 
            -
                      command.query['creator.platform'] = creator_platform unless creator_platform.nil?
         | 
| 100 | 
            -
                      command.query['creator.platformId'] = creator_platform_id unless creator_platform_id.nil?
         | 
| 101 95 | 
             
                      command.query['filter'] = filter unless filter.nil?
         | 
| 102 96 | 
             
                      command.query['orderBy'] = order_by unless order_by.nil?
         | 
| 103 97 | 
             
                      command.query['pageSize'] = page_size unless page_size.nil?
         | 
| @@ -183,10 +177,6 @@ module Google | |
| 183 177 | 
             
                    # @param [String] parent
         | 
| 184 178 | 
             
                    #   If defined, specifies the creator for which to filter by. Format: publishers/`
         | 
| 185 179 | 
             
                    #   publisher`/properties/`property`
         | 
| 186 | 
            -
                    # @param [String] creator_platform
         | 
| 187 | 
            -
                    #   Identifies the platform from which this user is accessing Idea Hub.
         | 
| 188 | 
            -
                    # @param [String] creator_platform_id
         | 
| 189 | 
            -
                    #   Identifies the platform account (blog/site/etc.) for which to fetch Ideas.
         | 
| 190 180 | 
             
                    # @param [String] filter
         | 
| 191 181 | 
             
                    #   Allows filtering. Supported syntax: * Filter expressions are made up of one or
         | 
| 192 182 | 
             
                    #   more restrictions. * Restrictions are implicitly combined, as if the `AND`
         | 
| @@ -222,13 +212,11 @@ module Google | |
| 222 212 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 223 213 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 224 214 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 225 | 
            -
                    def list_platform_property_ideas(parent,  | 
| 215 | 
            +
                    def list_platform_property_ideas(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 226 216 | 
             
                      command = make_simple_command(:get, 'v1alpha/{+parent}/ideas', options)
         | 
| 227 217 | 
             
                      command.response_representation = Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaListIdeasResponse::Representation
         | 
| 228 218 | 
             
                      command.response_class = Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaListIdeasResponse
         | 
| 229 219 | 
             
                      command.params['parent'] = parent unless parent.nil?
         | 
| 230 | 
            -
                      command.query['creator.platform'] = creator_platform unless creator_platform.nil?
         | 
| 231 | 
            -
                      command.query['creator.platformId'] = creator_platform_id unless creator_platform_id.nil?
         | 
| 232 220 | 
             
                      command.query['filter'] = filter unless filter.nil?
         | 
| 233 221 | 
             
                      command.query['orderBy'] = order_by unless order_by.nil?
         | 
| 234 222 | 
             
                      command.query['pageSize'] = page_size unless page_size.nil?
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-apis-ideahub_v1alpha
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.8.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Google LLC
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2021- | 
| 11 | 
            +
            date: 2021-09-06 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: google-apis-core
         | 
| @@ -58,7 +58,7 @@ licenses: | |
| 58 58 | 
             
            metadata:
         | 
| 59 59 | 
             
              bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
         | 
| 60 60 | 
             
              changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-ideahub_v1alpha/CHANGELOG.md
         | 
| 61 | 
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-ideahub_v1alpha/v0. | 
| 61 | 
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-ideahub_v1alpha/v0.8.0
         | 
| 62 62 | 
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-ideahub_v1alpha
         | 
| 63 63 | 
             
            post_install_message: 
         | 
| 64 64 | 
             
            rdoc_options: []
         |