google-apis-firebaseappcheck_v1beta 0.3.0 → 0.4.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/firebaseappcheck_v1beta/classes.rb +122 -0
- data/lib/google/apis/firebaseappcheck_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/firebaseappcheck_v1beta/representations.rb +58 -0
- data/lib/google/apis/firebaseappcheck_v1beta/service.rb +218 -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: 329ee05e37f2bafe8d23acc048c10b2d03e33338cf33b0b1e84bf12912950da4
         | 
| 4 | 
            +
              data.tar.gz: b6b6e4dd7abcf65cdeb659c4ad90582c3ead1b686dd6b04d9fe688b972bebe55
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: bd71ba98bbac4a4fbca12a5c71dacbb8a4ee167d4c8f10d9e7d3faf0f98089e7d392da5337508a12642928000edb1ab5fd6a99b4d93f68153ee0c2c6f7e7494b
         | 
| 7 | 
            +
              data.tar.gz: 337a6556cef3a40c3bc00ffba642615fa1db0b01c4737b9a73c0589386156cde653781a55bceb9e26e35fbedf51d7dd4545e8db19cc9966fa62f205004ee7b47
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    
| @@ -52,6 +52,40 @@ module Google | |
| 52 52 | 
             
                    end
         | 
| 53 53 | 
             
                  end
         | 
| 54 54 |  | 
| 55 | 
            +
                  # An app's App Attest configuration object. This configuration controls certain
         | 
| 56 | 
            +
                  # properties of the App Check token returned by ExchangeAppAttestAttestation and
         | 
| 57 | 
            +
                  # ExchangeAppAttestAttestation, such as its ttl. Note that the Team ID
         | 
| 58 | 
            +
                  # registered with your app is used as part of the validation process. Please
         | 
| 59 | 
            +
                  # register it via the Firebase Console or programmatically via the [Firebase
         | 
| 60 | 
            +
                  # Management Service](https://firebase.google.com/docs/projects/api/reference/
         | 
| 61 | 
            +
                  # rest/v1beta1/projects.iosApps/patch).
         | 
| 62 | 
            +
                  class GoogleFirebaseAppcheckV1betaAppAttestConfig
         | 
| 63 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 64 | 
            +
                  
         | 
| 65 | 
            +
                    # Required. The relative resource name of the App Attest configuration object,
         | 
| 66 | 
            +
                    # in the format: ``` projects/`project_number`/apps/`app_id`/appAttestConfig ```
         | 
| 67 | 
            +
                    # Corresponds to the JSON property `name`
         | 
| 68 | 
            +
                    # @return [String]
         | 
| 69 | 
            +
                    attr_accessor :name
         | 
| 70 | 
            +
                  
         | 
| 71 | 
            +
                    # Specifies the duration for which App Check tokens exchanged from App Attest
         | 
| 72 | 
            +
                    # artifacts will be valid. If unset, a default value of 1 hour is assumed. Must
         | 
| 73 | 
            +
                    # be between 30 minutes and 7 days, inclusive.
         | 
| 74 | 
            +
                    # Corresponds to the JSON property `tokenTtl`
         | 
| 75 | 
            +
                    # @return [String]
         | 
| 76 | 
            +
                    attr_accessor :token_ttl
         | 
| 77 | 
            +
                  
         | 
| 78 | 
            +
                    def initialize(**args)
         | 
| 79 | 
            +
                       update!(**args)
         | 
| 80 | 
            +
                    end
         | 
| 81 | 
            +
                  
         | 
| 82 | 
            +
                    # Update properties of this object
         | 
| 83 | 
            +
                    def update!(**args)
         | 
| 84 | 
            +
                      @name = args[:name] if args.key?(:name)
         | 
| 85 | 
            +
                      @token_ttl = args[:token_ttl] if args.key?(:token_ttl)
         | 
| 86 | 
            +
                    end
         | 
| 87 | 
            +
                  end
         | 
| 88 | 
            +
                  
         | 
| 55 89 | 
             
                  # Encapsulates an *App Check token*, which are used to access Firebase services
         | 
| 56 90 | 
             
                  # protected by App Check.
         | 
