google-apis-artifactregistry_v1 0.66.0 → 0.67.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 +4 -0
- data/lib/google/apis/artifactregistry_v1/classes.rb +243 -0
- data/lib/google/apis/artifactregistry_v1/gem_version.rb +2 -2
- data/lib/google/apis/artifactregistry_v1/representations.rb +98 -0
- data/lib/google/apis/artifactregistry_v1/service.rb +436 -0
- 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: 9112a054b63457ec8727c6efef0201c14df6040e92e2c28274763449649c4775
         | 
| 4 | 
            +
              data.tar.gz: 89a2608b8f9173de6bec99bcc1108927acdcc62db8f17deee2c193dd27201d75
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 7bb7c373a8b3996349de763dcaac022e3003a542f67d60d4aafbe28d20fc3b0d1935038b3c09164115ba1b0e595aa81a8888bbb86b198f1352be715d9b960747
         | 
| 7 | 
            +
              data.tar.gz: ae9851056847527d5b6aecfc7af138953b5ab1147e55c36c3ff1652408b5c0db45f9755fb87261030f8be8b00972b0d8f57ca784d4a2177652c320a75fa899ef
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    
| @@ -100,6 +100,85 @@ module Google | |
| 100 100 | 
             
                    end
         | 
| 101 101 | 
             
                  end
         | 
| 102 102 |  | 
| 103 | 
            +
                  # An Attachment refers to additional metadata that can be attached to artifacts
         | 
| 104 | 
            +
                  # in ArtifactRegistry. An attachment consists of one or more files.
         | 
| 105 | 
            +
                  class Attachment
         | 
| 106 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 107 | 
            +
                  
         | 
| 108 | 
            +
                    # Optional. User annotations. These attributes can only be set and used by the
         | 
| 109 | 
            +
                    # user, and not by Artifact Registry. See https://google.aip.dev/128#annotations
         | 
| 110 | 
            +
                    # for more details such as format and size limitations. Client specified
         | 
| 111 | 
            +
                    # annotations.
         | 
| 112 | 
            +
                    # Corresponds to the JSON property `annotations`
         | 
| 113 | 
            +
                    # @return [Hash<String,String>]
         | 
| 114 | 
            +
                    attr_accessor :annotations
         | 
| 115 | 
            +
                  
         | 
| 116 | 
            +
                    # The namespace this attachment belongs to. E.g. If an Attachment is created by
         | 
| 117 | 
            +
                    # artifact analysis, namespace is set to artifactanalysis.googleapis.com.
         | 
| 118 | 
            +
                    # Corresponds to the JSON property `attachmentNamespace`
         | 
| 119 | 
            +
                    # @return [String]
         | 
| 120 | 
            +
                    attr_accessor :attachment_namespace
         | 
| 121 | 
            +
                  
         | 
| 122 | 
            +
                    # Output only. The time when the attachment was created.
         | 
| 123 | 
            +
                    # Corresponds to the JSON property `createTime`
         | 
| 124 | 
            +
                    # @return [String]
         | 
| 125 | 
            +
                    attr_accessor :create_time
         | 
| 126 | 
            +
                  
         | 
| 127 | 
            +
                    # Required. The files that blong to this Attachment. If the file ID part
         | 
| 128 | 
            +
                    # contains slashes, they are escaped. E.g. "projects/p1/locations/us-central1/
         | 
| 129 | 
            +
                    # repositories/repo1/files/sha:".
         | 
| 130 | 
            +
                    # Corresponds to the JSON property `files`
         | 
| 131 | 
            +
                    # @return [Array<String>]
         | 
| 132 | 
            +
                    attr_accessor :files
         | 
| 133 | 
            +
                  
         | 
| 134 | 
            +
                    # The name of the attachment. E.g. "projects/p1/locations/us/repositories/repo/
         | 
| 135 | 
            +
                    # attachments/sbom".
         | 
| 136 | 
            +
                    # Corresponds to the JSON property `name`
         | 
| 137 | 
            +
                    # @return [String]
         | 
| 138 | 
            +
                    attr_accessor :name
         | 
| 139 | 
            +
                  
         | 
| 140 | 
            +
                    # Output only. The name of the OCI version that this attachment created. Only
         | 
| 141 | 
            +
                    # populated for Docker attachments. E.g. "projects/p1/locations/us-central1/
         | 
| 142 | 
            +
                    # repositories/repo1/packages/p1/versions/v1".
         | 
| 143 | 
            +
                    # Corresponds to the JSON property `ociVersionName`
         | 
| 144 | 
            +
                    # @return [String]
         | 
| 145 | 
            +
                    attr_accessor :oci_version_name
         | 
| 146 | 
            +
                  
         | 
| 147 | 
            +
                    # Required. The target the attachment is for, can be a Version, Package or
         | 
| 148 | 
            +
                    # Repository. E.g. "projects/p1/locations/us-central1/repositories/repo1/
         | 
| 149 | 
            +
                    # packages/p1/versions/v1".
         | 
| 150 | 
            +
                    # Corresponds to the JSON property `target`
         | 
| 151 | 
            +
                    # @return [String]
         | 
| 152 | 
            +
                    attr_accessor :target
         | 
| 153 | 
            +
                  
         | 
| 154 | 
            +
                    # Type of Attachment. E.g. application/vnd.spdx+jsonn
         | 
| 155 | 
            +
                    # Corresponds to the JSON property `type`
         | 
| 156 | 
            +
                    # @return [String]
         | 
| 157 | 
            +
                    attr_accessor :type
         | 
| 158 | 
            +
                  
         | 
| 159 | 
            +
                    # Output only. The time when the attachment was last updated.
         | 
| 160 | 
            +
                    # Corresponds to the JSON property `updateTime`
         | 
| 161 | 
            +
                    # @return [String]
         | 
| 162 | 
            +
                    attr_accessor :update_time
         | 
| 163 | 
            +
                  
         | 
| 164 | 
            +
                    def initialize(**args)
         | 
| 165 | 
            +
                       update!(**args)
         | 
| 166 | 
            +
                    end
         | 
| 167 | 
            +
                  
         | 
| 168 | 
            +
                    # Update properties of this object
         | 
| 169 | 
            +
                    def update!(**args)
         | 
| 170 | 
            +
                      @annotations = args[:annotations] if args.key?(:annotations)
         | 
| 171 | 
            +
                      @attachment_namespace = args[:attachment_namespace] if args.key?(:attachment_namespace)
         | 
| 172 | 
            +
                      @create_time = args[:create_time] if args.key?(:create_time)
         | 
| 173 | 
            +
                      @files = args[:files] if args.key?(:files)
         | 
| 174 | 
            +
                      @name = args[:name] if args.key?(:name)
         | 
| 175 | 
            +
                      @oci_version_name = args[:oci_version_name] if args.key?(:oci_version_name)
         | 
| 176 | 
            +
                      @target = args[:target] if args.key?(:target)
         | 
| 177 | 
            +
                      @type = args[:type] if args.key?(:type)
         | 
| 178 | 
            +
                      @update_time = args[:update_time] if args.key?(:update_time)
         | 
| 179 | 
            +
                    end
         | 
| 180 | 
            +
                  end
         | 
| 181 | 
            +
                  
         | 
| 103 182 | 
             
                  # The metadata of an LRO from deleting multiple versions.
         | 
| 104 183 | 
             
                  class BatchDeleteVersionsMetadata
         | 
| 105 184 | 
             
                    include Google::Apis::Core::Hashable
         | 
