google-apis-netapp_v1 0.6.0 → 0.7.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
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 43458bc83bffe4d0a5c3c4818ba20c1de02ae6b8dc6e888937489367d1a47a98
         | 
| 4 | 
            +
              data.tar.gz: a9e714d98119f95bbeb5123b851bd426511ba19835f793ed7c1b78410263c8b4
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: e0781e9f1f53591b93c58ac301d9bd9224b62b922f6a0a36757d51ea82bc491983b2c7b12c30bb1f285931418f3c9a7bddfbb4587d83d11881cd858788c7788a
         | 
| 7 | 
            +
              data.tar.gz: adfe9e175b2ec9f291458997d28dd3f4f45b4b4e38fe2b854a54cfb83e9f502c1aa320de9f4f0de8e040d76b7e31388b69a833e623df3bbcc0c22daccf4c7084
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    
| @@ -184,6 +184,12 @@ module Google | |
| 184 184 | 
             
                  class Backup
         | 
| 185 185 | 
             
                    include Google::Apis::Core::Hashable
         | 
| 186 186 |  | 
| 187 | 
            +
                    # Output only. Region in which backup is stored. Format: `projects/`project_id`/
         | 
| 188 | 
            +
                    # locations/`location``
         | 
| 189 | 
            +
                    # Corresponds to the JSON property `backupRegion`
         | 
| 190 | 
            +
                    # @return [String]
         | 
| 191 | 
            +
                    attr_accessor :backup_region
         | 
| 192 | 
            +
                  
         | 
| 187 193 | 
             
                    # Output only. Type of backup, manually created or created by a backup policy.
         | 
| 188 194 | 
             
                    # Corresponds to the JSON property `backupType`
         | 
| 189 195 | 
             
                    # @return [String]
         | 
| @@ -248,6 +254,12 @@ module Google | |
| 248 254 | 
             
                    # @return [String]
         | 
| 249 255 | 
             
                    attr_accessor :state
         | 
| 250 256 |  | 
| 257 | 
            +
                    # Output only. Region of the volume from which the backup was created. Format: `
         | 
| 258 | 
            +
                    # projects/`project_id`/locations/`location``
         | 
| 259 | 
            +
                    # Corresponds to the JSON property `volumeRegion`
         | 
| 260 | 
            +
                    # @return [String]
         | 
| 261 | 
            +
                    attr_accessor :volume_region
         | 
| 262 | 
            +
                  
         | 
| 251 263 | 
             
                    # Output only. Size of the file system when the backup was created. When
         | 
| 252 264 | 
             
                    # creating a new volume from the backup, the volume capacity will have to be at
         | 
| 253 265 | 
             
                    # least as big.
         | 
| @@ -261,6 +273,7 @@ module Google | |
| 261 273 |  | 
| 262 274 | 
             
                    # Update properties of this object
         | 
| 263 275 | 
             
                    def update!(**args)
         | 
| 276 | 
            +
                      @backup_region = args[:backup_region] if args.key?(:backup_region)
         | 
| 264 277 | 
             
                      @backup_type = args[:backup_type] if args.key?(:backup_type)
         | 
| 265 278 | 
             
                      @chain_storage_bytes = args[:chain_storage_bytes] if args.key?(:chain_storage_bytes)
         | 
| 266 279 | 
             
                      @create_time = args[:create_time] if args.key?(:create_time)
         | 
| @@ -272,6 +285,7 @@ module Google | |
| 272 285 | 
             
                      @source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
         | 
| 273 286 | 
             
                      @source_volume = args[:source_volume] if args.key?(:source_volume)
         | 
| 274 287 | 
             
                      @state = args[:state] if args.key?(:state)
         | 
| 288 | 
            +
                      @volume_region = args[:volume_region] if args.key?(:volume_region)
         | 
| 275 289 | 
             
                      @volume_usage_bytes = args[:volume_usage_bytes] if args.key?(:volume_usage_bytes)
         | 
| 276 290 | 
             
                    end
         | 
| 277 291 | 
             
                  end
         | 
| @@ -401,6 +415,17 @@ module Google | |
| 401 415 | 
             
                  class BackupVault
         | 
| 402 416 | 
             
                    include Google::Apis::Core::Hashable
         | 
| 403 417 |  | 
| 418 | 
            +
                    # Optional. Region where the backups are stored. Format: `projects/`project_id`/
         | 
| 419 | 
            +
                    # locations/`location``
         | 
| 420 | 
            +
                    # Corresponds to the JSON property `backupRegion`
         | 
| 421 | 
            +
                    # @return [String]
         | 
| 422 | 
            +
                    attr_accessor :backup_region
         | 
| 423 | 
            +
                  
         | 
| 424 | 
            +
                    # Optional. Type of backup vault to be created. Default is IN_REGION.
         | 
| 425 | 
            +
                    # Corresponds to the JSON property `backupVaultType`
         | 
| 426 | 
            +
                    # @return [String]
         | 
| 427 | 
            +
                    attr_accessor :backup_vault_type
         | 
| 428 | 
            +
                  
         | 
