google-apis-cloudresourcemanager_v3 0.41.0 → 0.43.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/cloudresourcemanager_v3/classes.rb +32 -11
- data/lib/google/apis/cloudresourcemanager_v3/gem_version.rb +2 -2
- data/lib/google/apis/cloudresourcemanager_v3/representations.rb +2 -0
- data/lib/google/apis/cloudresourcemanager_v3/service.rb +73 -2
- metadata +3 -3
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: fc68e6287f8b31fe120e55ddf62b317c67de5540ff0e5ec54ab203067ec70c22
         | 
| 4 | 
            +
              data.tar.gz: 7d736e5dff1187b2eb1447eb7bfab35f67d362fb1d975155aa06648e3c51460d
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: f2530f3e4ee6c0b95382d2ee0e8ab82dfc0b93a4f28a36a1c5ca5c40e970cf684ba9ab40fd4708bc13d2366dece41eeeab68590443b3bd1a5268858a9e94e6a4
         | 
| 7 | 
            +
              data.tar.gz: 32c2f879348ee637a1df409e8862c834d5584299f9dab7a4d9789131478ab92237d6c802cd9ba305bd379703a4146ae73bc3d5d1d9399190439f07e9c0022db9
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,5 +1,13 @@ | |
| 1 1 | 
             
            # Release history for google-apis-cloudresourcemanager_v3
         | 
| 2 2 |  | 
| 3 | 
            +
            ### v0.43.0 (2023-04-23)
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            * Regenerated from discovery document revision 20230416
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            ### v0.42.0 (2023-02-26)
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            * Regenerated from discovery document revision 20230219
         | 
| 10 | 
            +
             | 
| 3 11 | 
             
            ### v0.41.0 (2023-02-15)
         | 
| 4 12 |  | 
| 5 13 | 
             
            * Regenerated using generator version 0.12.0
         | 
| @@ -446,16 +446,17 @@ module Google | |
| 446 446 | 
             
                    attr_accessor :inherited
         | 
| 447 447 | 
             
                    alias_method :inherited?, :inherited
         | 
| 448 448 |  | 
| 449 | 
            -
                    # The  | 
| 450 | 
            -
                    #  | 
| 451 | 
            -
                    #  | 
| 449 | 
            +
                    # The namespaced name of the TagKey. Can be in the form ``organization_id`/`
         | 
| 450 | 
            +
                    # tag_key_short_name`` or ``project_id`/`tag_key_short_name`` or ``
         | 
| 451 | 
            +
                    # project_number`/`tag_key_short_name``.
         | 
| 452 452 | 
             
                    # Corresponds to the JSON property `namespacedTagKey`
         | 
| 453 453 | 
             
                    # @return [String]
         | 
| 454 454 | 
             
                    attr_accessor :namespaced_tag_key
         | 
| 455 455 |  | 
| 456 | 
            -
                    #  | 
| 457 | 
            -
                    #  | 
| 458 | 
            -
                    #  | 
| 456 | 
            +
                    # The namespaced name of the TagValue. Can be in the form ``organization_id`/`
         | 
| 457 | 
            +
                    # tag_key_short_name`/`tag_value_short_name`` or ``project_id`/`
         | 
| 458 | 
            +
                    # tag_key_short_name`/`tag_value_short_name`` or ``project_number`/`
         | 
| 459 | 
            +
                    # tag_key_short_name`/`tag_value_short_name``.
         | 
| 459 460 | 
             
                    # Corresponds to the JSON property `namespacedTagValue`
         | 
| 460 461 | 
             
                    # @return [String]
         | 
| 461 462 | 
             
                    attr_accessor :namespaced_tag_value
         | 
| @@ -465,6 +466,12 @@ module Google | |
| 465 466 | 
             
                    # @return [String]
         | 
| 466 467 | 
             
                    attr_accessor :tag_key
         | 
| 467 468 |  | 
| 469 | 
            +
                    # The parent name of the tag key. Must be in the format `organizations/`
         | 
| 470 | 
            +
                    # organization_id``.
         | 
| 471 | 
            +
                    # Corresponds to the JSON property `tagKeyParentName`
         | 
| 472 | 
            +
                    # @return [String]
         | 
| 473 | 
            +
                    attr_accessor :tag_key_parent_name
         | 
| 474 | 
            +
                  
         | 
| 468 475 | 
             
                    # Resource name for TagValue in the format `tagValues/456`.
         | 
| 469 476 | 
             
                    # Corresponds to the JSON property `tagValue`
         | 
| 470 477 | 
             
                    # @return [String]
         | 