| @@ -706,6 +785,11 @@ module Google | |
| 706 785 | 
             
                  class GoogleDevtoolsArtifactregistryV1File
         | 
| 707 786 | 
             
                    include Google::Apis::Core::Hashable
         | 
| 708 787 |  | 
| 788 | 
            +
                    # Optional. Client specified annotations.
         | 
| 789 | 
            +
                    # Corresponds to the JSON property `annotations`
         | 
| 790 | 
            +
                    # @return [Hash<String,String>]
         | 
| 791 | 
            +
                    attr_accessor :annotations
         | 
| 792 | 
            +
                  
         | 
| 709 793 | 
             
                    # Output only. The time when the File was created.
         | 
| 710 794 | 
             
                    # Corresponds to the JSON property `createTime`
         | 
| 711 795 | 
             
                    # @return [String]
         | 
| @@ -750,6 +834,7 @@ module Google | |
| 750 834 |  | 
| 751 835 | 
             
                    # Update properties of this object
         | 
| 752 836 | 
             
                    def update!(**args)
         | 
| 837 | 
            +
                      @annotations = args[:annotations] if args.key?(:annotations)
         | 
| 753 838 | 
             
                      @create_time = args[:create_time] if args.key?(:create_time)
         | 
| 754 839 | 
             
                      @fetch_time = args[:fetch_time] if args.key?(:fetch_time)
         | 
| 755 840 | 
             
                      @hashes = args[:hashes] if args.key?(:hashes)
         | 
| @@ -932,6 +1017,66 @@ module Google | |
| 932 1017 | 
             
                    end
         | 
| 933 1018 | 
             
                  end
         | 
| 934 1019 |  | 
| 1020 | 
            +
                  # A Rule applies to repository or package level. It defines the deny or allow
         | 
| 1021 | 
            +
                  # action of the operation when the conditions in the rule are met.
         | 
| 1022 | 
            +
                  class GoogleDevtoolsArtifactregistryV1Rule
         | 
| 1023 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 1024 | 
            +
                  
         | 
| 1025 | 
            +
                    # The action this rule makes.
         | 
| 1026 | 
            +
                    # Corresponds to the JSON property `action`
         | 
| 1027 | 
            +
                    # @return [String]
         | 
| 1028 | 
            +
                    attr_accessor :action
         | 
| 1029 | 
            +
                  
         | 
| 1030 | 
            +
                    # Represents a textual expression in the Common Expression Language (CEL) syntax.
         | 
| 1031 | 
            +
                    # CEL is a C-like expression language. The syntax and semantics of CEL are
         | 
| 1032 | 
            +
                    # documented at https://github.com/google/cel-spec. Example (Comparison): title:
         | 
| 1033 | 
            +
                    # "Summary size limit" description: "Determines if a summary is less than 100
         | 
| 1034 | 
            +
                    # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
         | 
| 1035 | 
            +
                    # Requestor is owner" description: "Determines if requestor is the document
         | 
| 1036 | 
            +
                    # owner" expression: "document.owner == request.auth.claims.email" Example (
         | 
| 1037 | 
            +
                    # Logic): title: "Public documents" description: "Determine whether the document
         | 
| 1038 | 
            +
                    # should be publicly visible" expression: "document.type != 'private' &&
         | 
| 1039 | 
            +
                    # document.type != 'internal'" Example (Data Manipulation): title: "Notification
         | 
| 1040 | 
            +
                    # string" description: "Create a notification string with a timestamp."
         | 
| 1041 | 
            +
                    # expression: "'New message received at ' + string(document.create_time)" The
         | 
| 1042 | 
            +
                    # exact variables and functions that may be referenced within an expression are
         | 
| 1043 | 
            +
                    # determined by the service that evaluates it. See the service documentation for
         | 
| 1044 | 
            +
                    # additional information.
         | 
| 1045 | 
            +
                    # Corresponds to the JSON property `condition`
         | 
| 1046 | 
            +
                    # @return [Google::Apis::ArtifactregistryV1::Expr]
         | 
| 1047 | 
            +
                    attr_accessor :condition
         | 
| 1048 | 
            +
                  
         | 
| 1049 | 
            +
                    # The name of the rule, for example: "projects/p1/locations/us-central1/
         | 
| 1050 | 
            +
                    # repositories/repo1/rules/rule1".
         | 
| 1051 | 
            +
                    # Corresponds to the JSON property `name`
         | 
| 1052 | 
            +
                    # @return [String]
         | 
| 1053 | 
            +
                    attr_accessor :name
         | 
| 1054 | 
            +
                  
         | 
| 1055 | 
            +
                    # 
         | 
| 1056 | 
            +
                    # Corresponds to the JSON property `operation`
         | 
| 1057 | 
            +
                    # @return [String]
         | 
| 1058 | 
            +
                    attr_accessor :operation
         | 
| 1059 | 
            +
                  
         | 
| 1060 | 
            +
                    # The package ID the rule applies to. If empty, this rule applies to all the
         | 
| 1061 | 
            +
                    # packages inside the repository.
         | 
| 1062 | 
            +
                    # Corresponds to the JSON property `packageId`
         | 
| 1063 | 
            +
                    # @return [String]
         | 
| 1064 | 
            +
                    attr_accessor :package_id
         | 
| 1065 | 
            +
                  
         | 
| 1066 | 
            +
                    def initialize(**args)
         | 
| 1067 | 
            +
                       update!(**args)
         | 
| 1068 | 
            +
                    end
         | 
| 1069 | 
            +
                  
         | 
| 1070 | 
            +
                    # Update properties of this object
         | 
| 1071 | 
            +
                    def update!(**args)
         | 
| 1072 | 
            +
                      @action = args[:action] if args.key?(:action)
         | 
| 1073 | 
            +
                      @condition = args[:condition] if args.key?(:condition)
         | 
| 1074 | 
            +
                      @name = args[:name] if args.key?(:name)
         | 
| 1075 | 
            +
                      @operation = args[:operation] if args.key?(:operation)
         | 
| 1076 | 
            +
                      @package_id = args[:package_id] if args.key?(:package_id)
         | 
| 1077 | 
            +
                    end
         | 
| 1078 | 
            +
                  end
         | 
| 1079 | 
            +
                  
         | 
| 935 1080 | 
             
                  # A hash of file content.
         | 
| 936 1081 | 
             
                  class HashProp
         | 
| 937 1082 | 
             
                    include Google::Apis::Core::Hashable
         | 
| @@ -1326,6 +1471,32 @@ module Google | |
| 1326 1471 | 
             
                    end
         | 
| 1327 1472 | 
             
                  end
         | 
| 1328 1473 |  | 
| 1474 | 
            +
                  # The response from listing attachments.
         | 
| 1475 | 
            +
                  class ListAttachmentsResponse
         | 
| 1476 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 1477 | 
            +
                  
         | 
| 1478 | 
            +
                    # The Attachments returned.
         | 
| 1479 | 
            +
                    # Corresponds to the JSON property `attachments`
         | 
| 1480 | 
            +
                    # @return [Array<Google::Apis::ArtifactregistryV1::Attachment>]
         | 
| 1481 | 
            +
                    attr_accessor :attachments
         | 
| 1482 | 
            +
                  
         | 
| 1483 | 
            +
                    # The token to retrieve the next page of attachments, or empty if there are no
         | 
| 1484 | 
            +
                    # more attachments to return.
         | 
| 1485 | 
            +
                    # Corresponds to the JSON property `nextPageToken`
         | 
| 1486 | 
            +
                    # @return [String]
         | 
