Class: Google::Apis::ConnectorsV1::ValidateCustomConnectorSpecRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ValidateCustomConnectorSpecRequest

Returns a new instance of ValidateCustomConnectorSpecRequest.



5634
5635
5636
# File 'lib/google/apis/connectors_v1/classes.rb', line 5634

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

Instance Attribute Details

#service_accountString

Required. Service account to access the spec from Google Cloud Storage. Corresponds to the JSON property serviceAccount

Returns:

  • (String)


5620
5621
5622
# File 'lib/google/apis/connectors_v1/classes.rb', line 5620

def 
  @service_account
end

#spec_locationString

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

Returns:

  • (String)


5627
5628
5629
# File 'lib/google/apis/connectors_v1/classes.rb', line 5627

def spec_location
  @spec_location
end

#spec_typeString

Required. Spec type of the custom connector spec. Corresponds to the JSON property specType

Returns:

  • (String)


5632
5633
5634
# File 'lib/google/apis/connectors_v1/classes.rb', line 5632

def spec_type
  @spec_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5639
5640
5641
5642
5643
# File 'lib/google/apis/connectors_v1/classes.rb', line 5639

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