google-apis-cloudfunctions_v1 0.9.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
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 7bed6f2221afbfbcefe85029ff3282c7dbd4846ceba8bb94f7c1764afd81f4ca
         | 
| 4 | 
            +
              data.tar.gz: 7ec4794c73f97592deceab2590d3b0b76a191d1e1f2b19d7e0b1e6b0058d20e5
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 81399dc63a788a7ca3230c29753d61dc412e7ffe8d665ab12442e258f15c7c99f0fac8d6df2f622167d947788501219e3ad85ed5a56500f37ecafdf8ba7a929a
         | 
| 7 | 
            +
              data.tar.gz: 4991c563066b8d40a798c5e5e06b8b5f7039f98e9616d12a8cf5207ee26be7a5ee3f88fe5fcc0ebffee9296161282776a833a6c836fb9a9800698655d2e7e9ad
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,5 +1,21 @@ | |
| 1 1 | 
             
            # Release history for google-apis-cloudfunctions_v1
         | 
| 2 2 |  | 
| 3 | 
            +
            ### v0.13.0 (2021-10-09)
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            * Regenerated from discovery document revision 20210929
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            ### v0.12.0 (2021-09-01)
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            * Regenerated from discovery document revision 20210819
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            ### v0.11.0 (2021-07-22)
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            * Regenerated from discovery document revision 20210715
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            ### v0.10.0 (2021-07-15)
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            * Regenerated from discovery document revision 20210708
         | 
| 18 | 
            +
             | 
| 3 19 | 
             
            ### v0.9.0 (2021-06-29)
         | 
| 4 20 |  | 
| 5 21 | 
             
            * Regenerated using generator version 0.4.0
         | 
| @@ -217,7 +217,7 @@ module Google | |
| 217 217 | 
             
                  end
         | 
| 218 218 |  | 
| 219 219 | 
             
                  # Describes a Cloud Function that contains user computation executed in response
         | 
| 220 | 
            -
                  # to an event. It encapsulate function and triggers configurations.
         | 
| 220 | 
            +
                  # to an event. It encapsulate function and triggers configurations. Next tag: 35
         | 
| 221 221 | 
             
                  class CloudFunction
         | 
| 222 222 | 
             
                    include Google::Apis::Core::Hashable
         | 
| 223 223 |  | 
| @@ -237,14 +237,20 @@ module Google | |
| 237 237 | 
             
                    # @return [String]
         | 
| 238 238 | 
             
                    attr_accessor :build_id
         | 
| 239 239 |  | 
| 240 | 
            +
                    # Output only. The Cloud Build Name of the function deployment. `projects//
         | 
| 241 | 
            +
                    # locations//builds/`.
         | 
| 242 | 
            +
                    # Corresponds to the JSON property `buildName`
         | 
| 243 | 
            +
                    # @return [String]
         | 
| 244 | 
            +
                    attr_accessor :build_name
         | 
| 245 | 
            +
                  
         | 
| 240 246 | 
             
                    # Name of the Cloud Build Custom Worker Pool that should be used to build the
         | 
| 241 247 | 
             
                    # function. The format of this field is `projects/`project`/locations/`region`/
         | 
| 242 | 
            -
                    # workerPools/`workerPool`` where  | 
| 243 | 
            -
                    # region respectively where the worker pool is defined and  | 
| 244 | 
            -
                    # short name of the worker pool. If the project id is not the same as the
         | 
| 245 | 
            -
                    # function, then the Cloud Functions Service Agent (service-@gcf-admin-robot. | 
| 246 | 
            -
                    # gserviceaccount.com) must be granted the role Cloud Build Custom Workers
         | 
| 247 | 
            -
                    # Builder (roles/cloudbuild.customworkers.builder) in the project.
         | 
| 248 | 
            +
                    # workerPools/`workerPool`` where ``project`` and ``region`` are the project id
         | 
| 249 | 
            +
                    # and region respectively where the worker pool is defined and ``workerPool`` is
         | 
| 250 | 
            +
                    # the short name of the worker pool. If the project id is not the same as the
         | 
| 251 | 
            +
                    # function, then the Cloud Functions Service Agent (`service-@gcf-admin-robot.
         | 