| 1487 | 
            +
                    attr_accessor :next_page_token
         | 
| 1488 | 
            +
                  
         | 
| 1489 | 
            +
                    def initialize(**args)
         | 
| 1490 | 
            +
                       update!(**args)
         | 
| 1491 | 
            +
                    end
         | 
| 1492 | 
            +
                  
         | 
| 1493 | 
            +
                    # Update properties of this object
         | 
| 1494 | 
            +
                    def update!(**args)
         | 
| 1495 | 
            +
                      @attachments = args[:attachments] if args.key?(:attachments)
         | 
| 1496 | 
            +
                      @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
         | 
| 1497 | 
            +
                    end
         | 
| 1498 | 
            +
                  end
         | 
| 1499 | 
            +
                  
         | 
| 1329 1500 | 
             
                  # The response from listing docker images.
         | 
| 1330 1501 | 
             
                  class ListDockerImagesResponse
         | 
| 1331 1502 | 
             
                    include Google::Apis::Core::Hashable
         | 
| @@ -1533,6 +1704,32 @@ module Google | |
| 1533 1704 | 
             
                    end
         | 
| 1534 1705 | 
             
                  end
         | 
| 1535 1706 |  | 
| 1707 | 
            +
                  # The response from listing rules.
         | 
| 1708 | 
            +
                  class ListRulesResponse
         | 
| 1709 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 1710 | 
            +
                  
         | 
| 1711 | 
            +
                    # The token to retrieve the next page of rules, or empty if there are no more
         | 
| 1712 | 
            +
                    # rules to return.
         | 
| 1713 | 
            +
                    # Corresponds to the JSON property `nextPageToken`
         | 
| 1714 | 
            +
                    # @return [String]
         | 
| 1715 | 
            +
                    attr_accessor :next_page_token
         | 
| 1716 | 
            +
                  
         | 
| 1717 | 
            +
                    # The rules returned.
         | 
| 1718 | 
            +
                    # Corresponds to the JSON property `rules`
         | 
| 1719 | 
            +
                    # @return [Array<Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1Rule>]
         | 
| 1720 | 
            +
                    attr_accessor :rules
         | 
| 1721 | 
            +
                  
         | 
| 1722 | 
            +
                    def initialize(**args)
         | 
| 1723 | 
            +
                       update!(**args)
         | 
| 1724 | 
            +
                    end
         | 
| 1725 | 
            +
                  
         | 
| 1726 | 
            +
                    # Update properties of this object
         | 
| 1727 | 
            +
                    def update!(**args)
         | 
| 1728 | 
            +
                      @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
         | 
| 1729 | 
            +
                      @rules = args[:rules] if args.key?(:rules)
         | 
| 1730 | 
            +
                    end
         | 
| 1731 | 
            +
                  end
         | 
| 1732 | 
            +
                  
         | 
| 1536 1733 | 
             
                  # The response from listing tags.
         | 
| 1537 1734 | 
             
                  class ListTagsResponse
         | 
| 1538 1735 | 
             
                    include Google::Apis::Core::Hashable
         | 
| @@ -2599,6 +2796,46 @@ module Google | |
| 2599 2796 | 
             
                    end
         | 
| 2600 2797 | 
             
                  end
         | 
| 2601 2798 |  | 
| 2799 | 
            +
                  # The response to upload a generic artifact.
         | 
| 2800 | 
            +
                  class UploadFileMediaResponse
         | 
| 2801 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 2802 | 
            +
                  
         | 
| 2803 | 
            +
                    # This resource represents a long-running operation that is the result of a
         | 
| 2804 | 
            +
                    # network API call.
         | 
| 2805 | 
            +
                    # Corresponds to the JSON property `operation`
         | 
| 2806 | 
            +
                    # @return [Google::Apis::ArtifactregistryV1::Operation]
         | 
| 2807 | 
            +
                    attr_accessor :operation
         | 
| 2808 | 
            +
                  
         | 
| 2809 | 
            +
                    def initialize(**args)
         | 
| 2810 | 
            +
                       update!(**args)
         | 
| 2811 | 
            +
                    end
         | 
| 2812 | 
            +
                  
         | 
| 2813 | 
            +
                    # Update properties of this object
         | 
| 2814 | 
            +
                    def update!(**args)
         | 
| 2815 | 
            +
                      @operation = args[:operation] if args.key?(:operation)
         | 
| 2816 | 
            +
                    end
         | 
| 2817 | 
            +
                  end
         | 
| 2818 | 
            +
                  
         | 
| 2819 | 
            +
                  # The request to upload a file.
         | 
| 2820 | 
            +
                  class UploadFileRequest
         | 
| 2821 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 2822 | 
            +
                  
         | 
| 2823 | 
            +
                    # Optional. The ID of the file. If left empty will default to sha256 digest of
         | 
| 2824 | 
            +
                    # the content uploaded.
         | 
| 2825 | 
            +
                    # Corresponds to the JSON property `fileId`
         | 
| 2826 | 
            +
                    # @return [String]
         | 
| 2827 | 
            +
                    attr_accessor :file_id
         | 
| 2828 | 
            +
                  
         | 
| 2829 | 
            +
                    def initialize(**args)
         | 
| 2830 | 
            +
                       update!(**args)
         | 
| 2831 | 
            +
                    end
         | 
| 2832 | 
            +
                  
         | 
| 2833 | 
            +
                    # Update properties of this object
         | 
| 2834 | 
            +
                    def update!(**args)
         | 
| 2835 | 
            +
                      @file_id = args[:file_id] if args.key?(:file_id)
         | 
| 2836 | 
            +
                    end
         | 
| 2837 | 
            +
                  end
         | 
| 2838 | 
            +
                  
         | 
| 2602 2839 | 
             
                  # The response to upload a generic artifact.
         | 
| 2603 2840 | 
             
                  class UploadGenericArtifactMediaResponse
         | 
| 2604 2841 | 
             
                    include Google::Apis::Core::Hashable
         | 
| @@ -3023,6 +3260,11 @@ module Google | |
| 3023 3260 | 
             
                  class Version
         | 
| 3024 3261 | 
             
                    include Google::Apis::Core::Hashable
         | 
| 3025 3262 |  | 
| 3263 | 
            +
                    # Optional. Client specified annotations.
         | 
| 3264 | 
            +
                    # Corresponds to the JSON property `annotations`
         | 
| 3265 | 
            +
                    # @return [Hash<String,String>]
         | 
| 3266 | 
            +
                    attr_accessor :annotations
         | 
| 3267 | 
            +
                  
         | 
| 3026 3268 | 
             
                    # The time when the version was created.
         | 
| 3027 3269 | 
             
                    # Corresponds to the JSON property `createTime`
         | 
| 3028 3270 | 
             
                    # @return [String]
         | 
| @@ -3064,6 +3306,7 @@ module Google | |
| 3064 3306 |  | 
| 3065 3307 | 
             
                    # Update properties of this object
         | 
| 3066 3308 | 
             
                    def update!(**args)
         | 
| 3309 | 
            +
                      @annotations = args[:annotations] if args.key?(:annotations)
         | 
| 3067 3310 | 
             
                      @create_time = args[:create_time] if args.key?(:create_time)
         | 
| 3068 3311 | 
             
                      @description = args[:description] if args.key?(:description)
         | 
| 3069 3312 | 
             
                      @metadata = args[:metadata] if args.key?(:metadata)
         | 
| @@ -16,13 +16,13 @@ module Google | |
| 16 16 | 
             
              module Apis
         | 
