google-apis-cloudbuild_v1 0.17.0 → 0.21.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 +16 -0
 - data/OVERVIEW.md +3 -3
 - data/lib/google/apis/cloudbuild_v1/classes.rb +41 -0
 - data/lib/google/apis/cloudbuild_v1/gem_version.rb +2 -2
 - data/lib/google/apis/cloudbuild_v1/representations.rb +16 -0
 - data/lib/google/apis/cloudbuild_v1/service.rb +2 -2
 - metadata +6 -6
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 6eb20ba19e0368a9f244a088a5c78dc9cc73860e3eafc48308e0fdc9109ef01a
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 43ea0b35781625bd7c553af287d2822411a1c5618104ecfbc93078f44d60baf2
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: b40d9a0cd8ec0ac758d1d348a2fe279109ce23a03bc0fcc65f018dd4a23f3c03398b757bad3cc06102d12ac308b3eef0b37165cc874bf78c55c30c9d661ee506
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 74cb535b684451616db3b10e2265fb90917ec5200cfff9bfd33078db5e6f4bd5697b874e0f03cec7d159a5a790d516731bbfc6fc3bf1c68c179a2aa241f3facc
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,5 +1,21 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # Release history for google-apis-cloudbuild_v1
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
      
 3 
     | 
    
         
            +
            ### v0.21.0 (2021-12-14)
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            * Unspecified changes
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ### v0.20.0 (2021-11-18)
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            * Regenerated from discovery document revision 20211115
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            ### v0.19.0 (2021-11-09)
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            * Regenerated from discovery document revision 20211029
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            ### v0.18.0 (2021-10-20)
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            * Unspecified changes
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
       3 
19 
     | 
    
         
             
            ### v0.17.0 (2021-10-06)
         
     | 
| 
       4 
20 
     | 
    
         | 
| 
       5 
21 
     | 
    
         
             
            * Regenerated from discovery document revision 20210923
         
     | 
    
        data/OVERVIEW.md
    CHANGED
    
    | 
         @@ -51,7 +51,7 @@ require "google/apis/cloudbuild_v1" 
     | 
|
| 
       51 
51 
     | 
    
         
             
            client = Google::Apis::CloudbuildV1::CloudBuildService.new
         
     | 
| 
       52 
52 
     | 
    
         | 
| 
       53 
53 
     | 
    
         
             
            # Authenticate calls
         
     | 
| 
       54 
     | 
    
         
            -
            client. 
     | 
| 
      
 54 
     | 
    
         
            +
            client.authorization = # ... use the googleauth gem to create credentials
         
     | 
| 
       55 
