google-apis-workloadmanager_v1 0.12.0 → 0.13.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 +5 -0
 - data/lib/google/apis/workloadmanager_v1/classes.rb +32 -0
 - data/lib/google/apis/workloadmanager_v1/gem_version.rb +3 -3
 - data/lib/google/apis/workloadmanager_v1/representations.rb +16 -0
 - data/lib/google/apis/workloadmanager_v1/service.rb +3 -1
 - 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: 36b0a69818267f1936f741bde08f6dc547ae679b8519ff6cbe14503bf04aeeae
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 8336639e219bc80eaa94d0e09ea6a39b3da74cf7296e22373634a8f1e761adf3
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 6ce16dc57be9611dc3d707d774a5038f85677b4cd47e371b651f23599b6a04d29e7f4b8327733c5b802a8f939fef5a9826e026f08772dd44159a9213085e1259
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 9f7813072b4967b6d754f414680acaf29153675408ed6720e02dcb789648427eead7fb056080c3ef695aa6803530cca08748944e3497ed63ae6ea14af3def41a
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,5 +1,10 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # Release history for google-apis-workloadmanager_v1
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
      
 3 
     | 
    
         
            +
            ### v0.13.0 (2024-01-22)
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            * Regenerated from discovery document revision 20240103
         
     | 
| 
      
 6 
     | 
    
         
            +
            * Regenerated using generator version 0.13.0
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
       3 
8 
     | 
    
         
             
            ### v0.12.0 (2023-12-17)
         
     | 
| 
       4 
9 
     | 
    
         | 
| 
       5 
10 
     | 
    
         
             
            * Regenerated from discovery document revision 20231211
         
     | 
| 
         @@ -22,6 +22,32 @@ module Google 
     | 
|
| 
       22 
22 
     | 
    
         
             
              module Apis
         
     | 
| 
       23 
23 
     | 
    
         
             
                module WorkloadmanagerV1
         
     | 
| 
       24 
24 
     | 
    
         | 
| 
      
 25 
     | 
    
         
            +
                  # Message describing big query destination
         
     | 
| 
      
 26 
     | 
    
         
            +
                  class BigQueryDestination
         
     | 
| 
      
 27 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 28 
     | 
    
         
            +
                  
         
     | 
| 
      
 29 
     | 
    
         
            +
                    # Optional. determine if results will be saved in a new table
         
     | 
| 
      
 30 
     | 
    
         
            +
                    # Corresponds to the JSON property `createNewResultsTable`
         
     | 
| 
      
 31 
     | 
    
         
            +
                    # @return [Boolean]
         
     | 
| 
      
 32 
     | 
    
         
            +
                    attr_accessor :create_new_results_table
         
     | 
| 
      
 33 
     | 
    
         
            +
                    alias_method :create_new_results_table?, :create_new_results_table
         
     | 
| 
      
 34 
     | 
    
         
            +
                  
         
     | 
| 
      
 35 
     | 
    
         
            +
                    # Optional. destination dataset to save evaluation results
         
     | 
| 
      
 36 
     | 
    
         
            +
                    # Corresponds to the JSON property `destinationDataset`
         
     | 
| 
      
 37 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 38 
     | 
    
         
            +
                    attr_accessor :destination_dataset
         
     | 
| 
      
 39 
     | 
    
         
            +
                  
         
     | 
| 
      
 40 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 41 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 42 
     | 
    
         
            +
                    end
         
     | 
| 
      
 43 
     | 
    
         
            +
                  
         
     | 
| 
      
 44 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 45 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 46 
     | 
    
         
            +
                      @create_new_results_table = args[:create_new_results_table] if args.key?(:create_new_results_table)
         
     | 
| 
      
 47 
     | 
    
         
            +
                      @destination_dataset = args[:destination_dataset] if args.key?(:destination_dataset)
         
     | 
| 
      
 48 
     | 
    
         
            +
                    end
         
     | 
| 
      
 49 
     | 
    
         
            +
                  end
         
     | 
| 
      
 50 
     | 
    
         
            +
                  
         
     | 
| 
       25 
51 
     | 
    
         
             
                  # The request message for Operations.CancelOperation.
         
     | 
| 
       26 
52 
     | 
    
         
             
                  class CancelOperationRequest
         
     | 
| 
       27 
53 
     | 
    
         
             
                    include Google::Apis::Core::Hashable
         
     | 
| 
         @@ -55,6 +81,11 @@ module Google 
     | 
|
| 
       55 
81 
     | 
    
         
             
                  class Evaluation
         
     | 
| 
       56 
82 
     | 
    
         
             
                    include Google::Apis::Core::Hashable
         
     | 
| 
       57 
83 
     | 
    
         | 
| 
      
 84 
     | 
    
         
            +
                    # Message describing big query destination
         
     | 
| 
      
 85 
     | 
    
         
            +
                    # Corresponds to the JSON property `bigQueryDestination`
         
     | 
