Class: Google::Apis::ConnectorsV1::ValidateCustomConnectorSpecRequest
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::ValidateCustomConnectorSpecRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_v1/representations.rb
Overview
Request message for ConnectorsService.ValidateCustomConnectorSpec
Instance Attribute Summary collapse
-
#service_account ⇒ String
Required.
-
#spec_location ⇒ String
Required.
-
#spec_type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ValidateCustomConnectorSpecRequest
constructor
A new instance of ValidateCustomConnectorSpecRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ValidateCustomConnectorSpecRequest
Returns a new instance of ValidateCustomConnectorSpecRequest.
7306 7307 7308 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 7306 def initialize(**args) update!(**args) end |
Instance Attribute Details
#service_account ⇒ String
Required. Service account to access the spec from Google Cloud Storage.
Corresponds to the JSON property serviceAccount
7292 7293 7294 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 7292 def service_account @service_account end |
#spec_location ⇒ String
Required. Location of the custom connector spec. The location can be either a
public url like https://public-url.com/spec Or a Google Cloud Storage
location like gs:///
Corresponds to the JSON property specLocation
7299 7300 7301 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 7299 def spec_location @spec_location end |
#spec_type ⇒ String
Required. Spec type of the custom connector spec.
Corresponds to the JSON property specType
7304 7305 7306 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 7304 def spec_type @spec_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7311 7312 7313 7314 7315 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 7311 def update!(**args) @service_account = args[:service_account] if args.key?(:service_account) @spec_location = args[:spec_location] if args.key?(:spec_location) @spec_type = args[:spec_type] if args.key?(:spec_type) end |