| 252 | 
            +
                    # iam.gserviceaccount.com`) must be granted the role Cloud Build Custom Workers
         | 
| 253 | 
            +
                    # Builder (`roles/cloudbuild.customworkers.builder`) in the project.
         | 
| 248 254 | 
             
                    # Corresponds to the JSON property `buildWorkerPool`
         | 
| 249 255 | 
             
                    # @return [String]
         | 
| 250 256 | 
             
                    attr_accessor :build_worker_pool
         | 
| @@ -299,6 +305,12 @@ module Google | |
| 299 305 | 
             
                    # @return [Fixnum]
         | 
| 300 306 | 
             
                    attr_accessor :max_instances
         | 
| 301 307 |  | 
| 308 | 
            +
                    # A lower bound for the number function instances that may coexist at a given
         | 
| 309 | 
            +
                    # time.
         | 
| 310 | 
            +
                    # Corresponds to the JSON property `minInstances`
         | 
| 311 | 
            +
                    # @return [Fixnum]
         | 
| 312 | 
            +
                    attr_accessor :min_instances
         | 
| 313 | 
            +
                  
         | 
| 302 314 | 
             
                    # A user-defined name of the function. Function names must be unique globally
         | 
| 303 315 | 
             
                    # and match pattern `projects/*/locations/*/functions/*`
         | 
| 304 316 | 
             
                    # Corresponds to the JSON property `name`
         | 
| @@ -310,8 +322,8 @@ module Google | |
| 310 322 | 
             
                    # network name is used, the network must belong to the same project. Otherwise,
         | 
| 311 323 | 
             
                    # it must belong to a project within the same organization. The format of this
         | 
| 312 324 | 
             
                    # field is either `projects/`project`/global/networks/`network`` or ``network``,
         | 
| 313 | 
            -
                    # where  | 
| 314 | 
            -
                    # the short name of the network. This field is mutually exclusive with `
         | 
| 325 | 
            +
                    # where ``project`` is a project id where the network is defined, and ``network``
         | 
| 326 | 
            +
                    # is the short name of the network. This field is mutually exclusive with `
         | 
| 315 327 | 
             
                    # vpc_connector` and will be replaced by it. See [the VPC documentation](https://
         | 
| 316 328 | 
             
                    # cloud.google.com/compute/docs/vpc) for more information on connecting Cloud
         | 
| 317 329 | 
             
                    # projects.
         | 
| @@ -321,20 +333,30 @@ module Google | |
| 321 333 |  | 
| 322 334 | 
             
                    # The runtime in which to run the function. Required when deploying a new
         | 
| 323 335 | 
             
                    # function, optional when updating an existing function. For a complete list of
         | 
| 324 | 
            -
                    # possible choices, see the [`gcloud` command reference]( | 
| 325 | 
            -
                    # functions/deploy#--runtime).
         | 
| 336 | 
            +
                    # possible choices, see the [`gcloud` command reference](https://cloud.google.
         | 
| 337 | 
            +
                    # com/sdk/gcloud/reference/functions/deploy#--runtime).
         | 
| 326 338 | 
             
                    # Corresponds to the JSON property `runtime`
         | 
| 327 339 | 
             
                    # @return [String]
         | 
| 328 340 | 
             
                    attr_accessor :runtime
         | 
| 329 341 |  | 
| 342 | 
            +
                    # Secret environment variables configuration.
         | 
| 343 | 
            +
                    # Corresponds to the JSON property `secretEnvironmentVariables`
         | 
| 344 | 
            +
                    # @return [Array<Google::Apis::CloudfunctionsV1::SecretEnvVar>]
         | 
| 345 | 
            +
                    attr_accessor :secret_environment_variables
         | 
| 346 | 
            +
                  
         | 
| 347 | 
            +
                    # Secret volumes configuration.
         | 
| 348 | 
            +
                    # Corresponds to the JSON property `secretVolumes`
         | 
| 349 | 
            +
                    # @return [Array<Google::Apis::CloudfunctionsV1::SecretVolume>]
         | 
| 350 | 
            +
                    attr_accessor :secret_volumes
         | 