| @@ -480,6 +487,7 @@ module Google | |
| 480 487 | 
             
                      @namespaced_tag_key = args[:namespaced_tag_key] if args.key?(:namespaced_tag_key)
         | 
| 481 488 | 
             
                      @namespaced_tag_value = args[:namespaced_tag_value] if args.key?(:namespaced_tag_value)
         | 
| 482 489 | 
             
                      @tag_key = args[:tag_key] if args.key?(:tag_key)
         | 
| 490 | 
            +
                      @tag_key_parent_name = args[:tag_key_parent_name] if args.key?(:tag_key_parent_name)
         | 
| 483 491 | 
             
                      @tag_value = args[:tag_value] if args.key?(:tag_value)
         | 
| 484 492 | 
             
                    end
         | 
| 485 493 | 
             
                  end
         | 
| @@ -1661,6 +1669,14 @@ module Google | |
| 1661 1669 | 
             
                    # @return [String]
         | 
| 1662 1670 | 
             
                    attr_accessor :tag_value
         | 
| 1663 1671 |  | 
| 1672 | 
            +
                    # The namespaced name for the TagValue of the TagBinding. Must be in the format `
         | 
| 1673 | 
            +
                    # `parent_id`/`tag_key_short_name`/`short_name``. For methods that support
         | 
| 1674 | 
            +
                    # TagValue namespaced name, only one of tag_value_namespaced_name or tag_value
         | 
| 1675 | 
            +
                    # may be filled. Requests with both fields will be rejected.
         | 
| 1676 | 
            +
                    # Corresponds to the JSON property `tagValueNamespacedName`
         | 
| 1677 | 
            +
                    # @return [String]
         | 
| 1678 | 
            +
                    attr_accessor :tag_value_namespaced_name
         | 
| 1679 | 
            +
                  
         | 
| 1664 1680 | 
             
                    def initialize(**args)
         | 
| 1665 1681 | 
             
                       update!(**args)
         | 
| 1666 1682 | 
             
                    end
         | 
| @@ -1670,6 +1686,7 @@ module Google | |
| 1670 1686 | 
             
                      @name = args[:name] if args.key?(:name)
         | 
| 1671 1687 | 
             
                      @parent = args[:parent] if args.key?(:parent)
         | 
| 1672 1688 | 
             
                      @tag_value = args[:tag_value] if args.key?(:tag_value)
         | 
| 1689 | 
            +
                      @tag_value_namespaced_name = args[:tag_value_namespaced_name] if args.key?(:tag_value_namespaced_name)
         | 
| 1673 1690 | 
             
                    end
         | 
| 1674 1691 | 
             
                  end
         | 
| 1675 1692 |  | 
| @@ -1758,8 +1775,11 @@ module Google | |
| 1758 1775 | 
             
                    # @return [String]
         | 
| 1759 1776 | 
             
                    attr_accessor :namespaced_name
         | 
| 1760 1777 |  | 
| 1761 | 
            -
                    # Immutable. The resource name of the  | 
| 1762 | 
            -
                    #  | 
| 1778 | 
            +
                    # Immutable. The resource name of the TagKey's parent. A TagKey can be parented
         | 
| 1779 | 
            +
                    # by an Organization or a Project. For a TagKey parented by an Organization, its
         | 
| 1780 | 
            +
                    # parent must be in the form `organizations/`org_id``. For a TagKey parented by
         | 
| 1781 | 
            +
                    # a Project, its parent can be in the form `projects/`project_id`` or `projects/`
         | 
| 1782 | 
            +
                    # project_number``.
         | 
| 1763 1783 | 
             
                    # Corresponds to the JSON property `parent`
         | 
| 1764 1784 | 
             
                    # @return [String]
         | 
| 1765 1785 | 
             
                    attr_accessor :parent
         | 
| @@ -1840,9 +1860,10 @@ module Google | |
| 1840 1860 | 
             
                    # @return [String]
         | 
| 1841 1861 | 
             
                    attr_accessor :name
         | 
| 1842 1862 |  | 
| 1843 | 
            -
                    # Output only.  | 
| 1844 | 
            -
                    #  | 
| 1845 | 
            -
                    #  | 
| 1863 | 
            +
                    # Output only. The namespaced name of the TagValue. Can be in the form ``
         | 
| 1864 | 
            +
                    # organization_id`/`tag_key_short_name`/`tag_value_short_name`` or ``project_id`/
         | 
| 1865 | 
            +
                    # `tag_key_short_name`/`tag_value_short_name`` or ``project_number`/`
         | 
| 1866 | 
            +
                    # tag_key_short_name`/`tag_value_short_name``.
         | 