| 17 17 | 
             
                module ArtifactregistryV1
         | 
| 18 18 | 
             
                  # Version of the google-apis-artifactregistry_v1 gem
         | 
| 19 | 
            -
                  GEM_VERSION = "0. | 
| 19 | 
            +
                  GEM_VERSION = "0.67.0"
         | 
| 20 20 |  | 
| 21 21 | 
             
                  # Version of the code generator used to generate this client
         | 
| 22 22 | 
             
                  GENERATOR_VERSION = "0.15.1"
         | 
| 23 23 |  | 
| 24 24 | 
             
                  # Revision of the discovery document this client was generated from
         | 
| 25 | 
            -
                  REVISION = " | 
| 25 | 
            +
                  REVISION = "20240923"
         | 
| 26 26 | 
             
                end
         | 
| 27 27 | 
             
              end
         | 
| 28 28 | 
             
            end
         | 
| @@ -34,6 +34,12 @@ module Google | |
| 34 34 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 35 35 | 
             
                  end
         | 
| 36 36 |  | 
| 37 | 
            +
                  class Attachment
         | 
| 38 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 39 | 
            +
                  
         | 
| 40 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 41 | 
            +
                  end
         | 
| 42 | 
            +
                  
         | 
| 37 43 | 
             
                  class BatchDeleteVersionsMetadata
         | 
| 38 44 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 39 45 |  | 
| @@ -184,6 +190,12 @@ module Google | |
| 184 190 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 185 191 | 
             
                  end
         | 
| 186 192 |  | 
| 193 | 
            +
                  class GoogleDevtoolsArtifactregistryV1Rule
         | 
| 194 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 195 | 
            +
                  
         | 
| 196 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 197 | 
            +
                  end
         | 
| 198 | 
            +
                  
         | 
| 187 199 | 
             
                  class HashProp
         | 
| 188 200 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 189 201 |  | 
| @@ -286,6 +298,12 @@ module Google | |
| 286 298 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 287 299 | 
             
                  end
         | 
| 288 300 |  | 
| 301 | 
            +
                  class ListAttachmentsResponse
         | 
| 302 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 303 | 
            +
                  
         | 
| 304 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 305 | 
            +
                  end
         | 
| 306 | 
            +
                  
         | 
| 289 307 | 
             
                  class ListDockerImagesResponse
         | 
| 290 308 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 291 309 |  | 
| @@ -334,6 +352,12 @@ module Google | |
| 334 352 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 335 353 | 
             
                  end
         | 
| 336 354 |  | 
| 355 | 
            +
                  class ListRulesResponse
         | 
| 356 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 357 | 
            +
                  
         | 
| 358 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 359 | 
            +
                  end
         | 
| 360 | 
            +
                  
         | 
| 337 361 | 
             
                  class ListTagsResponse
         | 
| 338 362 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 339 363 |  | 
| @@ -496,6 +520,18 @@ module Google | |
| 496 520 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 497 521 | 
             
                  end
         | 
| 498 522 |  | 
| 523 | 
            +
                  class UploadFileMediaResponse
         | 
| 524 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 525 | 
            +
                  
         | 
| 526 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 527 | 
            +
                  end
         | 
| 528 | 
            +
                  
         | 
| 529 | 
            +
                  class UploadFileRequest
         | 
| 530 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 531 | 
            +
                  
         | 
| 532 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 533 | 
            +
                  end
         | 
| 534 | 
            +
                  
         | 
| 499 535 | 
             
                  class UploadGenericArtifactMediaResponse
         | 
| 500 536 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 501 537 |  | 
| @@ -668,6 +704,21 @@ module Google | |
| 668 704 | 
             
                    end
         | 
| 669 705 | 
             
                  end
         | 
| 670 706 |  | 
| 707 | 
            +
                  class Attachment
         | 
| 708 | 
            +
                    # @private
         | 
| 709 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 710 | 
            +
                      hash :annotations, as: 'annotations'
         | 
| 711 | 
            +
                      property :attachment_namespace, as: 'attachmentNamespace'
         | 
| 712 | 
            +
                      property :create_time, as: 'createTime'
         | 
| 713 | 
            +
                      collection :files, as: 'files'
         | 
| 714 | 
            +
                      property :name, as: 'name'
         | 
| 715 | 
            +
                      property :oci_version_name, as: 'ociVersionName'
         | 
| 716 | 
            +
                      property :target, as: 'target'
         | 
| 717 | 
            +
                      property :type, as: 'type'
         | 
| 718 | 
            +
                      property :update_time, as: 'updateTime'
         | 
| 719 | 
            +
                    end
         | 
| 720 | 
            +
                  end
         | 
| 721 | 
            +
                  
         | 
| 671 722 | 
             
                  class BatchDeleteVersionsMetadata
         | 
| 672 723 | 
             
                    # @private
         | 
| 673 724 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -816,6 +867,7 @@ module Google | |
| 816 867 | 
             
                  class GoogleDevtoolsArtifactregistryV1File
         | 
| 817 868 | 
             
                    # @private
         | 
| 818 869 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 870 | 
            +
                      hash :annotations, as: 'annotations'
         | 
| 819 871 | 
             
                      property :create_time, as: 'createTime'
         | 
| 820 872 | 
             
                      property :fetch_time, as: 'fetchTime'
         | 
| 821 873 | 
             
                      collection :hashes, as: 'hashes', class: Google::Apis::ArtifactregistryV1::HashProp, decorator: Google::Apis::ArtifactregistryV1::HashProp::Representation
         | 
| @@ -885,6 +937,18 @@ module Google | |
| 885 937 | 
             
                    end
         | 
| 886 938 | 
             
                  end
         | 
| 887 939 |  | 
| 940 | 
            +
                  class GoogleDevtoolsArtifactregistryV1Rule
         | 
| 941 | 
            +
                    # @private
         | 
| 942 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 943 | 
            +
                      property :action, as: 'action'
         | 
| 944 | 
            +
                      property :condition, as: 'condition', class: Google::Apis::ArtifactregistryV1::Expr, decorator: Google::Apis::ArtifactregistryV1::Expr::Representation
         | 
| 945 | 
            +
                  
         | 
| 946 | 
            +
                      property :name, as: 'name'
         | 
| 947 | 
            +
                      property :operation, as: 'operation'
         | 
| 948 | 
            +
                      property :package_id, as: 'packageId'
         | 
| 949 | 
            +
                    end
         | 
| 950 | 
            +
                  end
         | 
| 951 | 
            +
                  
         | 
| 888 952 | 
             
                  class HashProp
         | 
| 889 953 | 
             
                    # @private
         | 
| 890 954 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -1027,6 +1091,15 @@ module Google | |
| 1027 1091 | 
             
                    end
         | 
| 1028 1092 | 
             
                  end
         | 
| 1029 1093 |  | 
| 1094 | 
            +
                  class ListAttachmentsResponse
         | 
| 1095 | 
            +
                    # @private
         | 
| 1096 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 1097 | 
            +
                      collection :attachments, as: 'attachments', class: Google::Apis::ArtifactregistryV1::Attachment, decorator: Google::Apis::ArtifactregistryV1::Attachment::Representation
         | 
| 1098 | 
            +
                  
         | 
| 1099 | 
            +
                      property :next_page_token, as: 'nextPageToken'
         | 
| 1100 | 
            +
                    end
         | 
| 1101 | 
            +
                  end
         | 
| 1102 | 
            +
                  
         | 
| 1030 1103 | 
             
                  class ListDockerImagesResponse
         | 