| 351 | 
            +
                  
         | 
| 330 352 | 
             
                    # The email of the function's service account. If empty, defaults to ``
         | 
| 331 353 | 
             
                    # project_id`@appspot.gserviceaccount.com`.
         | 
| 332 354 | 
             
                    # Corresponds to the JSON property `serviceAccountEmail`
         | 
| 333 355 | 
             
                    # @return [String]
         | 
| 334 356 | 
             
                    attr_accessor :service_account_email
         | 
| 335 357 |  | 
| 336 | 
            -
                    # The Google Cloud Storage URL, starting with gs | 
| 337 | 
            -
                    # which contains the function.
         | 
| 358 | 
            +
                    # The Google Cloud Storage URL, starting with `gs://`, pointing to the zip
         | 
| 359 | 
            +
                    # archive which contains the function.
         | 
| 338 360 | 
             
                    # Corresponds to the JSON property `sourceArchiveUrl`
         | 
| 339 361 | 
             
                    # @return [String]
         | 
| 340 362 | 
             
                    attr_accessor :source_archive_url
         | 
| @@ -352,7 +374,9 @@ module Google | |
| 352 374 | 
             
                    attr_accessor :source_token
         | 
| 353 375 |  | 
| 354 376 | 
             
                    # The Google Cloud Storage signed URL used for source uploading, generated by
         | 
| 355 | 
            -
                    # google.cloud.functions.v1.GenerateUploadUrl
         | 
| 377 | 
            +
                    # calling [google.cloud.functions.v1.GenerateUploadUrl]. The signature is
         | 
| 378 | 
            +
                    # validated on write methods (Create, Update) The signature is stripped from the
         | 
| 379 | 
            +
                    # Function object on read methods (Get, List)
         | 
| 356 380 | 
             
                    # Corresponds to the JSON property `sourceUploadUrl`
         | 
| 357 381 | 
             
                    # @return [String]
         | 
| 358 382 | 
             
                    attr_accessor :source_upload_url
         | 
| @@ -405,6 +429,7 @@ module Google | |
| 405 429 | 
             
                      @available_memory_mb = args[:available_memory_mb] if args.key?(:available_memory_mb)
         | 
| 406 430 | 
             
                      @build_environment_variables = args[:build_environment_variables] if args.key?(:build_environment_variables)
         | 
| 407 431 | 
             
                      @build_id = args[:build_id] if args.key?(:build_id)
         | 
| 432 | 
            +
                      @build_name = args[:build_name] if args.key?(:build_name)
         | 
| 408 433 | 
             
                      @build_worker_pool = args[:build_worker_pool] if args.key?(:build_worker_pool)
         | 
| 409 434 | 
             
                      @description = args[:description] if args.key?(:description)
         | 
| 410 435 | 
             
                      @entry_point = args[:entry_point] if args.key?(:entry_point)
         | 
| @@ -414,9 +439,12 @@ module Google | |
| 414 439 | 
             
                      @ingress_settings = args[:ingress_settings] if args.key?(:ingress_settings)
         | 
| 415 440 | 
             
                      @labels = args[:labels] if args.key?(:labels)
         | 
| 416 441 | 
             
                      @max_instances = args[:max_instances] if args.key?(:max_instances)
         | 
| 442 | 
            +
                      @min_instances = args[:min_instances] if args.key?(:min_instances)
         | 
| 417 443 | 
             
                      @name = args[:name] if args.key?(:name)
         | 
| 418 444 | 
             
                      @network = args[:network] if args.key?(:network)
         | 
| 419 445 | 
             
                      @runtime = args[:runtime] if args.key?(:runtime)
         | 
| 446 | 
            +
                      @secret_environment_variables = args[:secret_environment_variables] if args.key?(:secret_environment_variables)
         | 
| 447 | 
            +
                      @secret_volumes = args[:secret_volumes] if args.key?(:secret_volumes)
         | 
| 420 448 | 
             
                      @service_account_email = args[:service_account_email] if args.key?(:service_account_email)
         | 
| 421 449 | 
             
                      @source_archive_url = args[:source_archive_url] if args.key?(:source_archive_url)
         | 