| 1846 1867 | 
             
                    # Corresponds to the JSON property `namespacedName`
         | 
| 1847 1868 | 
             
                    # @return [String]
         | 
| 1848 1869 | 
             
                    attr_accessor :namespaced_name
         | 
| @@ -16,13 +16,13 @@ module Google | |
| 16 16 | 
             
              module Apis
         | 
| 17 17 | 
             
                module CloudresourcemanagerV3
         | 
| 18 18 | 
             
                  # Version of the google-apis-cloudresourcemanager_v3 gem
         | 
| 19 | 
            -
                  GEM_VERSION = "0. | 
| 19 | 
            +
                  GEM_VERSION = "0.43.0"
         | 
| 20 20 |  | 
| 21 21 | 
             
                  # Version of the code generator used to generate this client
         | 
| 22 22 | 
             
                  GENERATOR_VERSION = "0.12.0"
         | 
| 23 23 |  | 
| 24 24 | 
             
                  # Revision of the discovery document this client was generated from
         | 
| 25 | 
            -
                  REVISION = " | 
| 25 | 
            +
                  REVISION = "20230416"
         | 
| 26 26 | 
             
                end
         | 
| 27 27 | 
             
              end
         | 
| 28 28 | 
             
            end
         | 
| @@ -519,6 +519,7 @@ module Google | |
| 519 519 | 
             
                      property :namespaced_tag_key, as: 'namespacedTagKey'
         | 
| 520 520 | 
             
                      property :namespaced_tag_value, as: 'namespacedTagValue'
         | 
| 521 521 | 
             
                      property :tag_key, as: 'tagKey'
         | 
| 522 | 
            +
                      property :tag_key_parent_name, as: 'tagKeyParentName'
         | 
| 522 523 | 
             
                      property :tag_value, as: 'tagValue'
         | 
| 523 524 | 
             
                    end
         | 
| 524 525 | 
             
                  end
         | 
| @@ -812,6 +813,7 @@ module Google | |
| 812 813 | 
             
                      property :name, as: 'name'
         | 
| 813 814 | 
             
                      property :parent, as: 'parent'
         | 
| 814 815 | 
             
                      property :tag_value, as: 'tagValue'
         | 
| 816 | 
            +
                      property :tag_value_namespaced_name, as: 'tagValueNamespacedName'
         | 
| 815 817 | 
             
                    end
         | 
| 816 818 | 
             
                  end
         | 
| 817 819 |  | 
| @@ -1663,6 +1663,40 @@ module Google | |
| 1663 1663 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 1664 1664 | 
             
                    end
         | 
| 1665 1665 |  | 
| 1666 | 
            +
                    # Retrieves a TagKey by its namespaced name. This method will return `
         | 
| 1667 | 
            +
                    # PERMISSION_DENIED` if the key does not exist or the user does not have
         | 
| 1668 | 
            +
                    # permission to view it.
         | 
| 1669 | 
            +
                    # @param [String] name
         | 
| 1670 | 
            +
                    #   Required. A namespaced tag key name in the format ``parentId`/`tagKeyShort``,
         | 
| 1671 | 
            +
                    #   such as `42/foo` for a key with short name "foo" under the organization with
         | 
| 1672 | 
            +
                    #   ID 42 or `r2-d2/bar` for a key with short name "bar" under the project `r2-d2`.
         | 
| 1673 | 
            +
                    # @param [String] fields
         | 
| 1674 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 1675 | 
            +
                    # @param [String] quota_user
         | 
| 1676 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 1677 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 1678 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 1679 | 
            +
                    #   Request-specific options
         | 
| 1680 | 
            +
                    #
         | 
| 1681 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 1682 | 
            +
                    # @yieldparam result [Google::Apis::CloudresourcemanagerV3::TagKey] parsed result object
         | 
| 1683 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 1684 | 
            +
                    #
         | 
| 1685 | 
            +
                    # @return [Google::Apis::CloudresourcemanagerV3::TagKey]
         | 
| 1686 | 
            +
                    #
         | 