| 57 91 | 
             
                  class GoogleFirebaseAppcheckV1betaAttestationTokenResponse
         | 
| @@ -82,6 +116,25 @@ module Google | |
| 82 116 | 
             
                    end
         | 
| 83 117 | 
             
                  end
         | 
| 84 118 |  | 
| 119 | 
            +
                  # Response message for the BatchGetAppAttestConfigs method.
         | 
| 120 | 
            +
                  class GoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse
         | 
| 121 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 122 | 
            +
                  
         | 
| 123 | 
            +
                    # AppAttestConfigs retrieved.
         | 
| 124 | 
            +
                    # Corresponds to the JSON property `configs`
         | 
| 125 | 
            +
                    # @return [Array<Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppAttestConfig>]
         | 
| 126 | 
            +
                    attr_accessor :configs
         | 
| 127 | 
            +
                  
         | 
| 128 | 
            +
                    def initialize(**args)
         | 
| 129 | 
            +
                       update!(**args)
         | 
| 130 | 
            +
                    end
         | 
| 131 | 
            +
                  
         | 
| 132 | 
            +
                    # Update properties of this object
         | 
| 133 | 
            +
                    def update!(**args)
         | 
| 134 | 
            +
                      @configs = args[:configs] if args.key?(:configs)
         | 
| 135 | 
            +
                    end
         | 
| 136 | 
            +
                  end
         | 
| 137 | 
            +
                  
         | 
| 85 138 | 
             
                  # Response message for the BatchGetDeviceCheckConfigs method.
         | 
| 86 139 | 
             
                  class GoogleFirebaseAppcheckV1betaBatchGetDeviceCheckConfigsResponse
         | 
| 87 140 | 
             
                    include Google::Apis::Core::Hashable
         | 
| @@ -120,6 +173,25 @@ module Google | |
| 120 173 | 
             
                    end
         | 
| 121 174 | 
             
                  end
         | 
| 122 175 |  | 
| 176 | 
            +
                  # Response message for the BatchGetSafetyNetConfigs method.
         | 
| 177 | 
            +
                  class GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse
         | 
| 178 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 179 | 
            +
                  
         | 
| 180 | 
            +
                    # SafetyNetConfigs retrieved.
         | 
| 181 | 
            +
                    # Corresponds to the JSON property `configs`
         | 
| 182 | 
            +
                    # @return [Array<Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig>]
         | 
| 183 | 
            +
                    attr_accessor :configs
         | 
| 184 | 
            +
                  
         | 
| 185 | 
            +
                    def initialize(**args)
         | 
| 186 | 
            +
                       update!(**args)
         | 
| 187 | 
            +
                    end
         | 
| 188 | 
            +
                  
         | 
| 189 | 
            +
                    # Update properties of this object
         | 
| 190 | 
            +
                    def update!(**args)
         | 
| 191 | 
            +
                      @configs = args[:configs] if args.key?(:configs)
         | 
| 192 | 
            +
                    end
         | 
| 193 | 
            +
                  end
         | 
| 194 | 
            +
                  
         | 
| 123 195 | 
             
                  # Request message for the BatchUpdateServices method.
         | 
| 124 196 | 
             
                  class GoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest
         | 
| 125 197 | 
             
                    include Google::Apis::Core::Hashable
         | 
| @@ -245,6 +317,13 @@ module Google | |
| 245 317 | 
             
                    attr_accessor :private_key_set
         | 
| 246 318 | 
             
                    alias_method :private_key_set?, :private_key_set
         | 
| 247 319 |  | 
| 320 | 
            +
                    # Specifies the duration for which App Check tokens exchanged from DeviceCheck
         | 
| 321 | 
            +
                    # tokens will be valid. If unset, a default value of 1 hour is assumed. Must be
         | 
| 322 | 
            +
                    # between 30 minutes and 7 days, inclusive.
         | 
| 323 | 
            +
                    # Corresponds to the JSON property `tokenTtl`
         | 
| 324 | 
            +
                    # @return [String]
         | 
| 325 | 
            +
                    attr_accessor :token_ttl
         | 
| 326 | 
            +
                  
         | 
| 248 327 | 
             
                    def initialize(**args)
         | 
| 249 328 | 
             
                       update!(**args)
         | 