| 422 450 | 
             
                      @source_repository = args[:source_repository] if args.key?(:source_repository)
         | 
| @@ -868,7 +896,7 @@ module Google | |
| 868 896 | 
             
                    attr_accessor :build_id
         | 
| 869 897 |  | 
| 870 898 | 
             
                    # The Cloud Build Name of the function deployment. This field is only populated
         | 
| 871 | 
            -
                    # for Create and Update operations. projects//locations//builds | 
| 899 | 
            +
                    # for Create and Update operations. `projects//locations//builds/`.
         | 
| 872 900 | 
             
                    # Corresponds to the JSON property `buildName`
         | 
| 873 901 | 
             
                    # @return [String]
         | 
| 874 902 | 
             
                    attr_accessor :build_name
         | 
| @@ -884,8 +912,8 @@ module Google | |
| 884 912 | 
             
                    # @return [String]
         | 
| 885 913 | 
             
                    attr_accessor :source_token
         | 
| 886 914 |  | 
| 887 | 
            -
                    # Target of the operation - for example projects/project-1/locations/region-1/
         | 
| 888 | 
            -
                    # functions/function-1
         | 
| 915 | 
            +
                    # Target of the operation - for example `projects/project-1/locations/region-1/
         | 
| 916 | 
            +
                    # functions/function-1`
         | 
| 889 917 | 
             
                    # Corresponds to the JSON property `target`
         | 
| 890 918 | 
             
                    # @return [String]
         | 
| 891 919 | 
             
                    attr_accessor :target
         | 
| @@ -947,7 +975,7 @@ module Google | |
| 947 975 | 
             
                  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
         | 
| 948 976 | 
             
                  # roles/resourcemanager.organizationViewer condition: title: expirable access
         | 
| 949 977 | 
             
                  # description: Does not grant access after Sep 2020 expression: request.time <
         | 
| 950 | 
            -
                  # timestamp('2020-10-01T00:00:00.000Z')  | 
| 978 | 
            +
                  # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
         | 
| 951 979 | 
             
                  # description of IAM and its features, see the [IAM documentation](https://cloud.
         | 
| 952 980 | 
             
                  # google.com/iam/docs/).
         | 
| 953 981 | 
             
                  class Policy
         | 
| @@ -960,7 +988,12 @@ module Google | |
| 960 988 |  | 
| 961 989 | 
             
                    # Associates a list of `members` to a `role`. Optionally, may specify a `
         | 
| 962 990 | 
             
                    # condition` that determines how and when the `bindings` are applied. Each of
         | 
| 963 | 
            -
                    # the `bindings` must contain at least one member.
         | 
| 991 | 
            +
                    # the `bindings` must contain at least one member. The `bindings` in a `Policy`
         | 
| 992 | 
            +
                    # can refer to up to 1,500 members; up to 250 of these members can be Google
         | 
| 993 | 
            +
                    # groups. Each occurrence of a member counts towards these limits. For example,
         | 
| 994 | 
            +
                    # if the `bindings` grant 50 different roles to `user:alice@example.com`, and
         | 
| 995 | 
            +
                    # not to any other member, then you can add another 1,450 members to the `
         | 
| 996 | 
            +
                    # bindings` in the `Policy`.
         | 
| 964 997 | 
             
                    # Corresponds to the JSON property `bindings`
         | 
| 965 998 | 
             
                    # @return [Array<Google::Apis::CloudfunctionsV1::Binding>]
         | 
| 966 999 | 
             
                    attr_accessor :bindings
         | 
| @@ -1029,6 +1062,131 @@ module Google | |
| 1029 1062 | 
             
                    end
         | 
| 1030 1063 | 
             
                  end
         | 
| 1031 1064 |  | 
| 1065 | 
            +
                  # Configuration for a secret environment variable. It has the information
         | 
| 1066 | 
            +
                  # necessary to fetch the secret value from secret manager and expose it as an
         | 
| 1067 | 
            +
                  # environment variable. Secret value is not a part of the configuration. Secret
         | 
| 1068 | 
            +
                  # values are only fetched when a new clone starts.
         | 
| 1069 | 
            +
                  class SecretEnvVar
         | 
