google-apis-connectors_v1 0.70.0 → 0.71.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/connectors_v1/classes.rb +163 -762
- data/lib/google/apis/connectors_v1/gem_version.rb +3 -3
- data/lib/google/apis/connectors_v1/representations.rb +6 -279
- data/lib/google/apis/connectors_v1/service.rb +0 -186
- metadata +5 -5
@@ -1331,12 +1331,6 @@ module Google
|
|
1331
1331
|
# @return [Google::Apis::ConnectorsV1::EventingConfigTemplate]
|
1332
1332
|
attr_accessor :eventing_config_template
|
1333
1333
|
|
1334
|
-
# Output only. Is async operations supported.
|
1335
|
-
# Corresponds to the JSON property `isAsyncOperationsSupported`
|
1336
|
-
# @return [Boolean]
|
1337
|
-
attr_accessor :is_async_operations_supported
|
1338
|
-
alias_method :is_async_operations_supported?, :is_async_operations_supported
|
1339
|
-
|
1340
1334
|
# Output only. Is custom actions supported.
|
1341
1335
|
# Corresponds to the JSON property `isCustomActionsSupported`
|
1342
1336
|
# @return [Boolean]
|
@@ -1437,7 +1431,6 @@ module Google
|
|
1437
1431
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1438
1432
|
@egress_control_config = args[:egress_control_config] if args.key?(:egress_control_config)
|
1439
1433
|
@eventing_config_template = args[:eventing_config_template] if args.key?(:eventing_config_template)
|
1440
|
-
@is_async_operations_supported = args[:is_async_operations_supported] if args.key?(:is_async_operations_supported)
|
1441
1434
|
@is_custom_actions_supported = args[:is_custom_actions_supported] if args.key?(:is_custom_actions_supported)
|
1442
1435
|
@is_custom_entities_supported = args[:is_custom_entities_supported] if args.key?(:is_custom_entities_supported)
|
1443
1436
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -1656,13 +1649,35 @@ module Google
|
|
1656
1649
|
class CustomConnectorVersion
|
1657
1650
|
include Google::Apis::Core::Hashable
|
1658
1651
|
|
1652
|
+
# Optional. Indicates if Async Operations/Connector Job is supported. This is
|
1653
|
+
# only available for SDK based custom connectors.
|
1654
|
+
# Corresponds to the JSON property `asyncOperationsSupport`
|
1655
|
+
# @return [Boolean]
|
1656
|
+
attr_accessor :async_operations_support
|
1657
|
+
alias_method :async_operations_support?, :async_operations_support
|
1658
|
+
|
1659
1659
|
# AuthConfig defines details of a authentication type.
|
1660
1660
|
# Corresponds to the JSON property `authConfig`
|
1661
1661
|
# @return [Google::Apis::ConnectorsV1::AuthConfig]
|
1662
1662
|
attr_accessor :auth_config
|
1663
1663
|
|
1664
|
-
# Optional.
|
1665
|
-
#
|
1664
|
+
# Optional. Auth Config Templates is only used when connector backend is enabled.
|
1665
|
+
# This is used to specify the auth configs supported by the connector backend
|
1666
|
+
# service to talk to the actual application backend.
|
1667
|
+
# Corresponds to the JSON property `authConfigTemplates`
|
1668
|
+
# @return [Array<Google::Apis::ConnectorsV1::AuthConfigTemplate>]
|
1669
|
+
attr_accessor :auth_config_templates
|
1670
|
+
|
1671
|
+
# Optional. Auth override support.
|
1672
|
+
# Corresponds to the JSON property `authOverrideSupport`
|
1673
|
+
# @return [Boolean]
|
1674
|
+
attr_accessor :auth_override_support
|
1675
|
+
alias_method :auth_override_support?, :auth_override_support
|
1676
|
+
|
1677
|
+
# Optional. Backend variable templates is only used when connector backend is
|
1678
|
+
# enabled. This is used to specify the variables required by the connector
|
1679
|
+
# backend service to talk to the actual application backend. This translates to
|
1680
|
+
# additional variable templates in the connection config.
|
1666
1681
|
# Corresponds to the JSON property `backendVariableTemplates`
|
1667
1682
|
# @return [Array<Google::Apis::ConnectorsV1::ConfigVariableTemplate>]
|
1668
1683
|
attr_accessor :backend_variable_templates
|
@@ -1672,14 +1687,15 @@ module Google
|
|
1672
1687
|
# @return [String]
|
1673
1688
|
attr_accessor :create_time
|
1674
1689
|
|
1675
|
-
# Optional. Destination config(s) for accessing connector facade
|
1676
|
-
# used only when enable_backend_destination_config is true.
|
1690
|
+
# Optional. Destination config(s) for accessing connector service (facade). This
|
1691
|
+
# is used only when enable_backend_destination_config is true.
|
1677
1692
|
# Corresponds to the JSON property `destinationConfigs`
|
1678
1693
|
# @return [Array<Google::Apis::ConnectorsV1::DestinationConfig>]
|
1679
1694
|
attr_accessor :destination_configs
|
1680
1695
|
|
1681
|
-
# Optional.
|
1682
|
-
# the destination
|
1696
|
+
# Optional. Indicates if an intermediatory connectorservice is used as backend.
|
1697
|
+
# When this is enabled, the connector destination and connector auth config are
|
1698
|
+
# required. For SDK based connectors, this is always enabled.
|
1683
1699
|
# Corresponds to the JSON property `enableBackendDestinationConfig`
|
1684
1700
|
# @return [Boolean]
|
1685
1701
|
attr_accessor :enable_backend_destination_config
|
@@ -1716,14 +1732,15 @@ module Google
|
|
1716
1732
|
# @return [String]
|
1717
1733
|
attr_accessor :service_account
|
1718
1734
|
|
1719
|
-
# Optional. Location of the custom connector spec.
|
1720
|
-
#
|
1721
|
-
# location like `gs
|
1735
|
+
# Optional. Location of the custom connector spec. This is only used for Open
|
1736
|
+
# API based custom connectors. The location can be either a public url like `
|
1737
|
+
# https://public-url.com/spec` Or a Google Cloud Storage location like `gs:///`.
|
1722
1738
|
# Corresponds to the JSON property `specLocation`
|
1723
1739
|
# @return [String]
|
1724
1740
|
attr_accessor :spec_location
|
1725
1741
|
|
1726
|
-
# Output only. Server URLs parsed from the spec.
|
1742
|
+
# Output only. Server URLs parsed from the Open API spec. This is only used for
|
1743
|
+
# Open API based custom connectors.
|
1727
1744
|
# Corresponds to the JSON property `specServerUrls`
|
1728
1745
|
# @return [Array<String>]
|
1729
1746
|
attr_accessor :spec_server_urls
|
@@ -1744,7 +1761,10 @@ module Google
|
|
1744
1761
|
|
1745
1762
|
# Update properties of this object
|
1746
1763
|
def update!(**args)
|
1764
|
+
@async_operations_support = args[:async_operations_support] if args.key?(:async_operations_support)
|
1747
1765
|
@auth_config = args[:auth_config] if args.key?(:auth_config)
|
1766
|
+
@auth_config_templates = args[:auth_config_templates] if args.key?(:auth_config_templates)
|
1767
|
+
@auth_override_support = args[:auth_override_support] if args.key?(:auth_override_support)
|
1748
1768
|
@backend_variable_templates = args[:backend_variable_templates] if args.key?(:backend_variable_templates)
|
1749
1769
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1750
1770
|
@destination_configs = args[:destination_configs] if args.key?(:destination_configs)
|
@@ -1955,564 +1975,10 @@ module Google
|
|
1955
1975
|
# @return [Array<Google::Apis::ConnectorsV1::Destination>]
|
1956
1976
|
attr_accessor :destinations
|
1957
1977
|
|
1958
|
-
# The key is the destination identifier that is supported by the Connector.
|
1959
|
-
# Corresponds to the JSON property `key`
|
1960
|
-
# @return [String]
|
1961
|
-
attr_accessor :key
|
1962
|
-
|
1963
|
-
def initialize(**args)
|
1964
|
-
update!(**args)
|
1965
|
-
end
|
1966
|
-
|
1967
|
-
# Update properties of this object
|
1968
|
-
def update!(**args)
|
1969
|
-
@destinations = args[:destinations] if args.key?(:destinations)
|
1970
|
-
@key = args[:key] if args.key?(:key)
|
1971
|
-
end
|
1972
|
-
end
|
1973
|
-
|
1974
|
-
# DestinationConfigTemplate defines required destinations supported by the
|
1975
|
-
# Connector.
|
1976
|
-
class DestinationConfigTemplate
|
1977
|
-
include Google::Apis::Core::Hashable
|
1978
|
-
|
1979
|
-
# Autocomplete suggestions for destination URL field.
|
1980
|
-
# Corresponds to the JSON property `autocompleteSuggestions`
|
1981
|
-
# @return [Array<String>]
|
1982
|
-
attr_accessor :autocomplete_suggestions
|
1983
|
-
|
1984
|
-
# The default port.
|
1985
|
-
# Corresponds to the JSON property `defaultPort`
|
1986
|
-
# @return [Fixnum]
|
1987
|
-
attr_accessor :default_port
|
1988
|
-
|
1989
|
-
# Description.
|
1990
|
-
# Corresponds to the JSON property `description`
|
1991
|
-
# @return [String]
|
1992
|
-
attr_accessor :description
|
1993
|
-
|
1994
|
-
# Display name of the parameter.
|
1995
|
-
# Corresponds to the JSON property `displayName`
|
1996
|
-
# @return [String]
|
1997
|
-
attr_accessor :display_name
|
1998
|
-
|
1999
|
-
# Whether the current destination tempalate is part of Advanced settings
|
2000
|
-
# Corresponds to the JSON property `isAdvanced`
|
2001
|
-
# @return [Boolean]
|
2002
|
-
attr_accessor :is_advanced
|
2003
|
-
alias_method :is_advanced?, :is_advanced
|
2004
|
-
|
2005
|
-
# Key of the destination.
|
2006
|
-
# Corresponds to the JSON property `key`
|
2007
|
-
# @return [String]
|
2008
|
-
attr_accessor :key
|
2009
|
-
|
2010
|
-
# The maximum number of destinations supported for this key.
|
2011
|
-
# Corresponds to the JSON property `max`
|
2012
|
-
# @return [Fixnum]
|
2013
|
-
attr_accessor :max
|
2014
|
-
|
2015
|
-
# The minimum number of destinations supported for this key.
|
2016
|
-
# Corresponds to the JSON property `min`
|
2017
|
-
# @return [Fixnum]
|
2018
|
-
attr_accessor :min
|
2019
|
-
|
2020
|
-
# Whether port number should be provided by customers.
|
2021
|
-
# Corresponds to the JSON property `portFieldType`
|
2022
|
-
# @return [String]
|
2023
|
-
attr_accessor :port_field_type
|
2024
|
-
|
2025
|
-
# Regex pattern for host.
|
2026
|
-
# Corresponds to the JSON property `regexPattern`
|
2027
|
-
# @return [String]
|
2028
|
-
attr_accessor :regex_pattern
|
2029
|
-
|
2030
|
-
def initialize(**args)
|
2031
|
-
update!(**args)
|
2032
|
-
end
|
2033
|
-
|
2034
|
-
# Update properties of this object
|
2035
|
-
def update!(**args)
|
2036
|
-
@autocomplete_suggestions = args[:autocomplete_suggestions] if args.key?(:autocomplete_suggestions)
|
2037
|
-
@default_port = args[:default_port] if args.key?(:default_port)
|
2038
|
-
@description = args[:description] if args.key?(:description)
|
2039
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
2040
|
-
@is_advanced = args[:is_advanced] if args.key?(:is_advanced)
|
2041
|
-
@key = args[:key] if args.key?(:key)
|
2042
|
-
@max = args[:max] if args.key?(:max)
|
2043
|
-
@min = args[:min] if args.key?(:min)
|
2044
|
-
@port_field_type = args[:port_field_type] if args.key?(:port_field_type)
|
2045
|
-
@regex_pattern = args[:regex_pattern] if args.key?(:regex_pattern)
|
2046
|
-
end
|
2047
|
-
end
|
2048
|
-
|
2049
|
-
# Egress control config for connector runtime. These configurations define the
|
2050
|
-
# rules to identify which outbound domains/hosts needs to be whitelisted. It may
|
2051
|
-
# be a static information for a particular connector version or it is derived
|
2052
|
-
# from the configurations provided by the customer in Connection resource.
|
2053
|
-
class EgressControlConfig
|
2054
|
-
include Google::Apis::Core::Hashable
|
2055
|
-
|
2056
|
-
# Static Comma separated backends which are common for all Connection resources.
|
2057
|
-
# Supported formats for each backend are host:port or just host (host can be ip
|
2058
|
-
# address or domain name).
|
2059
|
-
# Corresponds to the JSON property `backends`
|
2060
|
-
# @return [String]
|
2061
|
-
attr_accessor :backends
|
2062
|
-
|
2063
|
-
# Extraction Rules to identity the backends from customer provided configuration
|
2064
|
-
# in Connection resource.
|
2065
|
-
# Corresponds to the JSON property `extractionRules`
|
2066
|
-
# @return [Google::Apis::ConnectorsV1::ExtractionRules]
|
2067
|
-
attr_accessor :extraction_rules
|
2068
|
-
|
2069
|
-
def initialize(**args)
|
2070
|
-
update!(**args)
|
2071
|
-
end
|
2072
|
-
|
2073
|
-
# Update properties of this object
|
2074
|
-
def update!(**args)
|
2075
|
-
@backends = args[:backends] if args.key?(:backends)
|
2076
|
-
@extraction_rules = args[:extraction_rules] if args.key?(:extraction_rules)
|
2077
|
-
end
|
2078
|
-
end
|
2079
|
-
|
2080
|
-
# A generic empty message that you can re-use to avoid defining duplicated empty
|
2081
|
-
# messages in your APIs. A typical example is to use it as the request or the
|
2082
|
-
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
2083
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
2084
|
-
class Empty
|
2085
|
-
include Google::Apis::Core::Hashable
|
2086
|
-
|
2087
|
-
def initialize(**args)
|
2088
|
-
update!(**args)
|
2089
|
-
end
|
2090
|
-
|
2091
|
-
# Update properties of this object
|
2092
|
-
def update!(**args)
|
2093
|
-
end
|
2094
|
-
end
|
2095
|
-
|
2096
|
-
# Regional encryption config for CMEK details.
|
2097
|
-
class EncryptionConfig
|
2098
|
-
include Google::Apis::Core::Hashable
|
2099
|
-
|
2100
|
-
# Optional. Encryption type for the region.
|
2101
|
-
# Corresponds to the JSON property `encryptionType`
|
2102
|
-
# @return [String]
|
2103
|
-
attr_accessor :encryption_type
|
2104
|
-
|
2105
|
-
# Optional. KMS crypto key. This field accepts identifiers of the form `projects/
|
2106
|
-
# `project`/locations/`location`/keyRings/`key_ring`/cryptoKeys/ `crypto_key``
|
2107
|
-
# Corresponds to the JSON property `kmsKeyName`
|
2108
|
-
# @return [String]
|
2109
|
-
attr_accessor :kms_key_name
|
2110
|
-
|
2111
|
-
def initialize(**args)
|
2112
|
-
update!(**args)
|
2113
|
-
end
|
2114
|
-
|
2115
|
-
# Update properties of this object
|
2116
|
-
def update!(**args)
|
2117
|
-
@encryption_type = args[:encryption_type] if args.key?(:encryption_type)
|
2118
|
-
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
2119
|
-
end
|
2120
|
-
end
|
2121
|
-
|
2122
|
-
# Encryption Key value.
|
2123
|
-
class EncryptionKey
|
2124
|
-
include Google::Apis::Core::Hashable
|
2125
|
-
|
2126
|
-
# The [KMS key name] with which the content of the Operation is encrypted. The
|
2127
|
-
# expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be
|
2128
|
-
# empty string if google managed.
|
2129
|
-
# Corresponds to the JSON property `kmsKeyName`
|
2130
|
-
# @return [String]
|
2131
|
-
attr_accessor :kms_key_name
|
2132
|
-
|
2133
|
-
# Type.
|
2134
|
-
# Corresponds to the JSON property `type`
|
2135
|
-
# @return [String]
|
2136
|
-
attr_accessor :type
|
2137
|
-
|
2138
|
-
def initialize(**args)
|
2139
|
-
update!(**args)
|
2140
|
-
end
|
2141
|
-
|
2142
|
-
# Update properties of this object
|
2143
|
-
def update!(**args)
|
2144
|
-
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
2145
|
-
@type = args[:type] if args.key?(:type)
|
2146
|
-
end
|
2147
|
-
end
|
2148
|
-
|
2149
|
-
# Endpoint message includes details of the Destination endpoint.
|
2150
|
-
class EndPoint
|
2151
|
-
include Google::Apis::Core::Hashable
|
2152
|
-
|
2153
|
-
# The URI of the Endpoint.
|
2154
|
-
# Corresponds to the JSON property `endpointUri`
|
2155
|
-
# @return [String]
|
2156
|
-
attr_accessor :endpoint_uri
|
2157
|
-
|
2158
|
-
# List of Header to be added to the Endpoint.
|
2159
|
-
# Corresponds to the JSON property `headers`
|
2160
|
-
# @return [Array<Google::Apis::ConnectorsV1::Header>]
|
2161
|
-
attr_accessor :headers
|
2162
|
-
|
2163
|
-
def initialize(**args)
|
2164
|
-
update!(**args)
|
2165
|
-
end
|
2166
|
-
|
2167
|
-
# Update properties of this object
|
2168
|
-
def update!(**args)
|
2169
|
-
@endpoint_uri = args[:endpoint_uri] if args.key?(:endpoint_uri)
|
2170
|
-
@headers = args[:headers] if args.key?(:headers)
|
2171
|
-
end
|
2172
|
-
end
|
2173
|
-
|
2174
|
-
# AuthConfig defines details of a authentication type.
|
2175
|
-
class EndUserAuthentication
|
2176
|
-
include Google::Apis::Core::Hashable
|
2177
|
-
|
2178
|
-
# Optional. Config variables for the EndUserAuthentication.
|
2179
|
-
# Corresponds to the JSON property `configVariables`
|
2180
|
-
# @return [Array<Google::Apis::ConnectorsV1::EndUserAuthenticationConfigVariable>]
|
2181
|
-
attr_accessor :config_variables
|
2182
|
-
|
2183
|
-
# Output only. Created time.
|
2184
|
-
# Corresponds to the JSON property `createTime`
|
2185
|
-
# @return [String]
|
2186
|
-
attr_accessor :create_time
|
2187
|
-
|
2188
|
-
# Optional. Destination configs for the EndUserAuthentication.
|
2189
|
-
# Corresponds to the JSON property `destinationConfigs`
|
2190
|
-
# @return [Array<Google::Apis::ConnectorsV1::DestinationConfig>]
|
2191
|
-
attr_accessor :destination_configs
|
2192
|
-
|
2193
|
-
# EndUserAuthenticationConfig defines details of a authentication configuration
|
2194
|
-
# for EUC
|
2195
|
-
# Corresponds to the JSON property `endUserAuthenticationConfig`
|
2196
|
-
# @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfig]
|
2197
|
-
attr_accessor :end_user_authentication_config
|
2198
|
-
|
2199
|
-
# Optional. Labels for the EndUserAuthentication.
|
2200
|
-
# Corresponds to the JSON property `labels`
|
2201
|
-
# @return [Array<String>]
|
2202
|
-
attr_accessor :labels
|
2203
|
-
|
2204
|
-
# Required. Identifier. Resource name of the EndUserAuthentication. Format:
|
2205
|
-
# projects/`project`/locations/`location`/connections/`connection`/
|
2206
|
-
# endUserAuthentications/`end_user_authentication`
|
2207
|
-
# Corresponds to the JSON property `name`
|
2208
|
-
# @return [String]
|
2209
|
-
attr_accessor :name
|
2210
|
-
|
2211
|
-
# Message for NotifyEndpointDestination Destination to hit when the refresh
|
2212
|
-
# token is expired.
|
2213
|
-
# Corresponds to the JSON property `notifyEndpointDestination`
|
2214
|
-
# @return [Google::Apis::ConnectorsV1::EndUserAuthenticationNotifyEndpointDestination]
|
2215
|
-
attr_accessor :notify_endpoint_destination
|
2216
|
-
|
2217
|
-
# EndUserAuthentication Status denotes the status of the EndUserAuthentication
|
2218
|
-
# resource.
|
2219
|
-
# Corresponds to the JSON property `status`
|
2220
|
-
# @return [Google::Apis::ConnectorsV1::EndUserAuthenticationEndUserAuthenticationStatus]
|
2221
|
-
attr_accessor :status
|
2222
|
-
|
2223
|
-
# Output only. Updated time.
|
2224
|
-
# Corresponds to the JSON property `updateTime`
|
2225
|
-
# @return [String]
|
2226
|
-
attr_accessor :update_time
|
2227
|
-
|
2228
|
-
# Optional. Deprecated: The email of the user.
|
2229
|
-
# Corresponds to the JSON property `userEmail`
|
2230
|
-
# @return [String]
|
2231
|
-
attr_accessor :user_email
|
2232
|
-
|
2233
|
-
# Optional. The user id of the user.
|
2234
|
-
# Corresponds to the JSON property `userId`
|
2235
|
-
# @return [String]
|
2236
|
-
attr_accessor :user_id
|
2237
|
-
|
2238
|
-
def initialize(**args)
|
2239
|
-
update!(**args)
|
2240
|
-
end
|
2241
|
-
|
2242
|
-
# Update properties of this object
|
2243
|
-
def update!(**args)
|
2244
|
-
@config_variables = args[:config_variables] if args.key?(:config_variables)
|
2245
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
2246
|
-
@destination_configs = args[:destination_configs] if args.key?(:destination_configs)
|
2247
|
-
@end_user_authentication_config = args[:end_user_authentication_config] if args.key?(:end_user_authentication_config)
|
2248
|
-
@labels = args[:labels] if args.key?(:labels)
|
2249
|
-
@name = args[:name] if args.key?(:name)
|
2250
|
-
@notify_endpoint_destination = args[:notify_endpoint_destination] if args.key?(:notify_endpoint_destination)
|
2251
|
-
@status = args[:status] if args.key?(:status)
|
2252
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
2253
|
-
@user_email = args[:user_email] if args.key?(:user_email)
|
2254
|
-
@user_id = args[:user_id] if args.key?(:user_id)
|
2255
|
-
end
|
2256
|
-
end
|
2257
|
-
|
2258
|
-
# EndUserAuthenticationConfig defines details of a authentication configuration
|
2259
|
-
# for EUC
|
2260
|
-
class EndUserAuthenticationConfig
|
2261
|
-
include Google::Apis::Core::Hashable
|
2262
|
-
|
2263
|
-
# Optional. List containing additional auth configs.
|
2264
|
-
# Corresponds to the JSON property `additionalVariables`
|
2265
|
-
# @return [Array<Google::Apis::ConnectorsV1::EndUserAuthenticationConfigVariable>]
|
2266
|
-
attr_accessor :additional_variables
|
2267
|
-
|
2268
|
-
# Identifier key for auth config
|
2269
|
-
# Corresponds to the JSON property `authKey`
|
2270
|
-
# @return [String]
|
2271
|
-
attr_accessor :auth_key
|
2272
|
-
|
2273
|
-
# The type of authentication configured.
|
2274
|
-
# Corresponds to the JSON property `authType`
|
2275
|
-
# @return [String]
|
2276
|
-
attr_accessor :auth_type
|
2277
|
-
|
2278
|
-
# Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://
|
2279
|
-
# www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.
|
2280
|
-
# Corresponds to the JSON property `oauth2AuthCodeFlow`
|
2281
|
-
# @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2AuthCodeFlow]
|
2282
|
-
attr_accessor :oauth2_auth_code_flow
|
2283
|
-
|
2284
|
-
# Parameters to support Oauth 2.0 Auth Code Grant Authentication using Google
|
2285
|
-
# Provided OAuth Client. See https://tools.ietf.org/html/rfc6749#section-1.3.1
|
2286
|
-
# for more details.
|
2287
|
-
# Corresponds to the JSON property `oauth2AuthCodeFlowGoogleManaged`
|
2288
|
-
# @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2AuthCodeFlowGoogleManaged]
|
2289
|
-
attr_accessor :oauth2_auth_code_flow_google_managed
|
2290
|
-
|
2291
|
-
# Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See
|
2292
|
-
# https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
|
2293
|
-
# Corresponds to the JSON property `oauth2ClientCredentials`
|
2294
|
-
# @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2ClientCredentials]
|
2295
|
-
attr_accessor :oauth2_client_credentials
|
2296
|
-
|
2297
|
-
# Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization
|
2298
|
-
# Grant based authentication. See https://tools.ietf.org/html/rfc7523 for more
|
2299
|
-
# details.
|
2300
|
-
# Corresponds to the JSON property `oauth2JwtBearer`
|
2301
|
-
# @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2JwtBearer]
|
2302
|
-
attr_accessor :oauth2_jwt_bearer
|
2303
|
-
|
2304
|
-
# Parameters to support Ssh public key Authentication.
|
2305
|
-
# Corresponds to the JSON property `sshPublicKey`
|
2306
|
-
# @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigSshPublicKey]
|
2307
|
-
attr_accessor :ssh_public_key
|
2308
|
-
|
2309
|
-
# Parameters to support Username and Password Authentication.
|
2310
|
-
# Corresponds to the JSON property `userPassword`
|
2311
|
-
# @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigUserPassword]
|
2312
|
-
attr_accessor :user_password
|
2313
|
-
|
2314
|
-
def initialize(**args)
|
2315
|
-
update!(**args)
|
2316
|
-
end
|
2317
|
-
|
2318
|
-
# Update properties of this object
|
2319
|
-
def update!(**args)
|
2320
|
-
@additional_variables = args[:additional_variables] if args.key?(:additional_variables)
|
2321
|
-
@auth_key = args[:auth_key] if args.key?(:auth_key)
|
2322
|
-
@auth_type = args[:auth_type] if args.key?(:auth_type)
|
2323
|
-
@oauth2_auth_code_flow = args[:oauth2_auth_code_flow] if args.key?(:oauth2_auth_code_flow)
|
2324
|
-
@oauth2_auth_code_flow_google_managed = args[:oauth2_auth_code_flow_google_managed] if args.key?(:oauth2_auth_code_flow_google_managed)
|
2325
|
-
@oauth2_client_credentials = args[:oauth2_client_credentials] if args.key?(:oauth2_client_credentials)
|
2326
|
-
@oauth2_jwt_bearer = args[:oauth2_jwt_bearer] if args.key?(:oauth2_jwt_bearer)
|
2327
|
-
@ssh_public_key = args[:ssh_public_key] if args.key?(:ssh_public_key)
|
2328
|
-
@user_password = args[:user_password] if args.key?(:user_password)
|
2329
|
-
end
|
2330
|
-
end
|
2331
|
-
|
2332
|
-
# Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://
|
2333
|
-
# www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.
|
2334
|
-
class EndUserAuthenticationConfigOauth2AuthCodeFlow
|
2335
|
-
include Google::Apis::Core::Hashable
|
2336
|
-
|
2337
|
-
# Optional. Authorization code to be exchanged for access and refresh tokens.
|
2338
|
-
# Corresponds to the JSON property `authCode`
|
2339
|
-
# @return [String]
|
2340
|
-
attr_accessor :auth_code
|
2341
|
-
|
2342
|
-
# Optional. Auth URL for Authorization Code Flow
|
2343
|
-
# Corresponds to the JSON property `authUri`
|
2344
|
-
# @return [String]
|
2345
|
-
attr_accessor :auth_uri
|
2346
|
-
|
2347
|
-
# Optional. Client ID for user-provided OAuth app.
|
2348
|
-
# Corresponds to the JSON property `clientId`
|
2349
|
-
# @return [String]
|
2350
|
-
attr_accessor :client_id
|
2351
|
-
|
2352
|
-
# Optional. Client secret for user-provided OAuth app.
|
2353
|
-
# Corresponds to the JSON property `clientSecret`
|
2354
|
-
# @return [String]
|
2355
|
-
attr_accessor :client_secret
|
2356
|
-
|
2357
|
-
# Optional. Whether to enable PKCE when the user performs the auth code flow.
|
2358
|
-
# Corresponds to the JSON property `enablePkce`
|
2359
|
-
# @return [Boolean]
|
2360
|
-
attr_accessor :enable_pkce
|
2361
|
-
alias_method :enable_pkce?, :enable_pkce
|
2362
|
-
|
2363
|
-
# pass only at create and not update using updateMask Auth Code Data
|
2364
|
-
# Corresponds to the JSON property `oauthTokenData`
|
2365
|
-
# @return [Google::Apis::ConnectorsV1::OAuthTokenData]
|
2366
|
-
attr_accessor :oauth_token_data
|
2367
|
-
|
2368
|
-
# Optional. PKCE verifier to be used during the auth code exchange.
|
2369
|
-
# Corresponds to the JSON property `pkceVerifier`
|
2370
|
-
# @return [String]
|
2371
|
-
attr_accessor :pkce_verifier
|
2372
|
-
|
2373
|
-
# Optional. Redirect URI to be provided during the auth code exchange.
|
2374
|
-
# Corresponds to the JSON property `redirectUri`
|
2375
|
-
# @return [String]
|
2376
|
-
attr_accessor :redirect_uri
|
2377
|
-
|
2378
|
-
# Optional. Scopes the connection will request when the user performs the auth
|
2379
|
-
# code flow.
|
2380
|
-
# Corresponds to the JSON property `scopes`
|
2381
|
-
# @return [Array<String>]
|
2382
|
-
attr_accessor :scopes
|
2383
|
-
|
2384
|
-
def initialize(**args)
|
2385
|
-
update!(**args)
|
2386
|
-
end
|
2387
|
-
|
2388
|
-
# Update properties of this object
|
2389
|
-
def update!(**args)
|
2390
|
-
@auth_code = args[:auth_code] if args.key?(:auth_code)
|
2391
|
-
@auth_uri = args[:auth_uri] if args.key?(:auth_uri)
|
2392
|
-
@client_id = args[:client_id] if args.key?(:client_id)
|
2393
|
-
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
2394
|
-
@enable_pkce = args[:enable_pkce] if args.key?(:enable_pkce)
|
2395
|
-
@oauth_token_data = args[:oauth_token_data] if args.key?(:oauth_token_data)
|
2396
|
-
@pkce_verifier = args[:pkce_verifier] if args.key?(:pkce_verifier)
|
2397
|
-
@redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
|
2398
|
-
@scopes = args[:scopes] if args.key?(:scopes)
|
2399
|
-
end
|
2400
|
-
end
|
2401
|
-
|
2402
|
-
# Parameters to support Oauth 2.0 Auth Code Grant Authentication using Google
|
2403
|
-
# Provided OAuth Client. See https://tools.ietf.org/html/rfc6749#section-1.3.1
|
2404
|
-
# for more details.
|
2405
|
-
class EndUserAuthenticationConfigOauth2AuthCodeFlowGoogleManaged
|
2406
|
-
include Google::Apis::Core::Hashable
|
2407
|
-
|
2408
|
-
# Optional. Authorization code to be exchanged for access and refresh tokens.
|
2409
|
-
# Corresponds to the JSON property `authCode`
|
2410
|
-
# @return [String]
|
2411
|
-
attr_accessor :auth_code
|
2412
|
-
|
2413
|
-
# pass only at create and not update using updateMask Auth Code Data
|
2414
|
-
# Corresponds to the JSON property `oauthTokenData`
|
2415
|
-
# @return [Google::Apis::ConnectorsV1::OAuthTokenData]
|
2416
|
-
attr_accessor :oauth_token_data
|
2417
|
-
|
2418
|
-
# Optional. Redirect URI to be provided during the auth code exchange.
|
2419
|
-
# Corresponds to the JSON property `redirectUri`
|
2420
|
-
# @return [String]
|
2421
|
-
attr_accessor :redirect_uri
|
2422
|
-
|
2423
|
-
# Required. Scopes the connection will request when the user performs the auth
|
2424
|
-
# code flow.
|
2425
|
-
# Corresponds to the JSON property `scopes`
|
2426
|
-
# @return [Array<String>]
|
2427
|
-
attr_accessor :scopes
|
2428
|
-
|
2429
|
-
def initialize(**args)
|
2430
|
-
update!(**args)
|
2431
|
-
end
|
2432
|
-
|
2433
|
-
# Update properties of this object
|
2434
|
-
def update!(**args)
|
2435
|
-
@auth_code = args[:auth_code] if args.key?(:auth_code)
|
2436
|
-
@oauth_token_data = args[:oauth_token_data] if args.key?(:oauth_token_data)
|
2437
|
-
@redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
|
2438
|
-
@scopes = args[:scopes] if args.key?(:scopes)
|
2439
|
-
end
|
2440
|
-
end
|
2441
|
-
|
2442
|
-
# Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See
|
2443
|
-
# https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
|
2444
|
-
class EndUserAuthenticationConfigOauth2ClientCredentials
|
2445
|
-
include Google::Apis::Core::Hashable
|
2446
|
-
|
2447
|
-
# The client identifier.
|
2448
|
-
# Corresponds to the JSON property `clientId`
|
2449
|
-
# @return [String]
|
2450
|
-
attr_accessor :client_id
|
2451
|
-
|
2452
|
-
# Required. string value containing the client secret.
|
2453
|
-
# Corresponds to the JSON property `clientSecret`
|
2454
|
-
# @return [String]
|
2455
|
-
attr_accessor :client_secret
|
2456
|
-
|
2457
|
-
def initialize(**args)
|
2458
|
-
update!(**args)
|
2459
|
-
end
|
2460
|
-
|
2461
|
-
# Update properties of this object
|
2462
|
-
def update!(**args)
|
2463
|
-
@client_id = args[:client_id] if args.key?(:client_id)
|
2464
|
-
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
2465
|
-
end
|
2466
|
-
end
|
2467
|
-
|
2468
|
-
# Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization
|
2469
|
-
# Grant based authentication. See https://tools.ietf.org/html/rfc7523 for more
|
2470
|
-
# details.
|
2471
|
-
class EndUserAuthenticationConfigOauth2JwtBearer
|
2472
|
-
include Google::Apis::Core::Hashable
|
2473
|
-
|
2474
|
-
# Required. string version reference containing a PKCS#8 PEM-encoded private key
|
2475
|
-
# associated with the Client Certificate. This private key will be used to sign
|
2476
|
-
# JWTs used for the jwt-bearer authorization grant. Specified in the form as: `
|
2477
|
-
# projects/*/strings/*/versions/*`.
|
2478
|
-
# Corresponds to the JSON property `clientKey`
|
2479
|
-
# @return [String]
|
2480
|
-
attr_accessor :client_key
|
2481
|
-
|
2482
|
-
# JWT claims used for the jwt-bearer authorization grant.
|
2483
|
-
# Corresponds to the JSON property `jwtClaims`
|
2484
|
-
# @return [Google::Apis::ConnectorsV1::EndUserAuthenticationConfigOauth2JwtBearerJwtClaims]
|
2485
|
-
attr_accessor :jwt_claims
|
2486
|
-
|
2487
|
-
def initialize(**args)
|
2488
|
-
update!(**args)
|
2489
|
-
end
|
2490
|
-
|
2491
|
-
# Update properties of this object
|
2492
|
-
def update!(**args)
|
2493
|
-
@client_key = args[:client_key] if args.key?(:client_key)
|
2494
|
-
@jwt_claims = args[:jwt_claims] if args.key?(:jwt_claims)
|
2495
|
-
end
|
2496
|
-
end
|
2497
|
-
|
2498
|
-
# JWT claims used for the jwt-bearer authorization grant.
|
2499
|
-
class EndUserAuthenticationConfigOauth2JwtBearerJwtClaims
|
2500
|
-
include Google::Apis::Core::Hashable
|
2501
|
-
|
2502
|
-
# Value for the "aud" claim.
|
2503
|
-
# Corresponds to the JSON property `audience`
|
2504
|
-
# @return [String]
|
2505
|
-
attr_accessor :audience
|
2506
|
-
|
2507
|
-
# Value for the "iss" claim.
|
2508
|
-
# Corresponds to the JSON property `issuer`
|
2509
|
-
# @return [String]
|
2510
|
-
attr_accessor :issuer
|
2511
|
-
|
2512
|
-
# Value for the "sub" claim.
|
2513
|
-
# Corresponds to the JSON property `subject`
|
1978
|
+
# The key is the destination identifier that is supported by the Connector.
|
1979
|
+
# Corresponds to the JSON property `key`
|
2514
1980
|
# @return [String]
|
2515
|
-
attr_accessor :
|
1981
|
+
attr_accessor :key
|
2516
1982
|
|
2517
1983
|
def initialize(**args)
|
2518
1984
|
update!(**args)
|
@@ -2520,35 +1986,66 @@ module Google
|
|
2520
1986
|
|
2521
1987
|
# Update properties of this object
|
2522
1988
|
def update!(**args)
|
2523
|
-
@
|
2524
|
-
@
|
2525
|
-
@subject = args[:subject] if args.key?(:subject)
|
1989
|
+
@destinations = args[:destinations] if args.key?(:destinations)
|
1990
|
+
@key = args[:key] if args.key?(:key)
|
2526
1991
|
end
|
2527
1992
|
end
|
2528
1993
|
|
2529
|
-
#
|
2530
|
-
|
1994
|
+
# DestinationConfigTemplate defines required destinations supported by the
|
1995
|
+
# Connector.
|
1996
|
+
class DestinationConfigTemplate
|
2531
1997
|
include Google::Apis::Core::Hashable
|
2532
1998
|
|
2533
|
-
#
|
2534
|
-
# Corresponds to the JSON property `
|
1999
|
+
# Autocomplete suggestions for destination URL field.
|
2000
|
+
# Corresponds to the JSON property `autocompleteSuggestions`
|
2001
|
+
# @return [Array<String>]
|
2002
|
+
attr_accessor :autocomplete_suggestions
|
2003
|
+
|
2004
|
+
# The default port.
|
2005
|
+
# Corresponds to the JSON property `defaultPort`
|
2006
|
+
# @return [Fixnum]
|
2007
|
+
attr_accessor :default_port
|
2008
|
+
|
2009
|
+
# Description.
|
2010
|
+
# Corresponds to the JSON property `description`
|
2535
2011
|
# @return [String]
|
2536
|
-
attr_accessor :
|
2012
|
+
attr_accessor :description
|
2537
2013
|
|
2538
|
-
#
|
2539
|
-
# Corresponds to the JSON property `
|
2014
|
+
# Display name of the parameter.
|
2015
|
+
# Corresponds to the JSON property `displayName`
|
2540
2016
|
# @return [String]
|
2541
|
-
attr_accessor :
|
2017
|
+
attr_accessor :display_name
|
2542
2018
|
|
2543
|
-
#
|
2544
|
-
# Corresponds to the JSON property `
|
2019
|
+
# Whether the current destination tempalate is part of Advanced settings
|
2020
|
+
# Corresponds to the JSON property `isAdvanced`
|
2021
|
+
# @return [Boolean]
|
2022
|
+
attr_accessor :is_advanced
|
2023
|
+
alias_method :is_advanced?, :is_advanced
|
2024
|
+
|
2025
|
+
# Key of the destination.
|
2026
|
+
# Corresponds to the JSON property `key`
|
2545
2027
|
# @return [String]
|
2546
|
-
attr_accessor :
|
2028
|
+
attr_accessor :key
|
2547
2029
|
|
2548
|
-
# The
|
2549
|
-
# Corresponds to the JSON property `
|
2030
|
+
# The maximum number of destinations supported for this key.
|
2031
|
+
# Corresponds to the JSON property `max`
|
2032
|
+
# @return [Fixnum]
|
2033
|
+
attr_accessor :max
|
2034
|
+
|
2035
|
+
# The minimum number of destinations supported for this key.
|
2036
|
+
# Corresponds to the JSON property `min`
|
2037
|
+
# @return [Fixnum]
|
2038
|
+
attr_accessor :min
|
2039
|
+
|
2040
|
+
# Whether port number should be provided by customers.
|
2041
|
+
# Corresponds to the JSON property `portFieldType`
|
2550
2042
|
# @return [String]
|
2551
|
-
attr_accessor :
|
2043
|
+
attr_accessor :port_field_type
|
2044
|
+
|
2045
|
+
# Regex pattern for host.
|
2046
|
+
# Corresponds to the JSON property `regexPattern`
|
2047
|
+
# @return [String]
|
2048
|
+
attr_accessor :regex_pattern
|
2552
2049
|
|
2553
2050
|
def initialize(**args)
|
2554
2051
|
update!(**args)
|
@@ -2556,26 +2053,38 @@ module Google
|
|
2556
2053
|
|
2557
2054
|
# Update properties of this object
|
2558
2055
|
def update!(**args)
|
2559
|
-
@
|
2560
|
-
@
|
2561
|
-
@
|
2562
|
-
@
|
2056
|
+
@autocomplete_suggestions = args[:autocomplete_suggestions] if args.key?(:autocomplete_suggestions)
|
2057
|
+
@default_port = args[:default_port] if args.key?(:default_port)
|
2058
|
+
@description = args[:description] if args.key?(:description)
|
2059
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2060
|
+
@is_advanced = args[:is_advanced] if args.key?(:is_advanced)
|
2061
|
+
@key = args[:key] if args.key?(:key)
|
2062
|
+
@max = args[:max] if args.key?(:max)
|
2063
|
+
@min = args[:min] if args.key?(:min)
|
2064
|
+
@port_field_type = args[:port_field_type] if args.key?(:port_field_type)
|
2065
|
+
@regex_pattern = args[:regex_pattern] if args.key?(:regex_pattern)
|
2563
2066
|
end
|
2564
2067
|
end
|
2565
2068
|
|
2566
|
-
#
|
2567
|
-
|
2069
|
+
# Egress control config for connector runtime. These configurations define the
|
2070
|
+
# rules to identify which outbound domains/hosts needs to be whitelisted. It may
|
2071
|
+
# be a static information for a particular connector version or it is derived
|
2072
|
+
# from the configurations provided by the customer in Connection resource.
|
2073
|
+
class EgressControlConfig
|
2568
2074
|
include Google::Apis::Core::Hashable
|
2569
2075
|
|
2570
|
-
#
|
2571
|
-
#
|
2076
|
+
# Static Comma separated backends which are common for all Connection resources.
|
2077
|
+
# Supported formats for each backend are host:port or just host (host can be ip
|
2078
|
+
# address or domain name).
|
2079
|
+
# Corresponds to the JSON property `backends`
|
2572
2080
|
# @return [String]
|
2573
|
-
attr_accessor :
|
2081
|
+
attr_accessor :backends
|
2574
2082
|
|
2575
|
-
#
|
2576
|
-
#
|
2577
|
-
#
|
2578
|
-
|
2083
|
+
# Extraction Rules to identity the backends from customer provided configuration
|
2084
|
+
# in Connection resource.
|
2085
|
+
# Corresponds to the JSON property `extractionRules`
|
2086
|
+
# @return [Google::Apis::ConnectorsV1::ExtractionRules]
|
2087
|
+
attr_accessor :extraction_rules
|
2579
2088
|
|
2580
2089
|
def initialize(**args)
|
2581
2090
|
update!(**args)
|
@@ -2583,70 +2092,41 @@ module Google
|
|
2583
2092
|
|
2584
2093
|
# Update properties of this object
|
2585
2094
|
def update!(**args)
|
2586
|
-
@
|
2587
|
-
@
|
2095
|
+
@backends = args[:backends] if args.key?(:backends)
|
2096
|
+
@extraction_rules = args[:extraction_rules] if args.key?(:extraction_rules)
|
2588
2097
|
end
|
2589
2098
|
end
|
2590
2099
|
|
2591
|
-
#
|
2592
|
-
#
|
2593
|
-
|
2100
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
2101
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
2102
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
2103
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
2104
|
+
class Empty
|
2594
2105
|
include Google::Apis::Core::Hashable
|
2595
2106
|
|
2596
|
-
# Value is a bool.
|
2597
|
-
# Corresponds to the JSON property `boolValue`
|
2598
|
-
# @return [Boolean]
|
2599
|
-
attr_accessor :bool_value
|
2600
|
-
alias_method :bool_value?, :bool_value
|
2601
|
-
|
2602
|
-
# Value is an integer
|
2603
|
-
# Corresponds to the JSON property `intValue`
|
2604
|
-
# @return [Fixnum]
|
2605
|
-
attr_accessor :int_value
|
2606
|
-
|
2607
|
-
# Required. Key of the config variable.
|
2608
|
-
# Corresponds to the JSON property `key`
|
2609
|
-
# @return [String]
|
2610
|
-
attr_accessor :key
|
2611
|
-
|
2612
|
-
# Secret provides a reference to entries in Secret Manager.
|
2613
|
-
# Corresponds to the JSON property `secretValue`
|
2614
|
-
# @return [Google::Apis::ConnectorsV1::Secret]
|
2615
|
-
attr_accessor :secret_value
|
2616
|
-
|
2617
|
-
# Value is a string.
|
2618
|
-
# Corresponds to the JSON property `stringValue`
|
2619
|
-
# @return [String]
|
2620
|
-
attr_accessor :string_value
|
2621
|
-
|
2622
2107
|
def initialize(**args)
|
2623
2108
|
update!(**args)
|
2624
2109
|
end
|
2625
2110
|
|
2626
2111
|
# Update properties of this object
|
2627
2112
|
def update!(**args)
|
2628
|
-
@bool_value = args[:bool_value] if args.key?(:bool_value)
|
2629
|
-
@int_value = args[:int_value] if args.key?(:int_value)
|
2630
|
-
@key = args[:key] if args.key?(:key)
|
2631
|
-
@secret_value = args[:secret_value] if args.key?(:secret_value)
|
2632
|
-
@string_value = args[:string_value] if args.key?(:string_value)
|
2633
2113
|
end
|
2634
2114
|
end
|
2635
2115
|
|
2636
|
-
#
|
2637
|
-
|
2638
|
-
class EndUserAuthenticationEndUserAuthenticationStatus
|
2116
|
+
# Regional encryption config for CMEK details.
|
2117
|
+
class EncryptionConfig
|
2639
2118
|
include Google::Apis::Core::Hashable
|
2640
2119
|
|
2641
|
-
#
|
2642
|
-
# Corresponds to the JSON property `
|
2120
|
+
# Optional. Encryption type for the region.
|
2121
|
+
# Corresponds to the JSON property `encryptionType`
|
2643
2122
|
# @return [String]
|
2644
|
-
attr_accessor :
|
2123
|
+
attr_accessor :encryption_type
|
2645
2124
|
|
2646
|
-
#
|
2647
|
-
#
|
2125
|
+
# Optional. KMS crypto key. This field accepts identifiers of the form `projects/
|
2126
|
+
# `project`/locations/`location`/keyRings/`key_ring`/cryptoKeys/ `crypto_key``
|
2127
|
+
# Corresponds to the JSON property `kmsKeyName`
|
2648
2128
|
# @return [String]
|
2649
|
-
attr_accessor :
|
2129
|
+
attr_accessor :kms_key_name
|
2650
2130
|
|
2651
2131
|
def initialize(**args)
|
2652
2132
|
update!(**args)
|
@@ -2654,27 +2134,23 @@ module Google
|
|
2654
2134
|
|
2655
2135
|
# Update properties of this object
|
2656
2136
|
def update!(**args)
|
2657
|
-
@
|
2658
|
-
@
|
2137
|
+
@encryption_type = args[:encryption_type] if args.key?(:encryption_type)
|
2138
|
+
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
2659
2139
|
end
|
2660
2140
|
end
|
2661
2141
|
|
2662
|
-
#
|
2663
|
-
|
2664
|
-
class EndUserAuthenticationNotifyEndpointDestination
|
2142
|
+
# Encryption Key value.
|
2143
|
+
class EncryptionKey
|
2665
2144
|
include Google::Apis::Core::Hashable
|
2666
2145
|
|
2667
|
-
#
|
2668
|
-
#
|
2669
|
-
#
|
2670
|
-
|
2671
|
-
|
2672
|
-
# Required. Service account needed for runtime plane to notify the backend.
|
2673
|
-
# Corresponds to the JSON property `serviceAccount`
|
2146
|
+
# The [KMS key name] with which the content of the Operation is encrypted. The
|
2147
|
+
# expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be
|
2148
|
+
# empty string if google managed.
|
2149
|
+
# Corresponds to the JSON property `kmsKeyName`
|
2674
2150
|
# @return [String]
|
2675
|
-
attr_accessor :
|
2151
|
+
attr_accessor :kms_key_name
|
2676
2152
|
|
2677
|
-
#
|
2153
|
+
# Type.
|
2678
2154
|
# Corresponds to the JSON property `type`
|
2679
2155
|
# @return [String]
|
2680
2156
|
attr_accessor :type
|
@@ -2685,24 +2161,23 @@ module Google
|
|
2685
2161
|
|
2686
2162
|
# Update properties of this object
|
2687
2163
|
def update!(**args)
|
2688
|
-
@
|
2689
|
-
@service_account = args[:service_account] if args.key?(:service_account)
|
2164
|
+
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
2690
2165
|
@type = args[:type] if args.key?(:type)
|
2691
2166
|
end
|
2692
2167
|
end
|
2693
2168
|
|
2694
2169
|
# Endpoint message includes details of the Destination endpoint.
|
2695
|
-
class
|
2170
|
+
class EndPoint
|
2696
2171
|
include Google::Apis::Core::Hashable
|
2697
2172
|
|
2698
|
-
#
|
2173
|
+
# The URI of the Endpoint.
|
2699
2174
|
# Corresponds to the JSON property `endpointUri`
|
2700
2175
|
# @return [String]
|
2701
2176
|
attr_accessor :endpoint_uri
|
2702
2177
|
|
2703
|
-
#
|
2178
|
+
# List of Header to be added to the Endpoint.
|
2704
2179
|
# Corresponds to the JSON property `headers`
|
2705
|
-
# @return [Array<Google::Apis::ConnectorsV1::
|
2180
|
+
# @return [Array<Google::Apis::ConnectorsV1::Header>]
|
2706
2181
|
attr_accessor :headers
|
2707
2182
|
|
2708
2183
|
def initialize(**args)
|
@@ -2716,31 +2191,6 @@ module Google
|
|
2716
2191
|
end
|
2717
2192
|
end
|
2718
2193
|
|
2719
|
-
# Header details for a given header to be added to Endpoint.
|
2720
|
-
class EndUserAuthenticationNotifyEndpointDestinationEndPointHeader
|
2721
|
-
include Google::Apis::Core::Hashable
|
2722
|
-
|
2723
|
-
# Required. Key of Header.
|
2724
|
-
# Corresponds to the JSON property `key`
|
2725
|
-
# @return [String]
|
2726
|
-
attr_accessor :key
|
2727
|
-
|
2728
|
-
# Required. Value of Header.
|
2729
|
-
# Corresponds to the JSON property `value`
|
2730
|
-
# @return [String]
|
2731
|
-
attr_accessor :value
|
2732
|
-
|
2733
|
-
def initialize(**args)
|
2734
|
-
update!(**args)
|
2735
|
-
end
|
2736
|
-
|
2737
|
-
# Update properties of this object
|
2738
|
-
def update!(**args)
|
2739
|
-
@key = args[:key] if args.key?(:key)
|
2740
|
-
@value = args[:value] if args.key?(:value)
|
2741
|
-
end
|
2742
|
-
end
|
2743
|
-
|
2744
2194
|
# represents the Connector's Endpoint Attachment resource
|
2745
2195
|
class EndpointAttachment
|
2746
2196
|
include Google::Apis::Core::Hashable
|
@@ -3748,6 +3198,17 @@ module Google
|
|
3748
3198
|
# @return [String]
|
3749
3199
|
attr_accessor :consumer_defined_name
|
3750
3200
|
|
3201
|
+
# Optional. The consumer_project_number associated with this Apigee instance.
|
3202
|
+
# This field is added specifically to support Apigee integration with SLM
|
3203
|
+
# Rollout and UMM. It represents the numerical project ID of the GCP project
|
3204
|
+
# that consumes this Apigee instance. It is used for SLM rollout notifications
|
3205
|
+
# and UMM integration, enabling proper mapping to customer projects and log
|
3206
|
+
# delivery for Apigee instances. This field complements consumer_project_id and
|
3207
|
+
# may be used for specific Apigee scenarios where the numerical ID is required.
|
3208
|
+
# Corresponds to the JSON property `consumerProjectNumber`
|
3209
|
+
# @return [String]
|
3210
|
+
attr_accessor :consumer_project_number
|
3211
|
+
|
3751
3212
|
# Output only. Timestamp when the resource was created.
|
3752
3213
|
# Corresponds to the JSON property `createTime`
|
3753
3214
|
# @return [String]
|
@@ -3864,6 +3325,7 @@ module Google
|
|
3864
3325
|
# Update properties of this object
|
3865
3326
|
def update!(**args)
|
3866
3327
|
@consumer_defined_name = args[:consumer_defined_name] if args.key?(:consumer_defined_name)
|
3328
|
+
@consumer_project_number = args[:consumer_project_number] if args.key?(:consumer_project_number)
|
3867
3329
|
@create_time = args[:create_time] if args.key?(:create_time)
|
3868
3330
|
@instance_type = args[:instance_type] if args.key?(:instance_type)
|
3869
3331
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -4222,37 +3684,6 @@ module Google
|
|
4222
3684
|
end
|
4223
3685
|
end
|
4224
3686
|
|
4225
|
-
# Response message for ConnectorsService.ListEndUserAuthentications
|
4226
|
-
class ListEndUserAuthenticationsResponse
|
4227
|
-
include Google::Apis::Core::Hashable
|
4228
|
-
|
4229
|
-
# Subscriptions.
|
4230
|
-
# Corresponds to the JSON property `endUserAuthentications`
|
4231
|
-
# @return [Array<Google::Apis::ConnectorsV1::EndUserAuthentication>]
|
4232
|
-
attr_accessor :end_user_authentications
|
4233
|
-
|
4234
|
-
# Next page token.
|
4235
|
-
# Corresponds to the JSON property `nextPageToken`
|
4236
|
-
# @return [String]
|
4237
|
-
attr_accessor :next_page_token
|
4238
|
-
|
4239
|
-
# Locations that could not be reached.
|
4240
|
-
# Corresponds to the JSON property `unreachable`
|
4241
|
-
# @return [Array<String>]
|
4242
|
-
attr_accessor :unreachable
|
4243
|
-
|
4244
|
-
def initialize(**args)
|
4245
|
-
update!(**args)
|
4246
|
-
end
|
4247
|
-
|
4248
|
-
# Update properties of this object
|
4249
|
-
def update!(**args)
|
4250
|
-
@end_user_authentications = args[:end_user_authentications] if args.key?(:end_user_authentications)
|
4251
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
4252
|
-
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
4253
|
-
end
|
4254
|
-
end
|
4255
|
-
|
4256
3687
|
# Response message for ConnectorsService.ListEndpointAttachments
|
4257
3688
|
class ListEndpointAttachmentsResponse
|
4258
3689
|
include Google::Apis::Core::Hashable
|
@@ -5119,43 +4550,6 @@ module Google
|
|
5119
4550
|
end
|
5120
4551
|
end
|
5121
4552
|
|
5122
|
-
# pass only at create and not update using updateMask Auth Code Data
|
5123
|
-
class OAuthTokenData
|
5124
|
-
include Google::Apis::Core::Hashable
|
5125
|
-
|
5126
|
-
# Optional. Access token for the connection.
|
5127
|
-
# Corresponds to the JSON property `accessToken`
|
5128
|
-
# @return [String]
|
5129
|
-
attr_accessor :access_token
|
5130
|
-
|
5131
|
-
# Optional. Timestamp when the access token was created.
|
5132
|
-
# Corresponds to the JSON property `createTime`
|
5133
|
-
# @return [String]
|
5134
|
-
attr_accessor :create_time
|
5135
|
-
|
5136
|
-
# Optional. Time in seconds when the access token expires.
|
5137
|
-
# Corresponds to the JSON property `expiry`
|
5138
|
-
# @return [String]
|
5139
|
-
attr_accessor :expiry
|
5140
|
-
|
5141
|
-
# Optional. Refresh token for the connection.
|
5142
|
-
# Corresponds to the JSON property `refreshToken`
|
5143
|
-
# @return [String]
|
5144
|
-
attr_accessor :refresh_token
|
5145
|
-
|
5146
|
-
def initialize(**args)
|
5147
|
-
update!(**args)
|
5148
|
-
end
|
5149
|
-
|
5150
|
-
# Update properties of this object
|
5151
|
-
def update!(**args)
|
5152
|
-
@access_token = args[:access_token] if args.key?(:access_token)
|
5153
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
5154
|
-
@expiry = args[:expiry] if args.key?(:expiry)
|
5155
|
-
@refresh_token = args[:refresh_token] if args.key?(:refresh_token)
|
5156
|
-
end
|
5157
|
-
end
|
5158
|
-
|
5159
4553
|
# Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://
|
5160
4554
|
# www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.
|
5161
4555
|
class Oauth2AuthCodeFlow
|
@@ -6880,6 +6274,12 @@ module Google
|
|
6880
6274
|
attr_accessor :action_apis
|
6881
6275
|
alias_method :action_apis?, :action_apis
|
6882
6276
|
|
6277
|
+
# Specifies if the connector supports async long running operations.
|
6278
|
+
# Corresponds to the JSON property `asyncOperations`
|
6279
|
+
# @return [Boolean]
|
6280
|
+
attr_accessor :async_operations
|
6281
|
+
alias_method :async_operations?, :async_operations
|
6282
|
+
|
6883
6283
|
# Specifies if the connector supports entity apis like 'createEntity'.
|
6884
6284
|
# Corresponds to the JSON property `entityApis`
|
6885
6285
|
# @return [Boolean]
|
@@ -6899,6 +6299,7 @@ module Google
|
|
6899
6299
|
# Update properties of this object
|
6900
6300
|
def update!(**args)
|
6901
6301
|
@action_apis = args[:action_apis] if args.key?(:action_apis)
|
6302
|
+
@async_operations = args[:async_operations] if args.key?(:async_operations)
|
6902
6303
|
@entity_apis = args[:entity_apis] if args.key?(:entity_apis)
|
6903
6304
|
@sql_query = args[:sql_query] if args.key?(:sql_query)
|
6904
6305
|
end
|