| 
      
 86 
     | 
    
         
            +
                    # @return [Google::Apis::WorkloadmanagerV1::BigQueryDestination]
         
     | 
| 
      
 87 
     | 
    
         
            +
                    attr_accessor :big_query_destination
         
     | 
| 
      
 88 
     | 
    
         
            +
                  
         
     | 
| 
       58 
89 
     | 
    
         
             
                    # Output only. [Output only] Create time stamp
         
     | 
| 
       59 
90 
     | 
    
         
             
                    # Corresponds to the JSON property `createTime`
         
     | 
| 
       60 
91 
     | 
    
         
             
                    # @return [String]
         
     | 
| 
         @@ -119,6 +150,7 @@ module Google 
     | 
|
| 
       119 
150 
     | 
    
         | 
| 
       120 
151 
     | 
    
         
             
                    # Update properties of this object
         
     | 
| 
       121 
152 
     | 
    
         
             
                    def update!(**args)
         
     | 
| 
      
 153 
     | 
    
         
            +
                      @big_query_destination = args[:big_query_destination] if args.key?(:big_query_destination)
         
     | 
| 
       122 
154 
     | 
    
         
             
                      @create_time = args[:create_time] if args.key?(:create_time)
         
     | 
| 
       123 
155 
     | 
    
         
             
                      @custom_rules_bucket = args[:custom_rules_bucket] if args.key?(:custom_rules_bucket)
         
     | 
| 
       124 
156 
     | 
    
         
             
                      @description = args[:description] if args.key?(:description)
         
     | 
| 
         @@ -16,13 +16,13 @@ module Google 
     | 
|
| 
       16 
16 
     | 
    
         
             
              module Apis
         
     | 
| 
       17 
17 
     | 
    
         
             
                module WorkloadmanagerV1
         
     | 
| 
       18 
18 
     | 
    
         
             
                  # Version of the google-apis-workloadmanager_v1 gem
         
     | 
| 
       19 
     | 
    
         
            -
                  GEM_VERSION = "0. 
     | 
| 
      
 19 
     | 
    
         
            +
                  GEM_VERSION = "0.13.0"
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
       21 
21 
     | 
    
         
             
                  # Version of the code generator used to generate this client
         
     | 
| 
       22 
     | 
    
         
            -
                  GENERATOR_VERSION = "0. 
     | 
| 
      
 22 
     | 
    
         
            +
                  GENERATOR_VERSION = "0.13.0"
         
     | 
| 
       23 
23 
     | 
    
         | 
| 
       24 
24 
     | 
    
         
             
                  # Revision of the discovery document this client was generated from
         
     | 
| 
       25 
     | 
    
         
            -
                  REVISION = " 
     | 
| 
      
 25 
     | 
    
         
            +
                  REVISION = "20240103"
         
     | 
| 
       26 
26 
     | 
    
         
             
                end
         
     | 
| 
       27 
27 
     | 
    
         
             
              end
         
     | 
| 
       28 
28 
     | 
    
         
             
            end
         
     | 
| 
         @@ -22,6 +22,12 @@ module Google 
     | 
|
| 
       22 
22 
     | 
    
         
             
              module Apis
         
     | 
| 
       23 
23 
     | 
    
         
             
                module WorkloadmanagerV1
         
     | 
| 
       24 
24 
     | 
    
         | 
| 
      
 25 
     | 
    
         
            +
                  class BigQueryDestination
         
     | 
| 
      
 26 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         
     | 
| 
      
 27 
     | 
    
         
            +
                  
         
     | 
| 
      
 28 
     | 
    
         
            +
                    include Google::Apis::Core::JsonObjectSupport
         
     | 
| 
      
 29 
     | 
    
         
            +
                  end
         
     | 
| 
      
 30 
     | 
    
         
            +
                  
         
     | 
| 
       25 
31 
     | 
    
         
             
                  class CancelOperationRequest
         
     | 
| 
       26 
32 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         
     | 
| 
       27 
33 
     | 
    
         | 
| 
         @@ -256,6 +262,14 @@ module Google 
     | 
|
| 
       256 
262 
     | 
    
         
             
                    include Google::Apis::Core::JsonObjectSupport
         
     | 
| 
       257 
263 
     | 
    
         
             
                  end
         
     | 
| 
       258 
264 
     | 
    
         | 
| 
      
 265 
     | 
    
         
            +
                  class BigQueryDestination
         
     | 
| 
      
 266 
     | 
    
         
            +
                    # @private
         
     | 
| 
      
 267 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
      
 268 
     | 
    
         
            +
                      property :create_new_results_table, as: 'createNewResultsTable'
         
     | 
| 
      
 269 
     | 
    
         
            +
                      property :destination_dataset, as: 'destinationDataset'
         
     | 
| 
      
 270 
     | 
    
         
            +
                    end
         
     | 
| 
      
 271 
     | 
    
         
            +
                  end
         
     | 
| 
      
 272 
     | 
    
         
            +
                  
         
     | 
| 
       259 
