generated/google/apis/cloudfunctions_v1/classes.rb in google-api-client-0.23.0 vs generated/google/apis/cloudfunctions_v1/classes.rb in google-api-client-0.23.1

- old
+ new

@@ -98,10 +98,16 @@ # in `source_location`. # Corresponds to the JSON property `entryPoint` # @return [String] attr_accessor :entry_point + # **Beta Feature** + # Environment variables that shall be available during function execution. + # Corresponds to the JSON property `environmentVariables` + # @return [Hash<String,String>] + attr_accessor :environment_variables + # Describes EventTrigger, used to request events be sent from another # service. # Corresponds to the JSON property `eventTrigger` # @return [Google::Apis::CloudfunctionsV1::EventTrigger] attr_accessor :event_trigger @@ -114,16 +120,38 @@ # Labels associated with this Cloud Function. # Corresponds to the JSON property `labels` # @return [Hash<String,String>] attr_accessor :labels + # The limit on the maximum number of function instances that may coexist at a + # given time. This feature is currently in alpha, available only for + # whitelisted users. + # Corresponds to the JSON property `maxInstances` + # @return [Fixnum] + attr_accessor :max_instances + # A user-defined name of the function. Function names must be unique # globally and match pattern `projects/*/locations/*/functions/*` # Corresponds to the JSON property `name` # @return [String] attr_accessor :name + # The VPC Network that this cloud function can connect to. It can be + # either the fully-qualified URI, or the short name of the network resource. + # If the short network name is used, the network must belong to the same + # project. Otherwise, it must belong to a project within the same + # organization. The format of this field is either + # `projects/`project`/global/networks/`network`` or ``network``, where + # `project` is a project id where the network is defined, and `network` is + # the short name of the network. + # See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for + # more information on connecting Cloud projects. + # This feature is currently in alpha, available only for whitelisted users. + # Corresponds to the JSON property `network` + # @return [String] + attr_accessor :network + # The runtime in which the function is going to run. If empty, defaults to # Node.js 6. # Corresponds to the JSON property `runtime` # @return [String] attr_accessor :runtime @@ -182,13 +210,16 @@ # Update properties of this object def update!(**args) @available_memory_mb = args[:available_memory_mb] if args.key?(:available_memory_mb) @description = args[:description] if args.key?(:description) @entry_point = args[:entry_point] if args.key?(:entry_point) + @environment_variables = args[:environment_variables] if args.key?(:environment_variables) @event_trigger = args[:event_trigger] if args.key?(:event_trigger) @https_trigger = args[:https_trigger] if args.key?(:https_trigger) @labels = args[:labels] if args.key?(:labels) + @max_instances = args[:max_instances] if args.key?(:max_instances) @name = args[:name] if args.key?(:name) + @network = args[:network] if args.key?(:network) @runtime = args[:runtime] if args.key?(:runtime) @service_account_email = args[:service_account_email] if args.key?(:service_account_email) @source_archive_url = args[:source_archive_url] if args.key?(:source_archive_url) @source_repository = args[:source_repository] if args.key?(:source_repository) @source_upload_url = args[:source_upload_url] if args.key?(:source_upload_url)