| 250 329 | 
             
                    end
         | 
| @@ -255,6 +334,7 @@ module Google | |
| 255 334 | 
             
                      @name = args[:name] if args.key?(:name)
         | 
| 256 335 | 
             
                      @private_key = args[:private_key] if args.key?(:private_key)
         | 
| 257 336 | 
             
                      @private_key_set = args[:private_key_set] if args.key?(:private_key_set)
         | 
| 337 | 
            +
                      @token_ttl = args[:token_ttl] if args.key?(:token_ttl)
         | 
| 258 338 | 
             
                    end
         | 
| 259 339 | 
             
                  end
         | 
| 260 340 |  | 
| @@ -632,6 +712,13 @@ module Google | |
| 632 712 | 
             
                    attr_accessor :site_secret_set
         | 
| 633 713 | 
             
                    alias_method :site_secret_set?, :site_secret_set
         | 
| 634 714 |  | 
| 715 | 
            +
                    # Specifies the duration for which App Check tokens exchanged from reCAPTCHA
         | 
| 716 | 
            +
                    # tokens will be valid. If unset, a default value of 1 day is assumed. Must be
         | 
| 717 | 
            +
                    # between 30 minutes and 7 days, inclusive.
         | 
| 718 | 
            +
                    # Corresponds to the JSON property `tokenTtl`
         | 
| 719 | 
            +
                    # @return [String]
         | 
| 720 | 
            +
                    attr_accessor :token_ttl
         | 
| 721 | 
            +
                  
         | 
| 635 722 | 
             
                    def initialize(**args)
         | 
| 636 723 | 
             
                       update!(**args)
         | 
| 637 724 | 
             
                    end
         | 
| @@ -641,6 +728,41 @@ module Google | |
| 641 728 | 
             
                      @name = args[:name] if args.key?(:name)
         | 
| 642 729 | 
             
                      @site_secret = args[:site_secret] if args.key?(:site_secret)
         | 
| 643 730 | 
             
                      @site_secret_set = args[:site_secret_set] if args.key?(:site_secret_set)
         | 
| 731 | 
            +
                      @token_ttl = args[:token_ttl] if args.key?(:token_ttl)
         | 
| 732 | 
            +
                    end
         | 
| 733 | 
            +
                  end
         | 
| 734 | 
            +
                  
         | 
| 735 | 
            +
                  # An app's SafetyNet configuration object. This configuration controls certain
         | 
| 736 | 
            +
                  # properties of the App Check token returned by ExchangeSafetyNetToken, such as
         | 
| 737 | 
            +
                  # its ttl. Note that your registered SHA-256 certificate fingerprints are used
         | 
| 738 | 
            +
                  # to validate tokens issued by SafetyNet; please register them via the Firebase
         | 
| 739 | 
            +
                  # Console or programmatically via the [Firebase Management Service](https://
         | 
| 740 | 
            +
                  # firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects.
         | 
| 741 | 
            +
                  # androidApps.sha/create).
         | 
| 742 | 
            +
                  class GoogleFirebaseAppcheckV1betaSafetyNetConfig
         | 
| 743 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 744 | 
            +
                  
         | 
| 745 | 
            +
                    # Required. The relative resource name of the SafetyNet configuration object, in
         | 
| 746 | 
            +
                    # the format: ``` projects/`project_number`/apps/`app_id`/safetyNetConfig ```
         | 
| 747 | 
            +
                    # Corresponds to the JSON property `name`
         | 
| 748 | 
            +
                    # @return [String]
         | 
| 749 | 
            +
                    attr_accessor :name
         | 
| 750 | 
            +
                  
         | 
| 751 | 
            +
                    # Specifies the duration for which App Check tokens exchanged from SafetyNet
         | 
| 752 | 
            +
                    # tokens will be valid. If unset, a default value of 1 hour is assumed. Must be
         | 
| 753 | 
            +
                    # between 30 minutes and 7 days, inclusive.
         | 
| 754 | 
            +
                    # Corresponds to the JSON property `tokenTtl`
         | 
| 755 | 
            +
                    # @return [String]
         | 
| 756 | 
            +
                    attr_accessor :token_ttl
         | 