273 
     | 
    
         
             
                  class CancelOperationRequest
         
     | 
| 
       260 
274 
     | 
    
         
             
                    # @private
         
     | 
| 
       261 
275 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
         @@ -271,6 +285,8 @@ module Google 
     | 
|
| 
       271 
285 
     | 
    
         
             
                  class Evaluation
         
     | 
| 
       272 
286 
     | 
    
         
             
                    # @private
         
     | 
| 
       273 
287 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
      
 288 
     | 
    
         
            +
                      property :big_query_destination, as: 'bigQueryDestination', class: Google::Apis::WorkloadmanagerV1::BigQueryDestination, decorator: Google::Apis::WorkloadmanagerV1::BigQueryDestination::Representation
         
     | 
| 
      
 289 
     | 
    
         
            +
                  
         
     | 
| 
       274 
290 
     | 
    
         
             
                      property :create_time, as: 'createTime'
         
     | 
| 
       275 
291 
     | 
    
         
             
                      property :custom_rules_bucket, as: 'customRulesBucket'
         
     | 
| 
       276 
292 
     | 
    
         
             
                      property :description, as: 'description'
         
     | 
| 
         @@ -34,6 +34,8 @@ module Google 
     | 
|
| 
       34 
34 
     | 
    
         
             
                  #
         
     | 
| 
       35 
35 
     | 
    
         
             
                  # @see https://cloud.google.com/workload-manager/docs
         
     | 
| 
       36 
36 
     | 
    
         
             
                  class WorkloadManagerService < Google::Apis::Core::BaseService
         
     | 
| 
      
 37 
     | 
    
         
            +
                    DEFAULT_ENDPOINT_TEMPLATE = "https://workloadmanager.$UNIVERSE_DOMAIN$/"
         
     | 
| 
      
 38 
     | 
    
         
            +
             
     | 
| 
       37 
39 
     | 
    
         
             
                    # @return [String]
         
     | 
| 
       38 
40 
     | 
    
         
             
                    #  API key. Your API key identifies your project and provides you with API access,
         
     | 
| 
       39 
41 
     | 
    
         
             
                    #  quota, and reports. Required unless you provide an OAuth 2.0 token.
         
     | 
| 
         @@ -45,7 +47,7 @@ module Google 
     | 
|
| 
       45 
47 
     | 
    
         
             
                    attr_accessor :quota_user
         
     | 
| 
       46 
48 
     | 
    
         | 
| 
       47 
49 
     | 
    
         
             
                    def initialize
         
     | 
| 
       48 
     | 
    
         
            -
                      super( 
     | 
| 
      
 50 
     | 
    
         
            +
                      super(DEFAULT_ENDPOINT_TEMPLATE, '',
         
     | 
| 
       49 
51 
     | 
    
         
             
                            client_name: 'google-apis-workloadmanager_v1',
         
     | 
| 
       50 
52 
     | 
    
         
             
                            client_version: Google::Apis::WorkloadmanagerV1::GEM_VERSION)
         
     | 
| 
       51 
53 
     | 
    
         
             
                      @batch_path = 'batch'
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: google-apis-workloadmanager_v1
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.13.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: 2024-01-23 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: google-apis-core
         
     | 
| 
         @@ -16,7 +16,7 @@ dependencies: 
     | 
|
| 
       16 
16 
     | 
    
         
             
                requirements:
         
     | 
| 
       17 
17 
     | 
    
         
             
                - - ">="
         
     | 
| 
       18 
18 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       19 
     | 
    
         
            -
                    version: 0. 
     | 
| 
      
 19 
     | 
    
         
            +
                    version: 0.12.0
         
     | 
| 
       20 
20 
     | 
    
         
             
                - - "<"
         
     | 
| 
       21 
21 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       22 
22 
     | 
    
         
             
                    version: 2.a
         
     | 
| 
         @@ -26,7 +26,7 @@ dependencies: 
     | 
|
| 
       26 
26 
     | 
    
         
             
                requirements:
         
     | 
| 
       27 
27 
     | 
    
         
             
                - - ">="
         
     | 
| 
       28 
28 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       29 
     | 
    
         
            -
                    version: 0. 
     | 
| 
      
 29 
     | 
    
         
            +
                    version: 0.12.0
         
     | 
| 
       30 
30 
     | 
    
         
             
                - - "<"
         
     | 
| 
       31 
31 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       32 
32 
     | 
    
         
             
                    version: 2.a
         
     | 
| 
         @@ -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-workloadmanager_v1/CHANGELOG.md
         
     | 
| 
       61 
     | 
    
         
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0. 
     | 
| 
      
 61 
     | 
    
         
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.13.0
         
     | 
| 
       62 
62 
     | 
    
         
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workloadmanager_v1
         
     | 
| 
       63 
63 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
       64 
64 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
         @@ -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.5.3
         
     | 
| 
       79 
79 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       80 
80 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       81 
81 
     | 
    
         
             
            summary: Simple REST client for Workload Manager API V1
         
     |