google-cloud-build-v2 0.11.0 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: f0fd8b0a88033cfe5144f528c283b08f2666c5c840c46fff61bf5a49efebbb76
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 8651d2326b0dca8991196710c6e7390e705f1c89bfacb3cd89acabf3abce21ff
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 43f0ec14622e1d796b8ab10ace639c4f6db5ece56e4e05227faa92af7c6e4e43fd287f540e0383ccc58723981b92939d6f2e7257996eb6f347ad4626eec90010
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: dddeeaf98831761fbc9fd24b24c662e3bb0d4bdfd05eb691e41ffd7dc1989ae7f7c66f0a1938c0bc766d94236b1a760e8c9b9bd31e831d8ffe7c497e87ec6c18
         
     | 
| 
         @@ -1647,8 +1647,6 @@ module Google 
     | 
|
| 
       1647 
1647 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       1648 
1648 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       1649 
1649 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       1650 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       1651 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       1652 
1650 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       1653 
1651 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       1654 
1652 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -1657,7 +1655,26 @@ module Google 
     | 
|
| 
       1657 
1655 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       1658 
1656 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       1659 
1657 
     | 
    
         
             
                        #
         
     | 
| 
       1660 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 1658 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 1659 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 1660 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 1661 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1662 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 1663 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1664 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 1665 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 1666 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1667 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 1668 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1669 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 1670 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 1671 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 1672 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1673 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Build::V2::RepositoryManager::Client.new do |config|
         
     | 
| 
      
 1674 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 1675 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 1676 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1677 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       1661 
1678 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       1662 
1679 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       1663 
1680 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -134,7 +134,7 @@ module Google 
     | 
|
| 
       134 
134 
     | 
    
         
             
                        #   @param options [::Gapic::CallOptions, ::Hash]
         
     | 
| 
       135 
135 
     | 
    
         
             
                        #     Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
         
     | 
| 
       136 
136 
     | 
    
         
             
                        #
         
     | 
| 
       137 
     | 
    
         
            -
                        # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
         
     | 
| 
      
 137 
     | 
    
         
            +
                        # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
         
     | 
| 
       138 
138 
     | 
    
         
             
                        #   Pass arguments to `list_operations` via keyword arguments. Note that at
         
     | 
| 
       139 
139 
     | 
    
         
             
                        #   least one keyword argument is required. To specify no parameters, or to keep all
         
     | 
| 
       140 
140 
     | 
    
         
             
                        #   the default parameter values, pass an empty Hash as a request object (see above).
         
     | 
| 
         @@ -147,6 +147,17 @@ module Google 
     | 
|
| 
       147 
147 
     | 
    
         
             
                        #     The standard list page size.
         
     | 
| 
       148 
148 
     | 
    
         
             
                        #   @param page_token [::String]
         
     | 
| 
       149 
149 
     | 
    
         
             
                        #     The standard list page token.
         
     | 
| 
      
 150 
     | 
    
         
            +
                        #   @param return_partial_success [::Boolean]
         
     | 
| 
      
 151 
     | 
    
         
            +
                        #     When set to `true`, operations that are reachable are returned as normal,
         
     | 
| 
      
 152 
     | 
    
         
            +
                        #     and those that are unreachable are returned in the
         
     | 
| 
      
 153 
     | 
    
         
            +
                        #     [ListOperationsResponse.unreachable] field.
         
     | 
| 
      
 154 
     | 
    
         
            +
                        #
         
     | 
| 
      
 155 
     | 
    
         
            +
                        #     This can only be `true` when reading across collections e.g. when `parent`
         
     | 
| 
      
 156 
     | 
    
         
            +
                        #     is set to `"projects/example/locations/-"`.
         
     | 
| 
      
 157 
     | 
    
         
            +
                        #
         
     | 
| 
      
 158 
     | 
    
         
            +
                        #     This field is not by default supported and will result in an
         
     | 
| 
      
 159 
     | 
    
         
            +
                        #     `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
         
     | 
| 
      
 160 
     | 
    
         
            +
                        #     service or product specific documentation.
         
     | 
| 
       150 
161 
     | 
    
         
             
                        #
         
     | 
| 
       151 
162 
     | 
    
         
             
                        # @yield [response, operation] Access the result along with the RPC operation
         
     | 
| 
       152 
163 
     | 
    
         
             
                        # @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
         
     | 