| 757 | 
            +
                  
         | 
| 758 | 
            +
                    def initialize(**args)
         | 
| 759 | 
            +
                       update!(**args)
         | 
| 760 | 
            +
                    end
         | 
| 761 | 
            +
                  
         | 
| 762 | 
            +
                    # Update properties of this object
         | 
| 763 | 
            +
                    def update!(**args)
         | 
| 764 | 
            +
                      @name = args[:name] if args.key?(:name)
         | 
| 765 | 
            +
                      @token_ttl = args[:token_ttl] if args.key?(:token_ttl)
         | 
| 644 766 | 
             
                    end
         | 
| 645 767 | 
             
                  end
         | 
| 646 768 |  | 
| @@ -16,13 +16,13 @@ module Google | |
| 16 16 | 
             
              module Apis
         | 
| 17 17 | 
             
                module FirebaseappcheckV1beta
         | 
| 18 18 | 
             
                  # Version of the google-apis-firebaseappcheck_v1beta gem
         | 
| 19 | 
            -
                  GEM_VERSION = "0. | 
| 19 | 
            +
                  GEM_VERSION = "0.4.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 = "20210712"
         | 
| 26 26 | 
             
                end
         | 
| 27 27 | 
             
              end
         | 
| 28 28 | 
             
            end
         | 
| @@ -28,12 +28,24 @@ module Google | |
| 28 28 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 29 29 | 
             
                  end
         | 
| 30 30 |  | 
| 31 | 
            +
                  class GoogleFirebaseAppcheckV1betaAppAttestConfig
         | 
| 32 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 33 | 
            +
                  
         | 
| 34 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 35 | 
            +
                  end
         | 
| 36 | 
            +
                  
         | 
| 31 37 | 
             
                  class GoogleFirebaseAppcheckV1betaAttestationTokenResponse
         | 
| 32 38 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 33 39 |  | 
| 34 40 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 35 41 | 
             
                  end
         | 
| 36 42 |  | 
| 43 | 
            +
                  class GoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse
         | 
| 44 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 45 | 
            +
                  
         | 
| 46 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 47 | 
            +
                  end
         | 
| 48 | 
            +
                  
         | 
| 37 49 | 
             
                  class GoogleFirebaseAppcheckV1betaBatchGetDeviceCheckConfigsResponse
         | 
| 38 50 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 39 51 |  | 
| @@ -46,6 +58,12 @@ module Google | |
| 46 58 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 47 59 | 
             
                  end
         | 
| 48 60 |  | 
| 61 | 
            +
                  class GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse
         | 
| 62 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 63 | 
            +
                  
         | 
| 64 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 65 | 
            +
                  end
         | 
| 66 | 
            +
                  
         | 
| 49 67 | 
             
                  class GoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest
         | 
| 50 68 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 51 69 |  | 
| @@ -154,6 +172,12 @@ module Google | |
| 154 172 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 155 173 | 
             
                  end
         | 
| 156 174 |  | 
| 175 | 
            +
                  class GoogleFirebaseAppcheckV1betaSafetyNetConfig
         | 
| 176 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 177 | 
            +
                  
         | 
| 178 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 179 | 
            +
                  end
         | 
| 180 | 
            +
                  
         | 
| 157 181 | 
             
                  class GoogleFirebaseAppcheckV1betaService
         | 
| 158 182 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 159 183 |  | 
| @@ -180,6 +204,14 @@ module Google | |
| 180 204 | 
             
                    end
         | 
| 181 205 | 
             
                  end
         | 
| 182 206 |  | 
| 207 | 
            +
                  class GoogleFirebaseAppcheckV1betaAppAttestConfig
         | 
| 208 | 
            +
                    # @private
         | 
| 209 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 210 | 
            +
                      property :name, as: 'name'
         | 
| 211 | 
            +
                      property :token_ttl, as: 'tokenTtl'
         | 
| 212 | 
            +
                    end
         | 
| 213 | 
            +
                  end
         | 
| 214 | 
            +
                  
         | 
| 183 215 | 
             
                  class GoogleFirebaseAppcheckV1betaAttestationTokenResponse
         | 
| 184 216 | 
             
                    # @private
         | 