| 1070 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 1071 | 
            +
                  
         | 
| 1072 | 
            +
                    # Name of the environment variable.
         | 
| 1073 | 
            +
                    # Corresponds to the JSON property `key`
         | 
| 1074 | 
            +
                    # @return [String]
         | 
| 1075 | 
            +
                    attr_accessor :key
         | 
| 1076 | 
            +
                  
         | 
| 1077 | 
            +
                    # Project identifier (preferrably project number but can also be the project ID)
         | 
| 1078 | 
            +
                    # of the project that contains the secret. If not set, it will be populated with
         | 
| 1079 | 
            +
                    # the function's project assuming that the secret exists in the same project as
         | 
| 1080 | 
            +
                    # of the function.
         | 
| 1081 | 
            +
                    # Corresponds to the JSON property `projectId`
         | 
| 1082 | 
            +
                    # @return [String]
         | 
| 1083 | 
            +
                    attr_accessor :project_id
         | 
| 1084 | 
            +
                  
         | 
| 1085 | 
            +
                    # Name of the secret in secret manager (not the full resource name).
         | 
| 1086 | 
            +
                    # Corresponds to the JSON property `secret`
         | 
| 1087 | 
            +
                    # @return [String]
         | 
| 1088 | 
            +
                    attr_accessor :secret
         | 
| 1089 | 
            +
                  
         | 
| 1090 | 
            +
                    # Version of the secret (version number or the string 'latest'). It is
         | 
| 1091 | 
            +
                    # recommended to use a numeric version for secret environment variables as any
         | 
| 1092 | 
            +
                    # updates to the secret value is not reflected until new clones start.
         | 
| 1093 | 
            +
                    # Corresponds to the JSON property `version`
         | 
| 1094 | 
            +
                    # @return [String]
         | 
| 1095 | 
            +
                    attr_accessor :version
         | 
| 1096 | 
            +
                  
         | 
| 1097 | 
            +
                    def initialize(**args)
         | 
| 1098 | 
            +
                       update!(**args)
         | 
| 1099 | 
            +
                    end
         | 
| 1100 | 
            +
                  
         | 
| 1101 | 
            +
                    # Update properties of this object
         | 
| 1102 | 
            +
                    def update!(**args)
         | 
| 1103 | 
            +
                      @key = args[:key] if args.key?(:key)
         | 
| 1104 | 
            +
                      @project_id = args[:project_id] if args.key?(:project_id)
         | 
| 1105 | 
            +
                      @secret = args[:secret] if args.key?(:secret)
         | 
| 1106 | 
            +
                      @version = args[:version] if args.key?(:version)
         | 
| 1107 | 
            +
                    end
         | 
| 1108 | 
            +
                  end
         | 
| 1109 | 
            +
                  
         | 
| 1110 | 
            +
                  # Configuration for a single version.
         | 
| 1111 | 
            +
                  class SecretVersion
         | 
| 1112 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 1113 | 
            +
                  
         | 
| 1114 | 
            +
                    # Relative path of the file under the mount path where the secret value for this
         | 
| 1115 | 
            +
                    # version will be fetched and made available. For example, setting the
         | 
| 1116 | 
            +
                    # mount_path as '/etc/secrets' and path as `/secret_foo` would mount the secret
         | 
| 1117 | 
            +
                    # value file at `/etc/secrets/secret_foo`.
         | 
| 1118 | 
            +
                    # Corresponds to the JSON property `path`
         | 
| 1119 | 
            +
                    # @return [String]
         | 
| 1120 | 
            +
                    attr_accessor :path
         | 
| 1121 | 
            +
                  
         | 
| 1122 | 
            +
                    # Version of the secret (version number or the string 'latest'). It is
         | 
| 1123 | 
            +
                    # preferrable to use `latest` version with secret volumes as secret value
         | 
| 1124 | 
            +
                    # changes are reflected immediately.
         | 
| 1125 | 
            +
                    # Corresponds to the JSON property `version`
         | 
| 1126 | 
            +
                    # @return [String]
         | 
| 1127 | 
            +
                    attr_accessor :version
         | 
| 1128 | 
            +
                  
         | 
