Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb

Overview

Request for Creating Cloud Function rpc call.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest

Returns a new instance of GoogleCloudIntegrationsV1alphaCreateCloudFunctionRequest.



6261
6262
6263
# File 'lib/google/apis/integrations_v1/classes.rb', line 6261

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#function_nameString

The function name of CF to be created Corresponds to the JSON property functionName

Returns:

  • (String)


6249
6250
6251
# File 'lib/google/apis/integrations_v1/classes.rb', line 6249

def function_name
  @function_name
end

#function_regionString

The function region of CF to be created Corresponds to the JSON property functionRegion

Returns:

  • (String)


6254
6255
6256
# File 'lib/google/apis/integrations_v1/classes.rb', line 6254

def function_region
  @function_region
end

#project_idString

Indicates the id of the GCP project that the function will be created in. Corresponds to the JSON property projectId

Returns:

  • (String)


6259
6260
6261
# File 'lib/google/apis/integrations_v1/classes.rb', line 6259

def project_id
  @project_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6266
6267
6268
6269
6270
# File 'lib/google/apis/integrations_v1/classes.rb', line 6266

def update!(**args)
  @function_name = args[:function_name] if args.key?(:function_name)
  @function_region = args[:function_region] if args.key?(:function_region)
  @project_id = args[:project_id] if args.key?(:project_id)
end