| 1031 1104 | 
             
                    # @private
         | 
| 1032 1105 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -1099,6 +1172,15 @@ module Google | |
| 1099 1172 | 
             
                    end
         | 
| 1100 1173 | 
             
                  end
         | 
| 1101 1174 |  | 
| 1175 | 
            +
                  class ListRulesResponse
         | 
| 1176 | 
            +
                    # @private
         | 
| 1177 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 1178 | 
            +
                      property :next_page_token, as: 'nextPageToken'
         | 
| 1179 | 
            +
                      collection :rules, as: 'rules', class: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1Rule, decorator: Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1Rule::Representation
         | 
| 1180 | 
            +
                  
         | 
| 1181 | 
            +
                    end
         | 
| 1182 | 
            +
                  end
         | 
| 1183 | 
            +
                  
         | 
| 1102 1184 | 
             
                  class ListTagsResponse
         | 
| 1103 1185 | 
             
                    # @private
         | 
| 1104 1186 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -1374,6 +1456,21 @@ module Google | |
| 1374 1456 | 
             
                    end
         | 
| 1375 1457 | 
             
                  end
         | 
| 1376 1458 |  | 
| 1459 | 
            +
                  class UploadFileMediaResponse
         | 
| 1460 | 
            +
                    # @private
         | 
| 1461 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 1462 | 
            +
                      property :operation, as: 'operation', class: Google::Apis::ArtifactregistryV1::Operation, decorator: Google::Apis::ArtifactregistryV1::Operation::Representation
         | 
| 1463 | 
            +
                  
         | 
| 1464 | 
            +
                    end
         | 
| 1465 | 
            +
                  end
         | 
| 1466 | 
            +
                  
         | 
| 1467 | 
            +
                  class UploadFileRequest
         | 
| 1468 | 
            +
                    # @private
         | 
| 1469 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 1470 | 
            +
                      property :file_id, as: 'fileId'
         | 
| 1471 | 
            +
                    end
         | 
| 1472 | 
            +
                  end
         | 
| 1473 | 
            +
                  
         | 
| 1377 1474 | 
             
                  class UploadGenericArtifactMediaResponse
         | 
| 1378 1475 | 
             
                    # @private
         | 
| 1379 1476 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -1531,6 +1628,7 @@ module Google | |
| 1531 1628 | 
             
                  class Version
         | 
| 1532 1629 | 
             
                    # @private
         | 
| 1533 1630 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 1631 | 
            +
                      hash :annotations, as: 'annotations'
         | 
| 1534 1632 | 
             
                      property :create_time, as: 'createTime'
         | 
| 1535 1633 | 
             
                      property :description, as: 'description'
         | 
| 1536 1634 | 
             
                      hash :metadata, as: 'metadata'
         | 
| @@ -677,6 +677,146 @@ module Google | |
| 677 677 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 678 678 | 
             
                    end
         | 
| 679 679 |  | 
| 680 | 
            +
                    # Creates an attachment. The returned Operation will finish once the attachment
         | 
| 681 | 
            +
                    # has been created. Its response will be the created Attachment.
         | 
| 682 | 
            +
                    # @param [String] parent
         | 
| 683 | 
            +
                    #   Required. The name of the parent resource where the attachment will be created.
         | 
| 684 | 
            +
                    # @param [Google::Apis::ArtifactregistryV1::Attachment] attachment_object
         | 
| 685 | 
            +
                    # @param [String] attachment_id
         | 
| 686 | 
            +
                    #   Required. The attachment id to use for this attachment.
         | 
| 687 | 
            +
                    # @param [String] fields
         | 
| 688 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 689 | 
            +
                    # @param [String] quota_user
         | 
| 690 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 691 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 692 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 693 | 
            +
                    #   Request-specific options
         | 
| 694 | 
            +
                    #
         | 
| 695 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 696 | 
            +
                    # @yieldparam result [Google::Apis::ArtifactregistryV1::Operation] parsed result object
         | 
| 697 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 698 | 
            +
                    #
         | 
| 699 | 
            +
                    # @return [Google::Apis::ArtifactregistryV1::Operation]
         | 
| 700 | 
            +
                    #
         | 