| 1129 | 
            +
                    def initialize(**args)
         | 
| 1130 | 
            +
                       update!(**args)
         | 
| 1131 | 
            +
                    end
         | 
| 1132 | 
            +
                  
         | 
| 1133 | 
            +
                    # Update properties of this object
         | 
| 1134 | 
            +
                    def update!(**args)
         | 
| 1135 | 
            +
                      @path = args[:path] if args.key?(:path)
         | 
| 1136 | 
            +
                      @version = args[:version] if args.key?(:version)
         | 
| 1137 | 
            +
                    end
         | 
| 1138 | 
            +
                  end
         | 
| 1139 | 
            +
                  
         | 
| 1140 | 
            +
                  # Configuration for a secret volume. It has the information necessary to fetch
         | 
| 1141 | 
            +
                  # the secret value from secret manager and make it available as files mounted at
         | 
| 1142 | 
            +
                  # the requested paths within the application container. Secret value is not a
         | 
| 1143 | 
            +
                  # part of the configuration. Every filesystem read operation performs a lookup
         | 
| 1144 | 
            +
                  # in secret manager to retrieve the secret value.
         | 
| 1145 | 
            +
                  class SecretVolume
         | 
| 1146 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 1147 | 
            +
                  
         | 
| 1148 | 
            +
                    # The path within the container to mount the secret volume. For example, setting
         | 
| 1149 | 
            +
                    # the mount_path as `/etc/secrets` would mount the secret value files under the `
         | 
| 1150 | 
            +
                    # /etc/secrets` directory. This directory will also be completely shadowed and
         | 
| 1151 | 
            +
                    # unavailable to mount any other secrets. Recommended mount paths: /etc/secrets
         | 
| 1152 | 
            +
                    # Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log
         | 
| 1153 | 
            +
                    # Corresponds to the JSON property `mountPath`
         | 
| 1154 | 
            +
                    # @return [String]
         | 
| 1155 | 
            +
                    attr_accessor :mount_path
         | 
| 1156 | 
            +
                  
         | 
| 1157 | 
            +
                    # Project identifier (preferrably project number but can also be the project ID)
         | 
| 1158 | 
            +
                    # of the project that contains the secret. If not set, it will be populated with
         | 
| 1159 | 
            +
                    # the function's project assuming that the secret exists in the same project as
         | 
| 1160 | 
            +
                    # of the function.
         | 
| 1161 | 
            +
                    # Corresponds to the JSON property `projectId`
         | 
| 1162 | 
            +
                    # @return [String]
         | 
| 1163 | 
            +
                    attr_accessor :project_id
         | 
| 1164 | 
            +
                  
         | 
| 1165 | 
            +
                    # Name of the secret in secret manager (not the full resource name).
         | 
| 1166 | 
            +
                    # Corresponds to the JSON property `secret`
         | 
| 1167 | 
            +
                    # @return [String]
         | 
| 1168 | 
            +
                    attr_accessor :secret
         | 
| 1169 | 
            +
                  
         | 
| 1170 | 
            +
                    # List of secret versions to mount for this secret. If empty, the `latest`
         | 
| 1171 | 
            +
                    # version of the secret will be made available in a file named after the secret
         | 
| 1172 | 
            +
                    # under the mount point.
         | 
| 1173 | 
            +
                    # Corresponds to the JSON property `versions`
         | 
| 1174 | 
            +
                    # @return [Array<Google::Apis::CloudfunctionsV1::SecretVersion>]
         | 
| 1175 | 
            +
                    attr_accessor :versions
         | 
| 1176 | 
            +
                  
         | 
| 1177 | 
            +
                    def initialize(**args)
         | 
| 1178 | 
            +
                       update!(**args)
         | 
| 1179 | 
            +
                    end
         | 
| 1180 | 
            +
                  
         | 
| 1181 | 
            +
                    # Update properties of this object
         | 
| 1182 | 
            +
                    def update!(**args)
         | 
| 1183 | 
            +
                      @mount_path = args[:mount_path] if args.key?(:mount_path)
         | 
| 1184 | 
            +
                      @project_id = args[:project_id] if args.key?(:project_id)
         | 