| 185 217 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -188,6 +220,14 @@ module Google | |
| 188 220 | 
             
                    end
         | 
| 189 221 | 
             
                  end
         | 
| 190 222 |  | 
| 223 | 
            +
                  class GoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse
         | 
| 224 | 
            +
                    # @private
         | 
| 225 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 226 | 
            +
                      collection :configs, as: 'configs', class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppAttestConfig, decorator: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppAttestConfig::Representation
         | 
| 227 | 
            +
                  
         | 
| 228 | 
            +
                    end
         | 
| 229 | 
            +
                  end
         | 
| 230 | 
            +
                  
         | 
| 191 231 | 
             
                  class GoogleFirebaseAppcheckV1betaBatchGetDeviceCheckConfigsResponse
         | 
| 192 232 | 
             
                    # @private
         | 
| 193 233 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -204,6 +244,14 @@ module Google | |
| 204 244 | 
             
                    end
         | 
| 205 245 | 
             
                  end
         | 
| 206 246 |  | 
| 247 | 
            +
                  class GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse
         | 
| 248 | 
            +
                    # @private
         | 
| 249 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 250 | 
            +
                      collection :configs, as: 'configs', class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig, decorator: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig::Representation
         | 
| 251 | 
            +
                  
         | 
| 252 | 
            +
                    end
         | 
| 253 | 
            +
                  end
         | 
| 254 | 
            +
                  
         | 
| 207 255 | 
             
                  class GoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest
         | 
| 208 256 | 
             
                    # @private
         | 
| 209 257 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -237,6 +285,7 @@ module Google | |
| 237 285 | 
             
                      property :name, as: 'name'
         | 
| 238 286 | 
             
                      property :private_key, as: 'privateKey'
         | 
| 239 287 | 
             
                      property :private_key_set, as: 'privateKeySet'
         | 
| 288 | 
            +
                      property :token_ttl, as: 'tokenTtl'
         | 
| 240 289 | 
             
                    end
         | 
| 241 290 | 
             
                  end
         | 
| 242 291 |  | 
| @@ -352,6 +401,15 @@ module Google | |
| 352 401 | 
             
                      property :name, as: 'name'
         | 
| 353 402 | 
             
                      property :site_secret, as: 'siteSecret'
         | 
| 354 403 | 
             
                      property :site_secret_set, as: 'siteSecretSet'
         | 
| 404 | 
            +
                      property :token_ttl, as: 'tokenTtl'
         | 
| 405 | 
            +
                    end
         | 
| 406 | 
            +
                  end
         | 
| 407 | 
            +
                  
         | 
| 408 | 
            +
                  class GoogleFirebaseAppcheckV1betaSafetyNetConfig
         | 
| 409 | 
            +
                    # @private
         | 
| 410 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 411 | 
            +
                      property :name, as: 'name'
         | 
| 412 | 
            +
                      property :token_ttl, as: 'tokenTtl'
         | 
| 355 413 | 
             
                    end
         | 
| 356 414 | 
             
                  end
         | 
| 357 415 |  | 
| @@ -400,6 +400,115 @@ module Google | |
| 400 400 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 401 401 | 
             
                    end
         | 
| 402 402 |  | 
| 403 | 
            +
                    # Gets the AppAttestConfigs for the specified list of apps atomically.
         | 
| 404 | 
            +
                    # @param [String] parent
         | 
| 405 | 
            +
                    #   Required. The parent project name shared by all AppAttestConfigs being
         | 
| 406 | 
            +
                    #   retrieved, in the format ``` projects/`project_number` ``` The parent
         | 
| 407 | 
            +
                    #   collection in the `name` field of any resource being retrieved must match this
         | 
| 408 | 
            +
                    #   field, or the entire batch fails.
         | 
| 409 | 
            +
                    # @param [Array<String>, String] names
         | 
| 410 | 
            +
                    #   Required. The relative resource names of the AppAttestConfigs to retrieve, in
         | 
| 411 | 
            +
                    #   the format ``` projects/`project_number`/apps/`app_id`/appAttestConfig ``` A
         | 
| 412 | 
            +
                    #   maximum of 100 objects can be retrieved in a batch.
         | 