| 701 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 702 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 703 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 704 | 
            +
                    def create_project_location_repository_attachment(parent, attachment_object = nil, attachment_id: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 705 | 
            +
                      command = make_simple_command(:post, 'v1/{+parent}/attachments', options)
         | 
| 706 | 
            +
                      command.request_representation = Google::Apis::ArtifactregistryV1::Attachment::Representation
         | 
| 707 | 
            +
                      command.request_object = attachment_object
         | 
| 708 | 
            +
                      command.response_representation = Google::Apis::ArtifactregistryV1::Operation::Representation
         | 
| 709 | 
            +
                      command.response_class = Google::Apis::ArtifactregistryV1::Operation
         | 
| 710 | 
            +
                      command.params['parent'] = parent unless parent.nil?
         | 
| 711 | 
            +
                      command.query['attachmentId'] = attachment_id unless attachment_id.nil?
         | 
| 712 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 713 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 714 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 715 | 
            +
                    end
         | 
| 716 | 
            +
                    
         | 
| 717 | 
            +
                    # Deletes an attachment. The returned Operation will finish once the attachments
         | 
| 718 | 
            +
                    # has been deleted. It will not have any Operation metadata and will return a
         | 
| 719 | 
            +
                    # google.protobuf.Empty response.
         | 
| 720 | 
            +
                    # @param [String] name
         | 
| 721 | 
            +
                    #   Required. The name of the attachment to delete.
         | 
| 722 | 
            +
                    # @param [String] fields
         | 
| 723 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 724 | 
            +
                    # @param [String] quota_user
         | 
| 725 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 726 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 727 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 728 | 
            +
                    #   Request-specific options
         | 
| 729 | 
            +
                    #
         | 
| 730 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 731 | 
            +
                    # @yieldparam result [Google::Apis::ArtifactregistryV1::Operation] parsed result object
         | 
| 732 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 733 | 
            +
                    #
         | 
| 734 | 
            +
                    # @return [Google::Apis::ArtifactregistryV1::Operation]
         | 
| 735 | 
            +
                    #
         | 
| 736 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 737 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 738 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 739 | 
            +
                    def delete_project_location_repository_attachment(name, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 740 | 
            +
                      command = make_simple_command(:delete, 'v1/{+name}', options)
         | 
| 741 | 
            +
                      command.response_representation = Google::Apis::ArtifactregistryV1::Operation::Representation
         | 
| 742 | 
            +
                      command.response_class = Google::Apis::ArtifactregistryV1::Operation
         | 
| 743 | 
            +
                      command.params['name'] = name unless name.nil?
         | 
| 744 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 745 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 746 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 747 | 
            +
                    end
         | 
| 748 | 
            +
                    
         | 
| 749 | 
            +
                    # Gets an attachment.
         | 
| 750 | 
            +
                    # @param [String] name
         | 
| 751 | 
            +
                    #   Required. The name of the attachment to retrieve.
         | 
| 752 | 
            +
                    # @param [String] fields
         | 
| 753 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 754 | 
            +
                    # @param [String] quota_user
         | 
| 755 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 756 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 757 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 758 | 
            +
                    #   Request-specific options
         | 
| 759 | 
            +
                    #
         | 
| 760 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 761 | 
            +
                    # @yieldparam result [Google::Apis::ArtifactregistryV1::Attachment] parsed result object
         | 
| 762 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 763 | 
            +
                    #
         | 
| 764 | 
            +
                    # @return [Google::Apis::ArtifactregistryV1::Attachment]
         | 
| 765 | 
            +
                    #
         | 
| 766 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 767 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 768 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 769 | 
            +
                    def get_project_location_repository_attachment(name, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 770 | 
            +
                      command = make_simple_command(:get, 'v1/{+name}', options)
         | 
| 771 | 
            +
                      command.response_representation = Google::Apis::ArtifactregistryV1::Attachment::Representation
         | 
| 772 | 
            +
                      command.response_class = Google::Apis::ArtifactregistryV1::Attachment
         | 
| 773 | 
            +
                      command.params['name'] = name unless name.nil?
         | 
| 774 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 775 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 776 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 777 | 
            +
                    end
         | 
| 778 | 
            +
                    
         | 
| 779 | 
            +
                    # Lists repositories.
         | 
| 780 | 
            +
                    # @param [String] parent
         | 
| 781 | 
            +
                    #   Required. The name of the parent resource whose attachments will be listed.
         | 
| 782 | 
            +
                    # @param [String] filter
         | 
| 783 | 
            +
                    #   Optional. An expression for filtering the results of the request. Filter rules
         | 
| 784 | 
            +
                    #   are case insensitive. The fields eligible for filtering are: * `target` * `
         | 
| 785 | 
            +
                    #   type` * `attachment_namespace`
         | 
| 786 | 
            +
                    # @param [Fixnum] page_size
         | 
| 787 | 
            +
                    #   The maximum number of attachments to return. Maximum page size is 1,000.
         | 
| 788 | 
            +
                    # @param [String] page_token
         | 
| 789 | 
            +
                    #   The next_page_token value returned from a previous list request, if any.
         | 
| 790 | 
            +
                    # @param [String] fields
         | 
| 791 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 792 | 
            +
                    # @param [String] quota_user
         | 
| 793 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 794 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 795 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 796 | 
            +
                    #   Request-specific options
         | 
| 797 | 
            +
                    #
         | 
| 798 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 799 | 
            +
                    # @yieldparam result [Google::Apis::ArtifactregistryV1::ListAttachmentsResponse] parsed result object
         | 
| 800 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 801 | 
            +
                    #
         | 
| 802 | 
            +
                    # @return [Google::Apis::ArtifactregistryV1::ListAttachmentsResponse]
         | 
| 803 | 
            +
                    #
         | 
| 804 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 805 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 806 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 807 | 
            +
                    def list_project_location_repository_attachments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 808 | 
            +
                      command = make_simple_command(:get, 'v1/{+parent}/attachments', options)
         | 
| 809 | 
            +
                      command.response_representation = Google::Apis::ArtifactregistryV1::ListAttachmentsResponse::Representation
         | 
| 810 | 
            +
                      command.response_class = Google::Apis::ArtifactregistryV1::ListAttachmentsResponse
         | 
| 811 | 
            +
                      command.params['parent'] = parent unless parent.nil?
         | 
| 812 | 
            +
                      command.query['filter'] = filter unless filter.nil?
         | 
| 813 | 
            +
                      command.query['pageSize'] = page_size unless page_size.nil?
         | 
| 814 | 
            +
                      command.query['pageToken'] = page_token unless page_token.nil?
         | 
| 815 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 816 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 817 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 818 | 
            +
                    end
         | 
| 819 | 
            +
                    
         | 
| 680 820 | 
             
                    # Gets a docker image.
         | 
| 681 821 | 
             
                    # @param [String] name
         | 
| 682 822 | 
             
                    #   Required. The name of the docker images.
         | 
| @@ -914,6 +1054,90 @@ module Google | |
| 914 1054 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 915 1055 | 
             
                    end
         | 
| 916 1056 |  | 
| 1057 | 
            +
                    # Updates a file.
         | 
| 1058 | 
            +
                    # @param [String] name
         | 
| 1059 | 
            +
                    #   The name of the file, for example: `projects/p1/locations/us-central1/
         | 
| 1060 | 
            +
                    #   repositories/repo1/files/a%2Fb%2Fc.txt`. If the file ID part contains slashes,
         | 
| 1061 | 
            +
                    #   they are escaped.
         | 
| 1062 | 
            +
                    # @param [Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1File] google_devtools_artifactregistry_v1_file_object
         | 
| 1063 | 
            +
                    # @param [String] update_mask
         | 
| 1064 | 
            +
                    #   Required. The update mask applies to the resource. For the `FieldMask`
         | 
| 1065 | 
            +
                    #   definition, see https://developers.google.com/protocol-buffers/docs/reference/
         | 
| 1066 | 
            +
                    #   google.protobuf#fieldmask
         | 
| 1067 | 
            +
                    # @param [String] fields
         | 
| 1068 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 1069 | 
            +
                    # @param [String] quota_user
         | 
| 1070 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 1071 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 1072 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 1073 | 
            +
                    #   Request-specific options
         | 
| 1074 | 
            +
                    #
         | 
| 1075 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 1076 | 
            +
                    # @yieldparam result [Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1File] parsed result object
         | 
| 1077 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 1078 | 
            +
                    #
         | 
| 1079 | 
            +
                    # @return [Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1File]
         | 
| 1080 | 
            +
                    #
         | 
| 1081 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 1082 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1083 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1084 | 
            +
                    def patch_project_location_repository_file(name, google_devtools_artifactregistry_v1_file_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1085 | 
            +
                      command = make_simple_command(:patch, 'v1/{+name}', options)
         | 
| 1086 | 
            +
                      command.request_representation = Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1File::Representation
         | 
| 1087 | 
            +
                      command.request_object = google_devtools_artifactregistry_v1_file_object
         | 
| 1088 | 
            +
                      command.response_representation = Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1File::Representation
         | 
| 1089 | 
            +
                      command.response_class = Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1File
         | 
| 1090 | 
            +
                      command.params['name'] = name unless name.nil?
         | 
| 1091 | 
            +
                      command.query['updateMask'] = update_mask unless update_mask.nil?
         | 
| 1092 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 1093 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 1094 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 1095 | 
            +
                    end
         | 
| 1096 | 
            +
                    
         | 
| 1097 | 
            +
                    # Directly uploads a File to a repository. The returned Operation will complete
         | 
| 1098 | 
            +
                    # once the resources are uploaded.
         | 
| 1099 | 
            +
                    # @param [String] parent
         | 
| 1100 | 
            +
                    #   Required. The resource name of the repository where the file will be uploaded.
         | 
| 1101 | 
            +
                    # @param [Google::Apis::ArtifactregistryV1::UploadFileRequest] upload_file_request_object
         | 
| 1102 | 
            +
                    # @param [String] fields
         | 
| 1103 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 1104 | 
            +
                    # @param [String] quota_user
         | 
| 1105 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 1106 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 1107 | 
            +
                    # @param [IO, String] upload_source
         | 
| 1108 | 
            +
                    #   IO stream or filename containing content to upload
         | 
| 1109 | 
            +
                    # @param [String] content_type
         | 
| 1110 | 
            +
                    #   Content type of the uploaded content.
         | 
| 1111 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 1112 | 
            +
                    #   Request-specific options
         | 
| 1113 | 
            +
                    #
         | 
| 1114 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 1115 | 
            +
                    # @yieldparam result [Google::Apis::ArtifactregistryV1::UploadFileMediaResponse] parsed result object
         | 
| 1116 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 1117 | 
            +
                    #
         | 
| 1118 | 
            +
                    # @return [Google::Apis::ArtifactregistryV1::UploadFileMediaResponse]
         | 
| 1119 | 
            +
                    #
         | 
| 1120 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 1121 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1122 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1123 | 
            +
                    def upload_file(parent, upload_file_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
         | 
| 1124 | 
            +
                      if upload_source.nil?
         | 
| 1125 | 
            +
                        command = make_simple_command(:post, 'v1/{+parent}/files:upload', options)
         | 
| 1126 | 
            +
                      else
         | 
| 1127 | 
            +
                        command = make_upload_command(:post, 'v1/{+parent}/files:upload', options)
         | 
| 1128 | 
            +
                        command.upload_source = upload_source
         | 
| 1129 | 
            +
                        command.upload_content_type = content_type
         | 
| 1130 | 
            +
                      end
         | 
| 1131 | 
            +
                      command.request_representation = Google::Apis::ArtifactregistryV1::UploadFileRequest::Representation
         | 
| 1132 | 
            +
                      command.request_object = upload_file_request_object
         | 
| 1133 | 
            +
                      command.response_representation = Google::Apis::ArtifactregistryV1::UploadFileMediaResponse::Representation
         | 
| 1134 | 
            +
                      command.response_class = Google::Apis::ArtifactregistryV1::UploadFileMediaResponse
         | 
| 1135 | 
            +
                      command.params['parent'] = parent unless parent.nil?
         | 
| 1136 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 1137 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 1138 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 1139 | 
            +
                    end
         | 
| 1140 | 
            +
                    
         | 
| 917 1141 | 
             
                    # Directly uploads a Generic artifact. The returned operation will complete once
         | 
| 918 1142 | 
             
                    # the resources are uploaded. Package, version, and file resources are created
         | 
| 919 1143 | 
             
                    # based on the uploaded artifact. Uploaded artifacts that conflict with existing
         | 
| @@ -1795,6 +2019,46 @@ module Google | |
| 1795 2019 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 1796 2020 | 
             
                    end
         | 
| 1797 2021 |  | 
| 2022 | 
            +
                    # Updates a version.
         | 
| 2023 | 
            +
                    # @param [String] name
         | 
| 2024 | 
            +
                    #   The name of the version, for example: "projects/p1/locations/us-central1/
         | 
| 2025 | 
            +
                    #   repositories/repo1/packages/pkg1/versions/art1". If the package or version ID
         | 
| 2026 | 
            +
                    #   parts contain slashes, the slashes are escaped.
         | 
| 2027 | 
            +
                    # @param [Google::Apis::ArtifactregistryV1::Version] version_object
         | 
| 2028 | 
            +
                    # @param [String] update_mask
         | 
| 2029 | 
            +
                    #   The update mask applies to the resource. For the `FieldMask` definition, see
         | 
| 2030 | 
            +
                    #   https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
         | 
| 2031 | 
            +
                    #   fieldmask
         | 
| 2032 | 
            +
                    # @param [String] fields
         | 
| 2033 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 2034 | 
            +
                    # @param [String] quota_user
         | 
| 2035 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 2036 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 2037 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 2038 | 
            +
                    #   Request-specific options
         | 
| 2039 | 
            +
                    #
         | 
| 2040 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 2041 | 
            +
                    # @yieldparam result [Google::Apis::ArtifactregistryV1::Version] parsed result object
         | 
| 2042 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 2043 | 
            +
                    #
         | 
| 2044 | 
            +
                    # @return [Google::Apis::ArtifactregistryV1::Version]
         | 
| 2045 | 
            +
                    #
         | 
| 2046 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 2047 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2048 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2049 | 
            +
                    def patch_project_location_repository_package_version(name, version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2050 | 
            +
                      command = make_simple_command(:patch, 'v1/{+name}', options)
         | 
| 2051 | 
            +
                      command.request_representation = Google::Apis::ArtifactregistryV1::Version::Representation
         | 
| 2052 | 
            +
                      command.request_object = version_object
         | 
| 2053 | 
            +
                      command.response_representation = Google::Apis::ArtifactregistryV1::Version::Representation
         | 
| 2054 | 
            +
                      command.response_class = Google::Apis::ArtifactregistryV1::Version
         | 
| 2055 | 
            +
                      command.params['name'] = name unless name.nil?
         | 
| 2056 | 
            +
                      command.query['updateMask'] = update_mask unless update_mask.nil?
         | 
| 2057 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 2058 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 2059 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 2060 | 
            +
                    end
         | 
| 2061 | 
            +
                    
         | 
| 1798 2062 | 
             
                    # Gets a python package.
         | 
| 1799 2063 | 
             
                    # @param [String] name
         | 
| 1800 2064 | 
             
                    #   Required. The name of the python package.
         | 
| @@ -1861,6 +2125,178 @@ module Google | |
| 1861 2125 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 1862 2126 | 
             
                    end
         | 
| 1863 2127 |  | 
| 2128 | 
            +
                    # Creates a rule.
         | 
| 2129 | 
            +
                    # @param [String] parent
         | 
| 2130 | 
            +
                    #   Required. The name of the parent resource where the rule will be created.
         | 
| 2131 | 
            +
                    # @param [Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1Rule] google_devtools_artifactregistry_v1_rule_object
         | 
| 2132 | 
            +
                    # @param [String] rule_id
         | 
| 2133 | 
            +
                    #   The rule id to use for this repository.
         | 
| 2134 | 
            +
                    # @param [String] fields
         | 
| 2135 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 2136 | 
            +
                    # @param [String] quota_user
         | 
| 2137 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 2138 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 2139 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 2140 | 
            +
                    #   Request-specific options
         | 
| 2141 | 
            +
                    #
         | 
| 2142 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 2143 | 
            +
                    # @yieldparam result [Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1Rule] parsed result object
         | 
| 2144 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 2145 | 
            +
                    #
         | 
| 2146 | 
            +
                    # @return [Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1Rule]
         | 
| 2147 | 
            +
                    #
         | 
| 2148 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 2149 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2150 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2151 | 
            +
                    def create_project_location_repository_rule(parent, google_devtools_artifactregistry_v1_rule_object = nil, rule_id: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2152 | 
            +
                      command = make_simple_command(:post, 'v1/{+parent}/rules', options)
         | 
| 2153 | 
            +
                      command.request_representation = Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1Rule::Representation
         | 
| 2154 | 
            +
                      command.request_object = google_devtools_artifactregistry_v1_rule_object
         | 
| 2155 | 
            +
                      command.response_representation = Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1Rule::Representation
         | 
| 2156 | 
            +
                      command.response_class = Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1Rule
         | 
| 2157 | 
            +
                      command.params['parent'] = parent unless parent.nil?
         | 
| 2158 | 
            +
                      command.query['ruleId'] = rule_id unless rule_id.nil?
         | 
| 2159 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 2160 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 2161 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 2162 | 
            +
                    end
         | 
| 2163 | 
            +
                    
         | 
| 2164 | 
            +
                    # Deletes a rule.
         | 
| 2165 | 
            +
                    # @param [String] name
         | 
| 2166 | 
            +
                    #   Required. The name of the rule to delete.
         | 
| 2167 | 
            +
                    # @param [String] fields
         | 
| 2168 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 2169 | 
            +
                    # @param [String] quota_user
         | 
| 2170 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 2171 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 2172 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 2173 | 
            +
                    #   Request-specific options
         | 
| 2174 | 
            +
                    #
         | 
| 2175 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 2176 | 
            +
                    # @yieldparam result [Google::Apis::ArtifactregistryV1::Empty] parsed result object
         | 
| 2177 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 2178 | 
            +
                    #
         | 
| 2179 | 
            +
                    # @return [Google::Apis::ArtifactregistryV1::Empty]
         | 
| 2180 | 
            +
                    #
         | 
| 2181 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 2182 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2183 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2184 | 
            +
                    def delete_project_location_repository_rule(name, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2185 | 
            +
                      command = make_simple_command(:delete, 'v1/{+name}', options)
         | 
| 2186 | 
            +
                      command.response_representation = Google::Apis::ArtifactregistryV1::Empty::Representation
         | 
| 2187 | 
            +
                      command.response_class = Google::Apis::ArtifactregistryV1::Empty
         | 
| 2188 | 
            +
                      command.params['name'] = name unless name.nil?
         | 
| 2189 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 2190 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 2191 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 2192 | 
            +
                    end
         | 
| 2193 | 
            +
                    
         | 
| 2194 | 
            +
                    # Gets a rule.
         | 
| 2195 | 
            +
                    # @param [String] name
         | 
| 2196 | 
            +
                    #   Required. The name of the rule to retrieve.
         | 
| 2197 | 
            +
                    # @param [String] fields
         | 
| 2198 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 2199 | 
            +
                    # @param [String] quota_user
         | 
| 2200 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 2201 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 2202 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 2203 | 
            +
                    #   Request-specific options
         | 
| 2204 | 
            +
                    #
         | 
| 2205 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 2206 | 
            +
                    # @yieldparam result [Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1Rule] parsed result object
         | 
| 2207 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 2208 | 
            +
                    #
         | 
| 2209 | 
            +
                    # @return [Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1Rule]
         | 
| 2210 | 
            +
                    #
         | 
| 2211 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 2212 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2213 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2214 | 
            +
                    def get_project_location_repository_rule(name, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2215 | 
            +
                      command = make_simple_command(:get, 'v1/{+name}', options)
         | 
| 2216 | 
            +
                      command.response_representation = Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1Rule::Representation
         | 
| 2217 | 
            +
                      command.response_class = Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1Rule
         | 
| 2218 | 
            +
                      command.params['name'] = name unless name.nil?
         | 
| 2219 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 2220 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 2221 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 2222 | 
            +
                    end
         | 
| 2223 | 
            +
                    
         | 
| 2224 | 
            +
                    # Lists rules.
         | 
| 2225 | 
            +
                    # @param [String] parent
         | 
| 2226 | 
            +
                    #   Required. The name of the parent repository whose rules will be listed. For
         | 
| 2227 | 
            +
                    #   example: `projects/p1/locations/us-central1/repositories/repo1`.
         | 
| 2228 | 
            +
                    # @param [Fixnum] page_size
         | 
| 2229 | 
            +
                    #   The maximum number of rules to return. Maximum page size is 1,000.
         | 
| 2230 | 
            +
                    # @param [String] page_token
         | 
| 2231 | 
            +
                    #   The next_page_token value returned from a previous list request, if any.
         | 
| 2232 | 
            +
                    # @param [String] fields
         | 
| 2233 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 2234 | 
            +
                    # @param [String] quota_user
         | 
| 2235 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 2236 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 2237 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 2238 | 
            +
                    #   Request-specific options
         | 
| 2239 | 
            +
                    #
         | 
| 2240 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 2241 | 
            +
                    # @yieldparam result [Google::Apis::ArtifactregistryV1::ListRulesResponse] parsed result object
         | 
| 2242 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 2243 | 
            +
                    #
         | 
| 2244 | 
            +
                    # @return [Google::Apis::ArtifactregistryV1::ListRulesResponse]
         | 
| 2245 | 
            +
                    #
         | 
| 2246 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 2247 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2248 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2249 | 
            +
                    def list_project_location_repository_rules(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2250 | 
            +
                      command = make_simple_command(:get, 'v1/{+parent}/rules', options)
         | 
| 2251 | 
            +
                      command.response_representation = Google::Apis::ArtifactregistryV1::ListRulesResponse::Representation
         | 
| 2252 | 
            +
                      command.response_class = Google::Apis::ArtifactregistryV1::ListRulesResponse
         | 
| 2253 | 
            +
                      command.params['parent'] = parent unless parent.nil?
         | 
| 2254 | 
            +
                      command.query['pageSize'] = page_size unless page_size.nil?
         | 
| 2255 | 
            +
                      command.query['pageToken'] = page_token unless page_token.nil?
         | 
| 2256 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 2257 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 2258 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 2259 | 
            +
                    end
         | 
| 2260 | 
            +
                    
         | 
| 2261 | 
            +
                    # Updates a rule.
         | 
| 2262 | 
            +
                    # @param [String] name
         | 
| 2263 | 
            +
                    #   The name of the rule, for example: "projects/p1/locations/us-central1/
         | 
| 2264 | 
            +
                    #   repositories/repo1/rules/rule1".
         | 
| 2265 | 
            +
                    # @param [Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1Rule] google_devtools_artifactregistry_v1_rule_object
         | 
| 2266 | 
            +
                    # @param [String] update_mask
         | 
| 2267 | 
            +
                    #   The update mask applies to the resource. For the `FieldMask` definition, see
         | 
| 2268 | 
            +
                    #   https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
         | 
| 2269 | 
            +
                    #   fieldmask
         | 
| 2270 | 
            +
                    # @param [String] fields
         | 
| 2271 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 2272 | 
            +
                    # @param [String] quota_user
         | 
| 2273 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 2274 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 2275 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 2276 | 
            +
                    #   Request-specific options
         | 
| 2277 | 
            +
                    #
         | 
| 2278 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 2279 | 
            +
                    # @yieldparam result [Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1Rule] parsed result object
         | 
| 2280 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 2281 | 
            +
                    #
         | 
| 2282 | 
            +
                    # @return [Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1Rule]
         | 
| 2283 | 
            +
                    #
         | 
| 2284 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 2285 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2286 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2287 | 
            +
                    def patch_project_location_repository_rule(name, google_devtools_artifactregistry_v1_rule_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2288 | 
            +
                      command = make_simple_command(:patch, 'v1/{+name}', options)
         | 
| 2289 | 
            +
                      command.request_representation = Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1Rule::Representation
         | 
| 2290 | 
            +
                      command.request_object = google_devtools_artifactregistry_v1_rule_object
         | 
| 2291 | 
            +
                      command.response_representation = Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1Rule::Representation
         | 
| 2292 | 
            +
                      command.response_class = Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1Rule
         | 
| 2293 | 
            +
                      command.params['name'] = name unless name.nil?
         | 
| 2294 | 
            +
                      command.query['updateMask'] = update_mask unless update_mask.nil?
         | 
| 2295 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 2296 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 2297 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 2298 | 
            +
                    end
         | 
| 2299 | 
            +
                    
         | 
| 1864 2300 | 
             
                    # Imports Yum (RPM) artifacts. The returned Operation will complete once the
         | 
| 1865 2301 | 
             
                    # resources are imported. Package, Version, and File resources are created based
         | 
| 1866 2302 | 
             
                    # on the imported artifacts. Imported artifacts that conflict with existing
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-apis-artifactregistry_v1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.67.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: 2024-09- | 
| 11 | 
            +
            date: 2024-09-29 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-artifactregistry_v1/CHANGELOG.md
         | 
| 61 | 
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0. | 
| 61 | 
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.67.0
         | 
| 62 62 | 
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1
         | 
| 63 63 | 
             
            post_install_message: 
         | 
| 64 64 | 
             
            rdoc_options: []
         |