| 1687 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 1688 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1689 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1690 | 
            +
                    def get_tag_key_namespaced(name: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1691 | 
            +
                      command = make_simple_command(:get, 'v3/tagKeys/namespaced', options)
         | 
| 1692 | 
            +
                      command.response_representation = Google::Apis::CloudresourcemanagerV3::TagKey::Representation
         | 
| 1693 | 
            +
                      command.response_class = Google::Apis::CloudresourcemanagerV3::TagKey
         | 
| 1694 | 
            +
                      command.query['name'] = name unless name.nil?
         | 
| 1695 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 1696 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 1697 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 1698 | 
            +
                    end
         | 
| 1699 | 
            +
                    
         | 
| 1666 1700 | 
             
                    # Lists all TagKeys for a parent resource.
         | 
| 1667 1701 | 
             
                    # @param [Fixnum] page_size
         | 
| 1668 1702 | 
             
                    #   Optional. The maximum number of TagKeys to return in the response. The server
         | 
| @@ -1672,8 +1706,9 @@ module Google | |
| 1672 1706 | 
             
                    #   Optional. A pagination token returned from a previous call to `ListTagKey`
         | 
| 1673 1707 | 
             
                    #   that indicates where this listing should continue from.
         | 
| 1674 1708 | 
             
                    # @param [String] parent
         | 
| 1675 | 
            -
                    #   Required. The resource name of the  | 
| 1676 | 
            -
                    #    | 
| 1709 | 
            +
                    #   Required. The resource name of the TagKey's parent. Must be of the form `
         | 
| 1710 | 
            +
                    #   organizations/`org_id`` or `projects/`project_id`` or `projects/`
         | 
| 1711 | 
            +
                    #   project_number``
         | 
| 1677 1712 | 
             
                    # @param [String] fields
         | 
| 1678 1713 | 
             
                    #   Selector specifying which fields to include in a partial response.
         | 
| 1679 1714 | 
             
                    # @param [String] quota_user
         | 
| @@ -1966,6 +2001,42 @@ module Google | |
| 1966 2001 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 1967 2002 | 
             
                    end
         | 
| 1968 2003 |  | 
| 2004 | 
            +
                    # Retrieves a TagValue by its namespaced name. This method will return `
         | 
| 2005 | 
            +
                    # PERMISSION_DENIED` if the value does not exist or the user does not have
         | 
| 2006 | 
            +
                    # permission to view it.
         | 
| 2007 | 
            +
                    # @param [String] name
         | 
| 2008 | 
            +
                    #   Required. A namespaced tag value name in the following format: ``parentId`/`
         | 
| 2009 | 
            +
                    #   tagKeyShort`/`tagValueShort`` Examples: - `42/foo/abc` for a value with short
         | 
| 2010 | 
            +
                    #   name "abc" under the key with short name "foo" under the organization with ID
         | 
| 2011 | 
            +
                    #   42 - `r2-d2/bar/xyz` for a value with short name "xyz" under the key with
         | 
| 2012 | 
            +
                    #   short name "bar" under the project with ID "r2-d2"
         | 
| 2013 | 
            +
                    # @param [String] fields
         | 
| 2014 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 2015 | 
            +
                    # @param [String] quota_user
         | 
| 2016 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 2017 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 2018 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 2019 | 
            +
                    #   Request-specific options
         | 
| 2020 | 
            +
                    #
         | 
| 2021 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 2022 | 
            +
                    # @yieldparam result [Google::Apis::CloudresourcemanagerV3::TagValue] parsed result object
         | 
| 2023 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 2024 | 
            +
                    #
         | 
| 2025 | 
            +
                    # @return [Google::Apis::CloudresourcemanagerV3::TagValue]
         | 
| 2026 | 
            +
                    #
         | 
| 2027 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 2028 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2029 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2030 | 
            +
                    def get_tag_value_namespaced(name: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2031 | 
            +
                      command = make_simple_command(:get, 'v3/tagValues/namespaced', options)
         | 
| 2032 | 
            +
                      command.response_representation = Google::Apis::CloudresourcemanagerV3::TagValue::Representation
         | 
| 2033 | 
            +
                      command.response_class = Google::Apis::CloudresourcemanagerV3::TagValue
         | 
| 2034 | 
            +
                      command.query['name'] = name unless name.nil?
         | 
| 2035 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 2036 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 2037 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 2038 | 
            +
                    end
         | 
| 2039 | 
            +
                    
         | 
| 1969 2040 | 
             
                    # Lists all TagValues for a specific TagKey.
         | 
| 1970 2041 | 
             
                    # @param [Fixnum] page_size
         | 
| 1971 2042 | 
             
                    #   Optional. The maximum number of TagValues to return in the response. The
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-apis-cloudresourcemanager_v3
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.43.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: 2023- | 
| 11 | 
            +
            date: 2023-04-23 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/main/generated/google-apis-cloudresourcemanager_v3/CHANGELOG.md
         | 
| 61 | 
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v3/v0. | 
| 61 | 
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v3/v0.43.0
         | 
| 62 62 | 
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudresourcemanager_v3
         | 
| 63 63 | 
             
            post_install_message: 
         | 
| 64 64 | 
             
            rdoc_options: []
         |