| 1185 | 
            +
                      @secret = args[:secret] if args.key?(:secret)
         | 
| 1186 | 
            +
                      @versions = args[:versions] if args.key?(:versions)
         | 
| 1187 | 
            +
                    end
         | 
| 1188 | 
            +
                  end
         | 
| 1189 | 
            +
                  
         | 
| 1032 1190 | 
             
                  # Request message for `SetIamPolicy` method.
         | 
| 1033 1191 | 
             
                  class SetIamPolicyRequest
         | 
| 1034 1192 | 
             
                    include Google::Apis::Core::Hashable
         | 
| @@ -1057,7 +1215,7 @@ module Google | |
| 1057 1215 | 
             
                    # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
         | 
| 1058 1216 | 
             
                    # roles/resourcemanager.organizationViewer condition: title: expirable access
         | 
| 1059 1217 | 
             
                    # description: Does not grant access after Sep 2020 expression: request.time <
         | 
| 1060 | 
            -
                    # timestamp('2020-10-01T00:00:00.000Z')  | 
| 1218 | 
            +
                    # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
         | 
| 1061 1219 | 
             
                    # description of IAM and its features, see the [IAM documentation](https://cloud.
         | 
| 1062 1220 | 
             
                    # google.com/iam/docs/).
         | 
| 1063 1221 | 
             
                    # Corresponds to the JSON property `policy`
         | 
| @@ -16,13 +16,13 @@ module Google | |
| 16 16 | 
             
              module Apis
         | 
| 17 17 | 
             
                module CloudfunctionsV1
         | 
| 18 18 | 
             
                  # Version of the google-apis-cloudfunctions_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 22 | 
             
                  GENERATOR_VERSION = "0.4.0"
         | 
| 23 23 |  | 
| 24 24 | 
             
                  # Revision of the discovery document this client was generated from
         | 
| 25 | 
            -
                  REVISION = " | 
| 25 | 
            +
                  REVISION = "20210929"
         | 
| 26 26 | 
             
                end
         | 
| 27 27 | 
             
              end
         | 
| 28 28 | 
             
            end
         | 
| @@ -154,6 +154,24 @@ module Google | |
| 154 154 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 155 155 | 
             
                  end
         | 
| 156 156 |  | 
| 157 | 
            +
                  class SecretEnvVar
         | 
| 158 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 159 | 
            +
                  
         | 
| 160 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 161 | 
            +
                  end
         | 
| 162 | 
            +
                  
         | 
| 163 | 
            +
                  class SecretVersion
         | 
| 164 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 165 | 
            +
                  
         | 
| 166 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 167 | 
            +
                  end
         | 
| 168 | 
            +
                  
         | 
| 169 | 
            +
                  class SecretVolume
         | 
| 170 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 171 | 
            +
                  
         | 
| 172 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 173 | 
            +
                  end
         | 
| 174 | 
            +
                  
         | 
| 157 175 | 
             
                  class SetIamPolicyRequest
         | 
| 158 176 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 159 177 |  | 
| @@ -233,6 +251,7 @@ module Google | |
| 233 251 | 
             
                      property :available_memory_mb, as: 'availableMemoryMb'
         | 
| 234 252 | 
             
                      hash :build_environment_variables, as: 'buildEnvironmentVariables'
         | 
| 235 253 | 
             
                      property :build_id, as: 'buildId'
         | 
| 254 | 
            +
                      property :build_name, as: 'buildName'
         | 
| 236 255 | 
             
                      property :build_worker_pool, as: 'buildWorkerPool'
         | 
| 237 256 | 
             
                      property :description, as: 'description'
         | 
| 238 257 | 
             
                      property :entry_point, as: 'entryPoint'
         | 
| @@ -244,9 +263,14 @@ module Google | |
| 244 263 | 
             
                      property :ingress_settings, as: 'ingressSettings'
         | 
| 245 264 | 
             
                      hash :labels, as: 'labels'
         | 
| 246 265 | 
             
                      property :max_instances, as: 'maxInstances'
         | 
| 266 | 
            +
                      property :min_instances, as: 'minInstances'
         | 
| 247 267 | 
             
                      property :name, as: 'name'
         | 