| 404 429 | 
             
                    # Output only. Create time of the backup vault.
         | 
| 405 430 | 
             
                    # Corresponds to the JSON property `createTime`
         | 
| 406 431 | 
             
                    # @return [String]
         | 
| @@ -411,6 +436,12 @@ module Google | |
| 411 436 | 
             
                    # @return [String]
         | 
| 412 437 | 
             
                    attr_accessor :description
         | 
| 413 438 |  | 
| 439 | 
            +
                    # Output only. Name of the Backup vault created in backup region. Format: `
         | 
| 440 | 
            +
                    # projects/`project_id`/locations/`location`/backupVaults/`backup_vault_id``
         | 
| 441 | 
            +
                    # Corresponds to the JSON property `destinationBackupVault`
         | 
| 442 | 
            +
                    # @return [String]
         | 
| 443 | 
            +
                    attr_accessor :destination_backup_vault
         | 
| 444 | 
            +
                  
         | 
| 414 445 | 
             
                    # Resource labels to represent user provided metadata.
         | 
| 415 446 | 
             
                    # Corresponds to the JSON property `labels`
         | 
| 416 447 | 
             
                    # @return [Hash<String,String>]
         | 
| @@ -422,6 +453,18 @@ module Google | |
| 422 453 | 
             
                    # @return [String]
         | 
| 423 454 | 
             
                    attr_accessor :name
         | 
| 424 455 |  | 
| 456 | 
            +
                    # Output only. Name of the Backup vault created in source region. Format: `
         | 
| 457 | 
            +
                    # projects/`project_id`/locations/`location`/backupVaults/`backup_vault_id``
         | 
| 458 | 
            +
                    # Corresponds to the JSON property `sourceBackupVault`
         | 
| 459 | 
            +
                    # @return [String]
         | 
| 460 | 
            +
                    attr_accessor :source_backup_vault
         | 
| 461 | 
            +
                  
         | 
| 462 | 
            +
                    # Output only. Region in which the backup vault is created. Format: `projects/`
         | 
| 463 | 
            +
                    # project_id`/locations/`location``
         | 
| 464 | 
            +
                    # Corresponds to the JSON property `sourceRegion`
         | 
| 465 | 
            +
                    # @return [String]
         | 
| 466 | 
            +
                    attr_accessor :source_region
         | 
| 467 | 
            +
                  
         | 
| 425 468 | 
             
                    # Output only. The backup vault state.
         | 
| 426 469 | 
             
                    # Corresponds to the JSON property `state`
         | 
| 427 470 | 
             
                    # @return [String]
         | 
| @@ -433,10 +476,15 @@ module Google | |
| 433 476 |  | 
| 434 477 | 
             
                    # Update properties of this object
         | 
| 435 478 | 
             
                    def update!(**args)
         | 
| 479 | 
            +
                      @backup_region = args[:backup_region] if args.key?(:backup_region)
         | 
| 480 | 
            +
                      @backup_vault_type = args[:backup_vault_type] if args.key?(:backup_vault_type)
         | 
| 436 481 | 
             
                      @create_time = args[:create_time] if args.key?(:create_time)
         | 
| 437 482 | 
             
                      @description = args[:description] if args.key?(:description)
         | 
| 483 | 
            +
                      @destination_backup_vault = args[:destination_backup_vault] if args.key?(:destination_backup_vault)
         | 
| 438 484 | 
             
                      @labels = args[:labels] if args.key?(:labels)
         | 
| 439 485 | 
             
                      @name = args[:name] if args.key?(:name)
         | 
| 486 | 
            +
                      @source_backup_vault = args[:source_backup_vault] if args.key?(:source_backup_vault)
         | 
| 487 | 
            +
                      @source_region = args[:source_region] if args.key?(:source_region)
         | 
| 440 488 | 
             
                      @state = args[:state] if args.key?(:state)
         | 
| 441 489 | 
             
                    end
         | 
| 442 490 | 
             
                  end
         | 
| @@ -16,13 +16,13 @@ module Google | |
| 16 16 | 
             
              module Apis
         | 
| 17 17 | 
             
                module NetappV1
         | 
| 18 18 | 
             
                  # Version of the google-apis-netapp_v1 gem
         | 
| 19 | 
            -
                  GEM_VERSION = "0. | 
| 19 | 
            +
                  GEM_VERSION = "0.7.0"
         | 
| 20 20 |  | 
| 21 21 | 
             
                  # Version of the code generator used to generate this client
         | 
| 22 22 | 
             
                  GENERATOR_VERSION = "0.16.0"
         | 
| 23 23 |  | 
| 24 24 | 
             
                  # Revision of the discovery document this client was generated from
         | 
| 25 | 
            -
                  REVISION = " | 
| 25 | 
            +
                  REVISION = "20250326"
         | 
| 26 26 | 
             
                end
         | 
| 27 27 | 
             
              end
         | 
| 28 28 | 
             
            end
         | 
| @@ -383,6 +383,7 @@ module Google | |
| 383 383 | 
             
                  class Backup
         | 
| 384 384 | 
             
                    # @private
         | 