| 
         @@ -631,8 +642,6 @@ module Google 
     | 
|
| 
       631 
642 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       632 
643 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       633 
644 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       634 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       635 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       636 
645 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       637 
646 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       638 
647 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -641,7 +650,26 @@ module Google 
     | 
|
| 
       641 
650 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       642 
651 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       643 
652 
     | 
    
         
             
                        #
         
     | 
| 
       644 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 653 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 654 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 655 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 656 
     | 
    
         
            +
                        #
         
     | 
| 
      
 657 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 658 
     | 
    
         
            +
                        #
         
     | 
| 
      
 659 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 660 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 661 
     | 
    
         
            +
                        #
         
     | 
| 
      
 662 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 663 
     | 
    
         
            +
                        #
         
     | 
| 
      
 664 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 665 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 666 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 667 
     | 
    
         
            +
                        #
         
     | 
| 
      
 668 
     | 
    
         
            +
                        #     client = ::Google::Longrunning::Operations::Client.new do |config|
         
     | 
| 
      
 669 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 670 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 671 
     | 
    
         
            +
                        #
         
     | 
| 
      
 672 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       645 
673 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       646 
674 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       647 
675 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -83,6 +83,18 @@ module Google 
     | 
|
| 
       83 
83 
     | 
    
         
             
                # @!attribute [rw] page_token
         
     | 
| 
       84 
84 
     | 
    
         
             
                #   @return [::String]
         
     | 
| 
       85 
85 
     | 
    
         
             
                #     The standard list page token.
         
     | 
| 
      
 86 
     | 
    
         
            +
                # @!attribute [rw] return_partial_success
         
     | 
| 
      
 87 
     | 
    
         
            +
                #   @return [::Boolean]
         
     | 
| 
      
 88 
     | 
    
         
            +
                #     When set to `true`, operations that are reachable are returned as normal,
         
     | 
| 
      
 89 
     | 
    
         
            +
                #     and those that are unreachable are returned in the
         
     | 
| 
      
 90 
     | 
    
         
            +
                #     [ListOperationsResponse.unreachable] field.
         
     | 
| 
      
 91 
     | 
    
         
            +
                #
         
     | 
| 
      
 92 
     | 
    
         
            +
                #     This can only be `true` when reading across collections e.g. when `parent`
         
     | 
| 
      
 93 
     | 
    
         
            +
                #     is set to `"projects/example/locations/-"`.
         
     | 
| 
      
 94 
     | 
    
         
            +
                #
         
     | 
| 
      
 95 
     | 
    
         
            +
                #     This field is not by default supported and will result in an
         
     | 
| 
      
 96 
     | 
    
         
            +
                #     `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
         
     | 
| 
      
 97 
     | 
    
         
            +
                #     service or product specific documentation.
         
     | 
| 
       86 
98 
     | 
    
         
             
                class ListOperationsRequest
         
     | 
| 
       87 
99 
     | 
    
         
             
                  include ::Google::Protobuf::MessageExts
         
     | 
| 
       88 
100 
     | 
    
         
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
| 
         @@ -96,6 +108,12 @@ module Google 
     | 
|
| 
       96 
108 
     | 
    
         
             
                # @!attribute [rw] next_page_token
         
     | 
| 
       97 
109 
     | 
    
         
             
                #   @return [::String]
         
     | 
| 
       98 
110 
     | 
    
         
             
                #     The standard List next-page token.
         
     | 
| 
      
 111 
     | 
    
         
            +
                # @!attribute [rw] unreachable
         
     | 
| 
      
 112 
     | 
    
         
            +
                #   @return [::Array<::String>]
         
     | 
| 
      
 113 
     | 
    
         
            +
                #     Unordered list. Unreachable resources. Populated when the request sets
         
     | 
| 
      
 114 
     | 
    
         
            +
                #     `ListOperationsRequest.return_partial_success` and reads across
         
     | 
| 
      
 115 
     | 
    
         
            +
                #     collections e.g. when attempting to list all resources across all supported
         
     | 
| 
      
 116 
     | 
    
         
            +
                #     locations.
         
     | 
| 
       99 
117 
     | 
    
         
             
                class ListOperationsResponse
         
     | 
| 
       100 
118 
     | 
    
         
             
                  include ::Google::Protobuf::MessageExts
         
     | 
| 
       101 
119 
     | 
    
         
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         
     |