| 413 | 
            +
                    # @param [String] fields
         | 
| 414 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 415 | 
            +
                    # @param [String] quota_user
         | 
| 416 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 417 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 418 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 419 | 
            +
                    #   Request-specific options
         | 
| 420 | 
            +
                    #
         | 
| 421 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 422 | 
            +
                    # @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse] parsed result object
         | 
| 423 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 424 | 
            +
                    #
         | 
| 425 | 
            +
                    # @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse]
         | 
| 426 | 
            +
                    #
         | 
| 427 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 428 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 429 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 430 | 
            +
                    def batch_project_app_app_attest_config_get(parent, names: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 431 | 
            +
                      command = make_simple_command(:get, 'v1beta/{+parent}/apps/-/appAttestConfig:batchGet', options)
         | 
| 432 | 
            +
                      command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse::Representation
         | 
| 433 | 
            +
                      command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse
         | 
| 434 | 
            +
                      command.params['parent'] = parent unless parent.nil?
         | 
| 435 | 
            +
                      command.query['names'] = names unless names.nil?
         | 
| 436 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 437 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 438 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 439 | 
            +
                    end
         | 
| 440 | 
            +
                    
         | 
| 441 | 
            +
                    # Gets the AppAttestConfig for the specified app.
         | 
| 442 | 
            +
                    # @param [String] name
         | 
| 443 | 
            +
                    #   Required. The relative resource name of the AppAttestConfig, in the format: ```
         | 
| 444 | 
            +
                    #   projects/`project_number`/apps/`app_id`/appAttestConfig ```
         | 
| 445 | 
            +
                    # @param [String] fields
         | 
| 446 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 447 | 
            +
                    # @param [String] quota_user
         | 
| 448 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 449 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 450 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 451 | 
            +
                    #   Request-specific options
         | 
| 452 | 
            +
                    #
         | 
| 453 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 454 | 
            +
                    # @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppAttestConfig] parsed result object
         | 
| 455 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 456 | 
            +
                    #
         | 
| 457 | 
            +
                    # @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppAttestConfig]
         | 
| 458 | 
            +
                    #
         | 
| 459 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 460 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 461 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 462 | 
            +
                    def get_project_app_app_attest_config(name, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 463 | 
            +
                      command = make_simple_command(:get, 'v1beta/{+name}', options)
         | 
| 464 | 
            +
                      command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppAttestConfig::Representation
         | 
| 465 | 
            +
                      command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppAttestConfig
         | 
| 466 | 
            +
                      command.params['name'] = name unless name.nil?
         | 
| 467 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 468 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 469 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 470 | 
            +
                    end
         | 
| 471 | 
            +
                    
         | 
| 472 | 
            +
                    # Updates the AppAttestConfig for the specified app. While this configuration is
         | 
| 473 | 
            +
                    # incomplete or invalid, the app will be unable to exchange AppAttest tokens for
         | 
| 474 | 
            +
                    # App Check tokens.
         | 
| 475 | 
            +
                    # @param [String] name
         | 
| 476 | 
            +
                    #   Required. The relative resource name of the App Attest configuration object,
         | 
| 477 | 
            +
                    #   in the format: ``` projects/`project_number`/apps/`app_id`/appAttestConfig ```
         | 
| 478 | 
            +
                    # @param [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppAttestConfig] google_firebase_appcheck_v1beta_app_attest_config_object
         | 
| 479 | 
            +
                    # @param [String] update_mask
         | 
| 480 | 
            +
                    #   Required. A comma-separated list of names of fields in the AppAttestConfig
         | 
| 481 | 
            +
                    #   Gets to update. Example: `token_ttl`.
         | 
| 482 | 
            +
                    # @param [String] fields
         | 
| 483 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 484 | 
            +
                    # @param [String] quota_user
         | 
| 485 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 486 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 487 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 488 | 
            +
                    #   Request-specific options
         | 
| 489 | 
            +
                    #
         | 
| 490 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 491 | 
            +
                    # @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppAttestConfig] parsed result object
         | 
| 492 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 493 | 
            +
                    #
         | 
| 494 | 
            +
                    # @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppAttestConfig]
         | 
| 495 | 
            +
                    #
         | 
| 496 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 497 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 498 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 499 | 
            +
                    def patch_project_app_app_attest_config(name, google_firebase_appcheck_v1beta_app_attest_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 500 | 
            +
                      command = make_simple_command(:patch, 'v1beta/{+name}', options)
         | 
| 501 | 
            +
                      command.request_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppAttestConfig::Representation
         | 
| 502 | 
            +
                      command.request_object = google_firebase_appcheck_v1beta_app_attest_config_object
         | 
| 503 | 
            +
                      command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppAttestConfig::Representation
         | 
| 504 | 
            +
                      command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppAttestConfig
         | 
| 505 | 
            +
                      command.params['name'] = name unless name.nil?
         | 
| 506 | 
            +
                      command.query['updateMask'] = update_mask unless update_mask.nil?
         | 
| 507 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 508 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 509 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 510 | 
            +
                    end
         | 
| 511 | 
            +
                    
         | 
| 403 512 | 
             
                    # Creates a new DebugToken for the specified app. For security reasons, after
         | 
| 404 513 | 
             
                    # the creation operation completes, the `token` field cannot be updated or
         | 
| 405 514 | 
             
                    # retrieved, but you can revoke the debug token using DeleteDebugToken. Each app
         | 
| @@ -815,6 +924,115 @@ module Google | |
| 815 924 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 816 925 | 
             
                    end
         | 
| 817 926 |  | 
| 927 | 
            +
                    # Gets the SafetyNetConfigs for the specified list of apps atomically.
         | 
| 928 | 
            +
                    # @param [String] parent
         | 
| 929 | 
            +
                    #   Required. The parent project name shared by all SafetyNetConfigs being
         | 
| 930 | 
            +
                    #   retrieved, in the format ``` projects/`project_number` ``` The parent
         | 
| 931 | 
            +
                    #   collection in the `name` field of any resource being retrieved must match this
         | 
| 932 | 
            +
                    #   field, or the entire batch fails.
         | 
| 933 | 
            +
                    # @param [Array<String>, String] names
         | 
| 934 | 
            +
                    #   Required. The relative resource names of the SafetyNetConfigs to retrieve, in
         | 
| 935 | 
            +
                    #   the format ``` projects/`project_number`/apps/`app_id`/safetyNetConfig ``` A
         | 
| 936 | 
            +
                    #   maximum of 100 objects can be retrieved in a batch.
         | 
| 937 | 
            +
                    # @param [String] fields
         | 
| 938 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 939 | 
            +
                    # @param [String] quota_user
         | 
| 940 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 941 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 942 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 943 | 
            +
                    #   Request-specific options
         | 
| 944 | 
            +
                    #
         | 
| 945 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 946 | 
            +
                    # @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse] parsed result object
         | 
| 947 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 948 | 
            +
                    #
         | 
| 949 | 
            +
                    # @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse]
         | 
| 950 | 
            +
                    #
         | 
| 951 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 952 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 953 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 954 | 
            +
                    def batch_project_app_safety_net_config_get(parent, names: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 955 | 
            +
                      command = make_simple_command(:get, 'v1beta/{+parent}/apps/-/safetyNetConfig:batchGet', options)
         | 
| 956 | 
            +
                      command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse::Representation
         | 
| 957 | 
            +
                      command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse
         | 
| 958 | 
            +
                      command.params['parent'] = parent unless parent.nil?
         | 
| 959 | 
            +
                      command.query['names'] = names unless names.nil?
         | 
| 960 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 961 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 962 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 963 | 
            +
                    end
         | 
| 964 | 
            +
                    
         | 
| 965 | 
            +
                    # Gets the SafetyNetConfig for the specified app.
         | 
| 966 | 
            +
                    # @param [String] name
         | 
| 967 | 
            +
                    #   Required. The relative resource name of the SafetyNetConfig, in the format: ```
         | 
| 968 | 
            +
                    #   projects/`project_number`/apps/`app_id`/safetyNetConfig ```
         | 
| 969 | 
            +
                    # @param [String] fields
         | 
| 970 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 971 | 
            +
                    # @param [String] quota_user
         | 
| 972 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 973 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 974 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 975 | 
            +
                    #   Request-specific options
         | 
| 976 | 
            +
                    #
         | 
| 977 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 978 | 
            +
                    # @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig] parsed result object
         | 
| 979 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 980 | 
            +
                    #
         | 
| 981 | 
            +
                    # @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig]
         | 
| 982 | 
            +
                    #
         | 
| 983 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 984 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 985 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 986 | 
            +
                    def get_project_app_safety_net_config(name, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 987 | 
            +
                      command = make_simple_command(:get, 'v1beta/{+name}', options)
         | 
| 988 | 
            +
                      command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig::Representation
         | 
| 989 | 
            +
                      command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig
         | 
| 990 | 
            +
                      command.params['name'] = name unless name.nil?
         | 
| 991 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 992 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 993 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 994 | 
            +
                    end
         | 
| 995 | 
            +
                    
         | 
| 996 | 
            +
                    # Updates the SafetyNetConfig for the specified app. While this configuration is
         | 
| 997 | 
            +
                    # incomplete or invalid, the app will be unable to exchange SafetyNet tokens for
         | 
| 998 | 
            +
                    # App Check tokens.
         | 
| 999 | 
            +
                    # @param [String] name
         | 
| 1000 | 
            +
                    #   Required. The relative resource name of the SafetyNet configuration object, in
         | 
| 1001 | 
            +
                    #   the format: ``` projects/`project_number`/apps/`app_id`/safetyNetConfig ```
         | 
| 1002 | 
            +
                    # @param [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig] google_firebase_appcheck_v1beta_safety_net_config_object
         | 
| 1003 | 
            +
                    # @param [String] update_mask
         | 
| 1004 | 
            +
                    #   Required. A comma-separated list of names of fields in the SafetyNetConfig
         | 
| 1005 | 
            +
                    #   Gets to update. Example: `token_ttl`.
         | 
| 1006 | 
            +
                    # @param [String] fields
         | 
| 1007 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 1008 | 
            +
                    # @param [String] quota_user
         | 
| 1009 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 1010 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 1011 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 1012 | 
            +
                    #   Request-specific options
         | 
| 1013 | 
            +
                    #
         | 
| 1014 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 1015 | 
            +
                    # @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig] parsed result object
         | 
| 1016 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 1017 | 
            +
                    #
         | 
| 1018 | 
            +
                    # @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig]
         | 
| 1019 | 
            +
                    #
         | 
| 1020 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 1021 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1022 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1023 | 
            +
                    def patch_project_app_safety_net_config(name, google_firebase_appcheck_v1beta_safety_net_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1024 | 
            +
                      command = make_simple_command(:patch, 'v1beta/{+name}', options)
         | 
| 1025 | 
            +
                      command.request_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig::Representation
         | 
| 1026 | 
            +
                      command.request_object = google_firebase_appcheck_v1beta_safety_net_config_object
         | 
| 1027 | 
            +
                      command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig::Representation
         | 
| 1028 | 
            +
                      command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig
         | 
| 1029 | 
            +
                      command.params['name'] = name unless name.nil?
         | 
| 1030 | 
            +
                      command.query['updateMask'] = update_mask unless update_mask.nil?
         | 
| 1031 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 1032 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 1033 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 1034 | 
            +
                    end
         | 
| 1035 | 
            +
                    
         | 
| 818 1036 | 
             
                    # Updates the specified Service configurations atomically.
         | 
| 819 1037 | 
             
                    # @param [String] parent
         | 
| 820 1038 | 
             
                    #   Required. The parent project name shared by all Service configurations being
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-apis-firebaseappcheck_v1beta
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.4.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: 2021-07- | 
| 11 | 
            +
            date: 2021-07-19 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/master/generated/google-apis-firebaseappcheck_v1beta/CHANGELOG.md
         | 
| 61 | 
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappcheck_v1beta/v0. | 
| 61 | 
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappcheck_v1beta/v0.4.0
         | 
| 62 62 | 
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-firebaseappcheck_v1beta
         | 
| 63 63 | 
             
            post_install_message: 
         | 
| 64 64 | 
             
            rdoc_options: []
         |