| 385 385 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 386 | 
            +
                      property :backup_region, as: 'backupRegion'
         | 
| 386 387 | 
             
                      property :backup_type, as: 'backupType'
         | 
| 387 388 | 
             
                      property :chain_storage_bytes, :numeric_string => true, as: 'chainStorageBytes'
         | 
| 388 389 | 
             
                      property :create_time, as: 'createTime'
         | 
| @@ -394,6 +395,7 @@ module Google | |
| 394 395 | 
             
                      property :source_snapshot, as: 'sourceSnapshot'
         | 
| 395 396 | 
             
                      property :source_volume, as: 'sourceVolume'
         | 
| 396 397 | 
             
                      property :state, as: 'state'
         | 
| 398 | 
            +
                      property :volume_region, as: 'volumeRegion'
         | 
| 397 399 | 
             
                      property :volume_usage_bytes, :numeric_string => true, as: 'volumeUsageBytes'
         | 
| 398 400 | 
             
                    end
         | 
| 399 401 | 
             
                  end
         | 
| @@ -427,10 +429,15 @@ module Google | |
| 427 429 | 
             
                  class BackupVault
         | 
| 428 430 | 
             
                    # @private
         | 
| 429 431 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 432 | 
            +
                      property :backup_region, as: 'backupRegion'
         | 
| 433 | 
            +
                      property :backup_vault_type, as: 'backupVaultType'
         | 
| 430 434 | 
             
                      property :create_time, as: 'createTime'
         | 
| 431 435 | 
             
                      property :description, as: 'description'
         | 
| 436 | 
            +
                      property :destination_backup_vault, as: 'destinationBackupVault'
         | 
| 432 437 | 
             
                      hash :labels, as: 'labels'
         | 
| 433 438 | 
             
                      property :name, as: 'name'
         | 
| 439 | 
            +
                      property :source_backup_vault, as: 'sourceBackupVault'
         | 
| 440 | 
            +
                      property :source_region, as: 'sourceRegion'
         | 
| 434 441 | 
             
                      property :state, as: 'state'
         | 
| 435 442 | 
             
                    end
         | 
| 436 443 | 
             
                  end
         | 
| @@ -86,6 +86,9 @@ module Google | |
| 86 86 | 
             
                    # Lists information about the supported locations for this service.
         | 
| 87 87 | 
             
                    # @param [String] name
         | 
| 88 88 | 
             
                    #   The resource that owns the locations collection, if applicable.
         | 
| 89 | 
            +
                    # @param [Array<String>, String] extra_location_types
         | 
| 90 | 
            +
                    #   Optional. A list of extra location types that should be used as conditions for
         | 
| 91 | 
            +
                    #   controlling the visibility of the locations.
         | 
| 89 92 | 
             
                    # @param [String] filter
         | 
| 90 93 | 
             
                    #   A filter to narrow down results to a preferred subset. The filtering language
         | 
| 91 94 | 
             
                    #   accepts strings like `"displayName=tokyo"`, and is documented in more detail
         | 
| @@ -113,11 +116,12 @@ module Google | |
| 113 116 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 114 117 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 115 118 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 116 | 
            -
                    def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 119 | 
            +
                    def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 117 120 | 
             
                      command = make_simple_command(:get, 'v1/{+name}/locations', options)
         | 
| 118 121 | 
             
                      command.response_representation = Google::Apis::NetappV1::ListLocationsResponse::Representation
         | 
| 119 122 | 
             
                      command.response_class = Google::Apis::NetappV1::ListLocationsResponse
         | 
| 120 123 | 
             
                      command.params['name'] = name unless name.nil?
         | 
| 124 | 
            +
                      command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
         | 
| 121 125 | 
             
                      command.query['filter'] = filter unless filter.nil?
         | 
| 122 126 | 
             
                      command.query['pageSize'] = page_size unless page_size.nil?
         | 
| 123 127 | 
             
                      command.query['pageToken'] = page_token unless page_token.nil?
         | 
    
        metadata
    CHANGED
    
    | @@ -1,13 +1,13 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-apis-netapp_v1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.7.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Google LLC
         | 
| 8 8 | 
             
            bindir: bin
         | 
| 9 9 | 
             
            cert_chain: []
         | 
| 10 | 
            -
            date: 2025- | 
| 10 | 
            +
            date: 2025-04-20 00:00:00.000000000 Z
         | 
| 11 11 | 
             
            dependencies:
         | 
| 12 12 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 13 13 | 
             
              name: google-apis-core
         | 
| @@ -57,7 +57,7 @@ licenses: | |
| 57 57 | 
             
            metadata:
         | 
| 58 58 | 
             
              bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
         | 
| 59 59 | 
             
              changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-netapp_v1/CHANGELOG.md
         | 
| 60 | 
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-netapp_v1/v0. | 
| 60 | 
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-netapp_v1/v0.7.0
         | 
| 61 61 | 
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-netapp_v1
         | 
| 62 62 | 
             
            rdoc_options: []
         | 
| 63 63 | 
             
            require_paths:
         |