| 248 268 | 
             
                      property :network, as: 'network'
         | 
| 249 269 | 
             
                      property :runtime, as: 'runtime'
         | 
| 270 | 
            +
                      collection :secret_environment_variables, as: 'secretEnvironmentVariables', class: Google::Apis::CloudfunctionsV1::SecretEnvVar, decorator: Google::Apis::CloudfunctionsV1::SecretEnvVar::Representation
         | 
| 271 | 
            +
                  
         | 
| 272 | 
            +
                      collection :secret_volumes, as: 'secretVolumes', class: Google::Apis::CloudfunctionsV1::SecretVolume, decorator: Google::Apis::CloudfunctionsV1::SecretVolume::Representation
         | 
| 273 | 
            +
                  
         | 
| 250 274 | 
             
                      property :service_account_email, as: 'serviceAccountEmail'
         | 
| 251 275 | 
             
                      property :source_archive_url, as: 'sourceArchiveUrl'
         | 
| 252 276 | 
             
                      property :source_repository, as: 'sourceRepository', class: Google::Apis::CloudfunctionsV1::SourceRepository, decorator: Google::Apis::CloudfunctionsV1::SourceRepository::Representation
         | 
| @@ -409,6 +433,35 @@ module Google | |
| 409 433 | 
             
                    end
         | 
| 410 434 | 
             
                  end
         | 
| 411 435 |  | 
| 436 | 
            +
                  class SecretEnvVar
         | 
| 437 | 
            +
                    # @private
         | 
| 438 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 439 | 
            +
                      property :key, as: 'key'
         | 
| 440 | 
            +
                      property :project_id, as: 'projectId'
         | 
| 441 | 
            +
                      property :secret, as: 'secret'
         | 
| 442 | 
            +
                      property :version, as: 'version'
         | 
| 443 | 
            +
                    end
         | 
| 444 | 
            +
                  end
         | 
| 445 | 
            +
                  
         | 
| 446 | 
            +
                  class SecretVersion
         | 
| 447 | 
            +
                    # @private
         | 
| 448 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 449 | 
            +
                      property :path, as: 'path'
         | 
| 450 | 
            +
                      property :version, as: 'version'
         | 
| 451 | 
            +
                    end
         | 
| 452 | 
            +
                  end
         | 
| 453 | 
            +
                  
         | 
| 454 | 
            +
                  class SecretVolume
         | 
| 455 | 
            +
                    # @private
         | 
| 456 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 457 | 
            +
                      property :mount_path, as: 'mountPath'
         | 
| 458 | 
            +
                      property :project_id, as: 'projectId'
         | 
| 459 | 
            +
                      property :secret, as: 'secret'
         | 
| 460 | 
            +
                      collection :versions, as: 'versions', class: Google::Apis::CloudfunctionsV1::SecretVersion, decorator: Google::Apis::CloudfunctionsV1::SecretVersion::Representation
         | 
| 461 | 
            +
                  
         | 
| 462 | 
            +
                    end
         | 
| 463 | 
            +
                  end
         | 
| 464 | 
            +
                  
         | 
| 412 465 | 
             
                  class SetIamPolicyRequest
         | 
| 413 466 | 
             
                    # @private
         | 
| 414 467 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -29,7 +29,7 @@ module Google | |
| 29 29 | 
             
                  # This is NOT the gem version.
         | 
| 30 30 | 
             
                  VERSION = 'V1'
         | 
| 31 31 |  | 
| 32 | 
            -
                  # See, edit, configure, and delete your Google Cloud  | 
| 32 | 
            +
                  # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
         | 
| 33 33 | 
             
                  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
         | 
| 34 34 | 
             
                end
         | 
| 35 35 | 
             
              end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-apis-cloudfunctions_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: 2021- | 
| 11 | 
            +
            date: 2021-10-11 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-cloudfunctions_v1/CHANGELOG.md
         | 
| 61 | 
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v1/v0. | 
| 61 | 
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v1/v0.13.0
         | 
| 62 62 | 
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudfunctions_v1
         | 
| 63 63 | 
             
            post_install_message: 
         | 
| 64 64 | 
             
            rdoc_options: []
         |