55 
     | 
    
         
             
            ```
         
     | 
| 
       56 
56 
     | 
    
         | 
| 
       57 
57 
     | 
    
         
             
            See the class reference docs for information on the methods you can call from a client.
         
     | 
| 
         @@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a 
     | 
|
| 
       60 
60 
     | 
    
         | 
| 
       61 
61 
     | 
    
         
             
            More detailed descriptions of the Google simple REST clients are available in two documents.
         
     | 
| 
       62 
62 
     | 
    
         | 
| 
       63 
     | 
    
         
            -
             *  The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/ 
     | 
| 
       64 
     | 
    
         
            -
             *  The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/ 
     | 
| 
      
 63 
     | 
    
         
            +
             *  The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
         
     | 
| 
      
 64 
     | 
    
         
            +
             *  The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
         
     | 
| 
       65 
65 
     | 
    
         | 
| 
       66 
66 
     | 
    
         
             
            (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Cloudbuild service in particular.)
         
     | 
| 
       67 
67 
     | 
    
         | 
| 
         @@ -204,6 +204,39 @@ module Google 
     | 
|
| 
       204 
204 
     | 
    
         
             
                    end
         
     | 
| 
       205 
205 
     | 
    
         
             
                  end
         
     | 
| 
       206 
206 
     | 
    
         | 
| 
      
 207 
     | 
    
         
            +
                  # Metadata for `BatchCreateBitbucketServerConnectedRepositories` operation.
         
     | 
| 
      
 208 
     | 
    
         
            +
                  class BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata
         
     | 
| 
      
 209 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 210 
     | 
    
         
            +
                  
         
     | 
| 
      
 211 
     | 
    
         
            +
                    # Time the operation was completed.
         
     | 
| 
      
 212 
     | 
    
         
            +
                    # Corresponds to the JSON property `completeTime`
         
     | 
| 
      
 213 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 214 
     | 
    
         
            +
                    attr_accessor :complete_time
         
     | 
| 
      
 215 
     | 
    
         
            +
                  
         
     | 
| 
      
 216 
     | 
    
         
            +
                    # The name of the `BitbucketServerConfig` that added connected repositories.
         
     | 
| 
      
 217 
     | 
    
         
            +
                    # Format: `projects/`project`/locations/`location`/bitbucketServerConfigs/`
         
     | 
| 
      
 218 
     | 
    
         
            +
                    # config``
         
     | 
| 
      
 219 
     | 
    
         
            +
                    # Corresponds to the JSON property `config`
         
     | 
| 
      
 220 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 221 
     | 
    
         
            +
                    attr_accessor :config
         
     | 
| 
      
 222 
     | 
    
         
            +
                  
         
     | 
| 
      
 223 
     | 
    
         
            +
                    # Time the operation was created.
         
     | 
| 
      
 224 
     | 
    
         
            +
                    # Corresponds to the JSON property `createTime`
         
     | 
| 
      
 225 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 226 
     | 
    
         
            +
                    attr_accessor :create_time
         
     | 
| 
      
 227 
     | 
    
         
            +
                  
         
     | 
| 
      
 228 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 229 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 230 
     | 
    
         
            +
                    end
         
     | 
| 
      
 231 
     | 
    
         
            +
                  
         
     | 
| 
      
 232 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 233 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 234 
     | 
    
         
            +
                      @complete_time = args[:complete_time] if args.key?(:complete_time)
         
     | 
| 
      
 235 
     | 
    
         
            +
                      @config = args[:config] if args.key?(:config)
         
     | 
| 
      
 236 
     | 
    
         
            +
                      @create_time = args[:create_time] if args.key?(:create_time)
         
     | 
| 
      
 237 
     | 
    
         
            +
                    end
         
     | 
| 
      
 238 
     | 
    
         
            +
                  end
         
     | 
| 
      
 239 
     | 
    
         
            +
                  
         
     | 
| 
       207 
240 
     | 
    
         
             
                  # A build resource in the Cloud Build API. At a high level, a `Build` describes
         
     | 
| 
       208 
241 
     | 
    
         
             
                  # where to find source code, how to build it (for example, the builder image to
         
     | 
| 
       209 
242 
     | 
    
         
             
                  # run on the source), and where to store the built artifacts. Fields can include
         
     | 
| 
         @@ -790,6 +823,13 @@ module Google 
     | 
|
| 
       790 
823 
     | 
    
         
             
                    attr_accessor :disabled
         
     | 
| 
       791 
824 
     | 
    
         
             
                    alias_method :disabled?, :disabled
         
     | 
| 
       792 
825 
     | 
    
         | 
| 
      
 826 
     | 
    
         
            +
                    # Optional. EventType allows the user to explicitly set the type of event to
         
     | 
| 
      
 827 
     | 
    
         
            +
                    # which this BuildTrigger should respond. This field is optional but will be
         
     | 
| 
      
 828 
     | 
    
         
            +
                    # validated against the rest of the configuration if it is set.
         
     | 
| 
      
 829 
     | 
    
         
            +
                    # Corresponds to the JSON property `eventType`
         
     | 
| 
      
 830 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 831 
     | 
    
         
            +
                    attr_accessor :event_type
         
     | 
| 
      
 832 
     | 
    
         
            +
                  
         
     | 
| 
       793 
833 
     | 
    
         
             
                    # Path, from the source root, to the build configuration file (i.e. cloudbuild.
         
     | 
| 
       794 
834 
     | 
    
         
             
                    # yaml).
         
     | 
| 
       795 
835 
     | 
    
         
             
                    # Corresponds to the JSON property `filename`
         
     | 
| 
         @@ -906,6 +946,7 @@ module Google 
     | 
|
| 
       906 
946 
     | 
    
         
             
                      @create_time = args[:create_time] if args.key?(:create_time)
         
     | 
| 
       907 
947 
     | 
    
         
             
                      @description = args[:description] if args.key?(:description)
         
     | 
| 
       908 
948 
     | 
    
         
             
                      @disabled = args[:disabled] if args.key?(:disabled)
         
     | 
| 
      
 949 
     | 
    
         
            +
                      @event_type = args[:event_type] if args.key?(:event_type)
         
     | 
| 
       909 
950 
     | 
    
         
             
                      @filename = args[:filename] if args.key?(:filename)
         
     | 
| 
       910 
951 
     | 
    
         
             
                      @filter = args[:filter] if args.key?(:filter)
         
     | 
| 
       911 
952 
     | 
    
         
             
                      @git_file_source = args[:git_file_source] if args.key?(:git_file_source)
         
     | 
| 
         @@ -16,13 +16,13 @@ module Google 
     | 
|
| 
       16 
16 
     | 
    
         
             
              module Apis
         
     | 
| 
       17 
17 
     | 
    
         
             
                module CloudbuildV1
         
     | 
| 
       18 
18 
     | 
    
         
             
                  # Version of the google-apis-cloudbuild_v1 gem
         
     | 
| 
       19 
     | 
    
         
            -
                  GEM_VERSION = "0. 
     | 
| 
      
 19 
     | 
    
         
            +
                  GEM_VERSION = "0.21.0"
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
       21 
21 
     | 
    
         
             
                  # Version of the code generator used to generate this client
         
     | 
| 
       22 
22 
     | 
    
         
             
                  GENERATOR_VERSION = "0.4.0"
         
     | 
| 
       23 
23 
     | 
    
         | 
| 
       24 
24 
     | 
    
         
             
                  # Revision of the discovery document this client was generated from
         
     | 
| 
       25 
     | 
    
         
            -
                  REVISION = " 
     | 
| 
      
 25 
     | 
    
         
            +
                  REVISION = "20211115"
         
     | 
| 
       26 
26 
     | 
    
         
             
                end
         
     | 
| 
       27 
27 
     | 
    
         
             
              end
         
     | 
| 
       28 
28 
     | 
    
         
             
            end
         
     | 
| 
         @@ -58,6 +58,12 @@ module Google 
     | 
|
| 
       58 
58 
     | 
    
         
             
                    include Google::Apis::Core::JsonObjectSupport
         
     | 
| 
       59 
59 
     | 
    
         
             
                  end
         
     | 
| 
       60 
60 
     | 
    
         | 
| 
      
 61 
     | 
    
         
            +
                  class BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata
         
     | 
| 
      
 62 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         
     | 
| 
      
 63 
     | 
    
         
            +
                  
         
     | 
| 
      
 64 
     | 
    
         
            +
                    include Google::Apis::Core::JsonObjectSupport
         
     | 
| 
      
 65 
     | 
    
         
            +
                  end
         
     | 
| 
      
 66 
     | 
    
         
            +
                  
         
     | 
| 
       61 
67 
     | 
    
         
             
                  class Build
         
     | 
| 
       62 
68 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         
     | 
| 
       63 
69 
     | 
    
         | 
| 
         @@ -520,6 +526,15 @@ module Google 
     | 
|
| 
       520 
526 
     | 
    
         
             
                    end
         
     | 
| 
       521 
527 
     | 
    
         
             
                  end
         
     | 
| 
       522 
528 
     | 
    
         | 
| 
      
 529 
     | 
    
         
            +
                  class BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata
         
     | 
| 
      
 530 
     | 
    
         
            +
                    # @private
         
     | 
| 
      
 531 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
      
 532 
     | 
    
         
            +
                      property :complete_time, as: 'completeTime'
         
     | 
| 
      
 533 
     | 
    
         
            +
                      property :config, as: 'config'
         
     | 
| 
      
 534 
     | 
    
         
            +
                      property :create_time, as: 'createTime'
         
     | 
| 
      
 535 
     | 
    
         
            +
                    end
         
     | 
| 
      
 536 
     | 
    
         
            +
                  end
         
     | 
| 
      
 537 
     | 
    
         
            +
                  
         
     | 
| 
       523 
538 
     | 
    
         
             
                  class Build
         
     | 
| 
       524 
539 
     | 
    
         
             
                    # @private
         
     | 
| 
       525 
540 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
         @@ -641,6 +656,7 @@ module Google 
     | 
|
| 
       641 
656 
     | 
    
         
             
                      property :create_time, as: 'createTime'
         
     | 
| 
       642 
657 
     | 
    
         
             
                      property :description, as: 'description'
         
     | 
| 
       643 
658 
     | 
    
         
             
                      property :disabled, as: 'disabled'
         
     | 
| 
      
 659 
     | 
    
         
            +
                      property :event_type, as: 'eventType'
         
     | 
| 
       644 
660 
     | 
    
         
             
                      property :filename, as: 'filename'
         
     | 
| 
       645 
661 
     | 
    
         
             
                      property :filter, as: 'filter'
         
     | 
| 
       646 
662 
     | 
    
         
             
                      property :git_file_source, as: 'gitFileSource', class: Google::Apis::CloudbuildV1::GitFileSource, decorator: Google::Apis::CloudbuildV1::GitFileSource::Representation
         
     | 
| 
         @@ -1390,8 +1390,8 @@ module Google 
     | 
|
| 
       1390 
1390 
     | 
    
         
             
                    #   If set to true, and the `WorkerPool` is not found, the request will succeed
         
     | 
| 
       1391 
1391 
     | 
    
         
             
                    #   but no action will be taken on the server.
         
     | 
| 
       1392 
1392 
     | 
    
         
             
                    # @param [String] etag
         
     | 
| 
       1393 
     | 
    
         
            -
                    #   Optional. If  
     | 
| 
       1394 
     | 
    
         
            -
                    #    
     | 
| 
      
 1393 
     | 
    
         
            +
                    #   Optional. If provided, it must match the server's etag on the workerpool for
         
     | 
| 
      
 1394 
     | 
    
         
            +
                    #   the request to be processed.
         
     | 
| 
       1395 
1395 
     | 
    
         
             
                    # @param [Boolean] validate_only
         
     | 
| 
       1396 
1396 
     | 
    
         
             
                    #   If set, validate the request and preview the response, but do not actually
         
     | 
| 
       1397 
1397 
     | 
    
         
             
                    #   post it.
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: google-apis-cloudbuild_v1
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.21.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:  
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2022-01-10 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: google-apis-core
         
     | 
| 
         @@ -57,9 +57,9 @@ licenses: 
     | 
|
| 
       57 
57 
     | 
    
         
             
            - Apache-2.0
         
     | 
| 
       58 
58 
     | 
    
         
             
            metadata:
         
     | 
| 
       59 
59 
     | 
    
         
             
              bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
         
     | 
| 
       60 
     | 
    
         
            -
              changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/ 
     | 
| 
       61 
     | 
    
         
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0. 
     | 
| 
       62 
     | 
    
         
            -
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/ 
     | 
| 
      
 60 
     | 
    
         
            +
              changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1/CHANGELOG.md
         
     | 
| 
      
 61 
     | 
    
         
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.21.0
         
     | 
| 
      
 62 
     | 
    
         
            +
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1
         
     | 
| 
       63 
63 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
       64 
64 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
       65 
65 
     | 
    
         
             
            require_paths:
         
     | 
| 
         @@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       75 
75 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       76 
76 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       77 
77 
     | 
    
         
             
            requirements: []
         
     | 
| 
       78 
     | 
    
         
            -
            rubygems_version: 3. 
     | 
| 
      
 78 
     | 
    
         
            +
            rubygems_version: 3.3.4
         
     | 
| 
       79 
79 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       80 
80 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       81 
81 
     | 
    
         
             
            summary: Simple REST client for Cloud Build API V1
         
     |