google-apis-beyondcorp_v1alpha 0.3.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/lib/google/apis/beyondcorp_v1alpha/classes.rb +814 -5
- data/lib/google/apis/beyondcorp_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/beyondcorp_v1alpha/representations.rb +322 -0
- data/lib/google/apis/beyondcorp_v1alpha/service.rb +497 -13
- data/lib/google/apis/beyondcorp_v1alpha.rb +1 -1
- metadata +5 -5
@@ -1116,6 +1116,65 @@ module Google
|
|
1116
1116
|
end
|
1117
1117
|
end
|
1118
1118
|
|
1119
|
+
# Represents the metadata of the long-running operation.
|
1120
|
+
class GoogleCloudBeyondcorpAppconnectionsV1AppConnectionOperationMetadata
|
1121
|
+
include Google::Apis::Core::Hashable
|
1122
|
+
|
1123
|
+
# Output only. API version used to start the operation.
|
1124
|
+
# Corresponds to the JSON property `apiVersion`
|
1125
|
+
# @return [String]
|
1126
|
+
attr_accessor :api_version
|
1127
|
+
|
1128
|
+
# Output only. The time the operation was created.
|
1129
|
+
# Corresponds to the JSON property `createTime`
|
1130
|
+
# @return [String]
|
1131
|
+
attr_accessor :create_time
|
1132
|
+
|
1133
|
+
# Output only. The time the operation finished running.
|
1134
|
+
# Corresponds to the JSON property `endTime`
|
1135
|
+
# @return [String]
|
1136
|
+
attr_accessor :end_time
|
1137
|
+
|
1138
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
1139
|
+
# operation. Operations that have successfully been cancelled have Operation.
|
1140
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
1141
|
+
# CANCELLED`.
|
1142
|
+
# Corresponds to the JSON property `requestedCancellation`
|
1143
|
+
# @return [Boolean]
|
1144
|
+
attr_accessor :requested_cancellation
|
1145
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
1146
|
+
|
1147
|
+
# Output only. Human-readable status of the operation, if any.
|
1148
|
+
# Corresponds to the JSON property `statusMessage`
|
1149
|
+
# @return [String]
|
1150
|
+
attr_accessor :status_message
|
1151
|
+
|
1152
|
+
# Output only. Server-defined resource path for the target of the operation.
|
1153
|
+
# Corresponds to the JSON property `target`
|
1154
|
+
# @return [String]
|
1155
|
+
attr_accessor :target
|
1156
|
+
|
1157
|
+
# Output only. Name of the verb executed by the operation.
|
1158
|
+
# Corresponds to the JSON property `verb`
|
1159
|
+
# @return [String]
|
1160
|
+
attr_accessor :verb
|
1161
|
+
|
1162
|
+
def initialize(**args)
|
1163
|
+
update!(**args)
|
1164
|
+
end
|
1165
|
+
|
1166
|
+
# Update properties of this object
|
1167
|
+
def update!(**args)
|
1168
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
1169
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1170
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
1171
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
1172
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
1173
|
+
@target = args[:target] if args.key?(:target)
|
1174
|
+
@verb = args[:verb] if args.key?(:verb)
|
1175
|
+
end
|
1176
|
+
end
|
1177
|
+
|
1119
1178
|
# A BeyondCorp AppConnection resource represents a BeyondCorp protected
|
1120
1179
|
# AppConnection to a remote application. It creates all the necessary GCP
|
1121
1180
|
# components needed for creating a BeyondCorp protected AppConnection. Multiple
|
@@ -1232,8 +1291,8 @@ module Google
|
|
1232
1291
|
class GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway
|
1233
1292
|
include Google::Apis::Core::Hashable
|
1234
1293
|
|
1235
|
-
# Required. AppGateway name in following format: projects/`project_id`/
|
1236
|
-
#
|
1294
|
+
# Required. AppGateway name in following format: `projects/`project_id`/
|
1295
|
+
# locations/`location_id`/appgateways/`gateway_id``
|
1237
1296
|
# Corresponds to the JSON property `appGateway`
|
1238
1297
|
# @return [String]
|
1239
1298
|
attr_accessor :app_gateway
|
@@ -1244,6 +1303,11 @@ module Google
|
|
1244
1303
|
# @return [Fixnum]
|
1245
1304
|
attr_accessor :ingress_port
|
1246
1305
|
|
1306
|
+
# Output only. L7 private service connection for this resource.
|
1307
|
+
# Corresponds to the JSON property `l7psc`
|
1308
|
+
# @return [String]
|
1309
|
+
attr_accessor :l7psc
|
1310
|
+
|
1247
1311
|
# Required. The type of hosting used by the gateway.
|
1248
1312
|
# Corresponds to the JSON property `type`
|
1249
1313
|
# @return [String]
|
@@ -1262,6 +1326,7 @@ module Google
|
|
1262
1326
|
def update!(**args)
|
1263
1327
|
@app_gateway = args[:app_gateway] if args.key?(:app_gateway)
|
1264
1328
|
@ingress_port = args[:ingress_port] if args.key?(:ingress_port)
|
1329
|
+
@l7psc = args[:l7psc] if args.key?(:l7psc)
|
1265
1330
|
@type = args[:type] if args.key?(:type)
|
1266
1331
|
@uri = args[:uri] if args.key?(:uri)
|
1267
1332
|
end
|
@@ -1402,9 +1467,9 @@ module Google
|
|
1402
1467
|
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection]
|
1403
1468
|
attr_accessor :app_connection
|
1404
1469
|
|
1405
|
-
# If type=GCP_REGIONAL_MIG, contains most recent VM instances, like
|
1470
|
+
# If type=GCP_REGIONAL_MIG, contains most recent VM instances, like `https://www.
|
1406
1471
|
# googleapis.com/compute/v1/projects/`project_id`/zones/`zone_id`/instances/`
|
1407
|
-
# instance_id
|
1472
|
+
# instance_id``.
|
1408
1473
|
# Corresponds to the JSON property `recentMigVms`
|
1409
1474
|
# @return [Array<String>]
|
1410
1475
|
attr_accessor :recent_mig_vms
|
@@ -1420,6 +1485,115 @@ module Google
|
|
1420
1485
|
end
|
1421
1486
|
end
|
1422
1487
|
|
1488
|
+
# Represents the metadata of the long-running operation.
|
1489
|
+
class GoogleCloudBeyondcorpAppconnectorsV1AppConnectorOperationMetadata
|
1490
|
+
include Google::Apis::Core::Hashable
|
1491
|
+
|
1492
|
+
# Output only. API version used to start the operation.
|
1493
|
+
# Corresponds to the JSON property `apiVersion`
|
1494
|
+
# @return [String]
|
1495
|
+
attr_accessor :api_version
|
1496
|
+
|
1497
|
+
# Output only. The time the operation was created.
|
1498
|
+
# Corresponds to the JSON property `createTime`
|
1499
|
+
# @return [String]
|
1500
|
+
attr_accessor :create_time
|
1501
|
+
|
1502
|
+
# Output only. The time the operation finished running.
|
1503
|
+
# Corresponds to the JSON property `endTime`
|
1504
|
+
# @return [String]
|
1505
|
+
attr_accessor :end_time
|
1506
|
+
|
1507
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
1508
|
+
# operation. Operations that have successfully been cancelled have Operation.
|
1509
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
1510
|
+
# CANCELLED`.
|
1511
|
+
# Corresponds to the JSON property `requestedCancellation`
|
1512
|
+
# @return [Boolean]
|
1513
|
+
attr_accessor :requested_cancellation
|
1514
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
1515
|
+
|
1516
|
+
# Output only. Human-readable status of the operation, if any.
|
1517
|
+
# Corresponds to the JSON property `statusMessage`
|
1518
|
+
# @return [String]
|
1519
|
+
attr_accessor :status_message
|
1520
|
+
|
1521
|
+
# Output only. Server-defined resource path for the target of the operation.
|
1522
|
+
# Corresponds to the JSON property `target`
|
1523
|
+
# @return [String]
|
1524
|
+
attr_accessor :target
|
1525
|
+
|
1526
|
+
# Output only. Name of the verb executed by the operation.
|
1527
|
+
# Corresponds to the JSON property `verb`
|
1528
|
+
# @return [String]
|
1529
|
+
attr_accessor :verb
|
1530
|
+
|
1531
|
+
def initialize(**args)
|
1532
|
+
update!(**args)
|
1533
|
+
end
|
1534
|
+
|
1535
|
+
# Update properties of this object
|
1536
|
+
def update!(**args)
|
1537
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
1538
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1539
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
1540
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
1541
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
1542
|
+
@target = args[:target] if args.key?(:target)
|
1543
|
+
@verb = args[:verb] if args.key?(:verb)
|
1544
|
+
end
|
1545
|
+
end
|
1546
|
+
|
1547
|
+
# ContainerHealthDetails reflects the health details of a container.
|
1548
|
+
class GoogleCloudBeyondcorpAppconnectorsV1ContainerHealthDetails
|
1549
|
+
include Google::Apis::Core::Hashable
|
1550
|
+
|
1551
|
+
# The version of the current config.
|
1552
|
+
# Corresponds to the JSON property `currentConfigVersion`
|
1553
|
+
# @return [String]
|
1554
|
+
attr_accessor :current_config_version
|
1555
|
+
|
1556
|
+
# The latest error message.
|
1557
|
+
# Corresponds to the JSON property `errorMsg`
|
1558
|
+
# @return [String]
|
1559
|
+
attr_accessor :error_msg
|
1560
|
+
|
1561
|
+
# The version of the expected config.
|
1562
|
+
# Corresponds to the JSON property `expectedConfigVersion`
|
1563
|
+
# @return [String]
|
1564
|
+
attr_accessor :expected_config_version
|
1565
|
+
|
1566
|
+
# The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.
|
1567
|
+
# Corresponds to the JSON property `extendedStatus`
|
1568
|
+
# @return [Hash<String,String>]
|
1569
|
+
attr_accessor :extended_status
|
1570
|
+
|
1571
|
+
def initialize(**args)
|
1572
|
+
update!(**args)
|
1573
|
+
end
|
1574
|
+
|
1575
|
+
# Update properties of this object
|
1576
|
+
def update!(**args)
|
1577
|
+
@current_config_version = args[:current_config_version] if args.key?(:current_config_version)
|
1578
|
+
@error_msg = args[:error_msg] if args.key?(:error_msg)
|
1579
|
+
@expected_config_version = args[:expected_config_version] if args.key?(:expected_config_version)
|
1580
|
+
@extended_status = args[:extended_status] if args.key?(:extended_status)
|
1581
|
+
end
|
1582
|
+
end
|
1583
|
+
|
1584
|
+
# RemoteAgentDetails reflects the details of a remote agent.
|
1585
|
+
class GoogleCloudBeyondcorpAppconnectorsV1RemoteAgentDetails
|
1586
|
+
include Google::Apis::Core::Hashable
|
1587
|
+
|
1588
|
+
def initialize(**args)
|
1589
|
+
update!(**args)
|
1590
|
+
end
|
1591
|
+
|
1592
|
+
# Update properties of this object
|
1593
|
+
def update!(**args)
|
1594
|
+
end
|
1595
|
+
end
|
1596
|
+
|
1423
1597
|
# A BeyondCorp connector resource that represents an application facing
|
1424
1598
|
# component deployed proximal to and with direct access to the application
|
1425
1599
|
# instances. It is used to establish connectivity between the remote enterprise
|
@@ -1631,17 +1805,55 @@ module Google
|
|
1631
1805
|
end
|
1632
1806
|
end
|
1633
1807
|
|
1808
|
+
# ContainerHealthDetails reflects the health details of a container.
|
1809
|
+
class GoogleCloudBeyondcorpAppconnectorsV1alphaContainerHealthDetails
|
1810
|
+
include Google::Apis::Core::Hashable
|
1811
|
+
|
1812
|
+
# The version of the current config.
|
1813
|
+
# Corresponds to the JSON property `currentConfigVersion`
|
1814
|
+
# @return [String]
|
1815
|
+
attr_accessor :current_config_version
|
1816
|
+
|
1817
|
+
# The latest error message.
|
1818
|
+
# Corresponds to the JSON property `errorMsg`
|
1819
|
+
# @return [String]
|
1820
|
+
attr_accessor :error_msg
|
1821
|
+
|
1822
|
+
# The version of the expected config.
|
1823
|
+
# Corresponds to the JSON property `expectedConfigVersion`
|
1824
|
+
# @return [String]
|
1825
|
+
attr_accessor :expected_config_version
|
1826
|
+
|
1827
|
+
# The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.
|
1828
|
+
# Corresponds to the JSON property `extendedStatus`
|
1829
|
+
# @return [Hash<String,String>]
|
1830
|
+
attr_accessor :extended_status
|
1831
|
+
|
1832
|
+
def initialize(**args)
|
1833
|
+
update!(**args)
|
1834
|
+
end
|
1835
|
+
|
1836
|
+
# Update properties of this object
|
1837
|
+
def update!(**args)
|
1838
|
+
@current_config_version = args[:current_config_version] if args.key?(:current_config_version)
|
1839
|
+
@error_msg = args[:error_msg] if args.key?(:error_msg)
|
1840
|
+
@expected_config_version = args[:expected_config_version] if args.key?(:expected_config_version)
|
1841
|
+
@extended_status = args[:extended_status] if args.key?(:extended_status)
|
1842
|
+
end
|
1843
|
+
end
|
1844
|
+
|
1634
1845
|
# ImageConfig defines the control plane images to run.
|
1635
1846
|
class GoogleCloudBeyondcorpAppconnectorsV1alphaImageConfig
|
1636
1847
|
include Google::Apis::Core::Hashable
|
1637
1848
|
|
1638
1849
|
# The stable image that the remote agent will fallback to if the target image
|
1639
|
-
# fails.
|
1850
|
+
# fails. Format would be a gcr image path, e.g.: gcr.io/PROJECT-ID/my-image:tag1
|
1640
1851
|
# Corresponds to the JSON property `stableImage`
|
1641
1852
|
# @return [String]
|
1642
1853
|
attr_accessor :stable_image
|
1643
1854
|
|
1644
1855
|
# The initial image the remote agent will attempt to run for the control plane.
|
1856
|
+
# Format would be a gcr image path, e.g.: gcr.io/PROJECT-ID/my-image:tag1
|
1645
1857
|
# Corresponds to the JSON property `targetImage`
|
1646
1858
|
# @return [String]
|
1647
1859
|
attr_accessor :target_image
|
@@ -1727,6 +1939,19 @@ module Google
|
|
1727
1939
|
end
|
1728
1940
|
end
|
1729
1941
|
|
1942
|
+
# RemoteAgentDetails reflects the details of a remote agent.
|
1943
|
+
class GoogleCloudBeyondcorpAppconnectorsV1alphaRemoteAgentDetails
|
1944
|
+
include Google::Apis::Core::Hashable
|
1945
|
+
|
1946
|
+
def initialize(**args)
|
1947
|
+
update!(**args)
|
1948
|
+
end
|
1949
|
+
|
1950
|
+
# Update properties of this object
|
1951
|
+
def update!(**args)
|
1952
|
+
end
|
1953
|
+
end
|
1954
|
+
|
1730
1955
|
# Request report the connector status.
|
1731
1956
|
class GoogleCloudBeyondcorpAppconnectorsV1alphaReportStatusRequest
|
1732
1957
|
include Google::Apis::Core::Hashable
|
@@ -1837,6 +2062,590 @@ module Google
|
|
1837
2062
|
end
|
1838
2063
|
end
|
1839
2064
|
|
2065
|
+
# Represents the metadata of the long-running operation.
|
2066
|
+
class GoogleCloudBeyondcorpAppgatewaysV1AppGatewayOperationMetadata
|
2067
|
+
include Google::Apis::Core::Hashable
|
2068
|
+
|
2069
|
+
# Output only. API version used to start the operation.
|
2070
|
+
# Corresponds to the JSON property `apiVersion`
|
2071
|
+
# @return [String]
|
2072
|
+
attr_accessor :api_version
|
2073
|
+
|
2074
|
+
# Output only. The time the operation was created.
|
2075
|
+
# Corresponds to the JSON property `createTime`
|
2076
|
+
# @return [String]
|
2077
|
+
attr_accessor :create_time
|
2078
|
+
|
2079
|
+
# Output only. The time the operation finished running.
|
2080
|
+
# Corresponds to the JSON property `endTime`
|
2081
|
+
# @return [String]
|
2082
|
+
attr_accessor :end_time
|
2083
|
+
|
2084
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
2085
|
+
# operation. Operations that have successfully been cancelled have Operation.
|
2086
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
2087
|
+
# CANCELLED`.
|
2088
|
+
# Corresponds to the JSON property `requestedCancellation`
|
2089
|
+
# @return [Boolean]
|
2090
|
+
attr_accessor :requested_cancellation
|
2091
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
2092
|
+
|
2093
|
+
# Output only. Human-readable status of the operation, if any.
|
2094
|
+
# Corresponds to the JSON property `statusMessage`
|
2095
|
+
# @return [String]
|
2096
|
+
attr_accessor :status_message
|
2097
|
+
|
2098
|
+
# Output only. Server-defined resource path for the target of the operation.
|
2099
|
+
# Corresponds to the JSON property `target`
|
2100
|
+
# @return [String]
|
2101
|
+
attr_accessor :target
|
2102
|
+
|
2103
|
+
# Output only. Name of the verb executed by the operation.
|
2104
|
+
# Corresponds to the JSON property `verb`
|
2105
|
+
# @return [String]
|
2106
|
+
attr_accessor :verb
|
2107
|
+
|
2108
|
+
def initialize(**args)
|
2109
|
+
update!(**args)
|
2110
|
+
end
|
2111
|
+
|
2112
|
+
# Update properties of this object
|
2113
|
+
def update!(**args)
|
2114
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
2115
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2116
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
2117
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
2118
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
2119
|
+
@target = args[:target] if args.key?(:target)
|
2120
|
+
@verb = args[:verb] if args.key?(:verb)
|
2121
|
+
end
|
2122
|
+
end
|
2123
|
+
|
2124
|
+
# Represents the metadata of the long-running operation.
|
2125
|
+
class GoogleCloudBeyondcorpApplicationsV1alphaApplicationOperationMetadata
|
2126
|
+
include Google::Apis::Core::Hashable
|
2127
|
+
|
2128
|
+
# Output only. The time the operation was created.
|
2129
|
+
# Corresponds to the JSON property `createTime`
|
2130
|
+
# @return [String]
|
2131
|
+
attr_accessor :create_time
|
2132
|
+
|
2133
|
+
# Output only. The time the operation finished running.
|
2134
|
+
# Corresponds to the JSON property `endTime`
|
2135
|
+
# @return [String]
|
2136
|
+
attr_accessor :end_time
|
2137
|
+
|
2138
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
2139
|
+
# operation. Operations that have been cancelled successfully have Operation.
|
2140
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
2141
|
+
# CANCELLED`.
|
2142
|
+
# Corresponds to the JSON property `requestedCancellation`
|
2143
|
+
# @return [Boolean]
|
2144
|
+
attr_accessor :requested_cancellation
|
2145
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
2146
|
+
|
2147
|
+
# Output only. Human-readable status of the operation, if any.
|
2148
|
+
# Corresponds to the JSON property `statusMessage`
|
2149
|
+
# @return [String]
|
2150
|
+
attr_accessor :status_message
|
2151
|
+
|
2152
|
+
# Output only. Server-defined resource path for the target of the operation.
|
2153
|
+
# Corresponds to the JSON property `target`
|
2154
|
+
# @return [String]
|
2155
|
+
attr_accessor :target
|
2156
|
+
|
2157
|
+
# Output only. Name of the verb executed by the operation.
|
2158
|
+
# Corresponds to the JSON property `verb`
|
2159
|
+
# @return [String]
|
2160
|
+
attr_accessor :verb
|
2161
|
+
|
2162
|
+
def initialize(**args)
|
2163
|
+
update!(**args)
|
2164
|
+
end
|
2165
|
+
|
2166
|
+
# Update properties of this object
|
2167
|
+
def update!(**args)
|
2168
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2169
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
2170
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
2171
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
2172
|
+
@target = args[:target] if args.key?(:target)
|
2173
|
+
@verb = args[:verb] if args.key?(:verb)
|
2174
|
+
end
|
2175
|
+
end
|
2176
|
+
|
2177
|
+
# Represents the metadata of the long-running operation.
|
2178
|
+
class GoogleCloudBeyondcorpClientconnectorservicesV1ClientConnectorServiceOperationMetadata
|
2179
|
+
include Google::Apis::Core::Hashable
|
2180
|
+
|
2181
|
+
# Output only. API version used to start the operation.
|
2182
|
+
# Corresponds to the JSON property `apiVersion`
|
2183
|
+
# @return [String]
|
2184
|
+
attr_accessor :api_version
|
2185
|
+
|
2186
|
+
# Output only. The time the operation was created.
|
2187
|
+
# Corresponds to the JSON property `createTime`
|
2188
|
+
# @return [String]
|
2189
|
+
attr_accessor :create_time
|
2190
|
+
|
2191
|
+
# Output only. The time the operation finished running.
|
2192
|
+
# Corresponds to the JSON property `endTime`
|
2193
|
+
# @return [String]
|
2194
|
+
attr_accessor :end_time
|
2195
|
+
|
2196
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
2197
|
+
# operation. Operations that have successfully been cancelled have Operation.
|
2198
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
2199
|
+
# CANCELLED`.
|
2200
|
+
# Corresponds to the JSON property `requestedCancellation`
|
2201
|
+
# @return [Boolean]
|
2202
|
+
attr_accessor :requested_cancellation
|
2203
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
2204
|
+
|
2205
|
+
# Output only. Human-readable status of the operation, if any.
|
2206
|
+
# Corresponds to the JSON property `statusMessage`
|
2207
|
+
# @return [String]
|
2208
|
+
attr_accessor :status_message
|
2209
|
+
|
2210
|
+
# Output only. Server-defined resource path for the target of the operation.
|
2211
|
+
# Corresponds to the JSON property `target`
|
2212
|
+
# @return [String]
|
2213
|
+
attr_accessor :target
|
2214
|
+
|
2215
|
+
# Output only. Name of the verb executed by the operation.
|
2216
|
+
# Corresponds to the JSON property `verb`
|
2217
|
+
# @return [String]
|
2218
|
+
attr_accessor :verb
|
2219
|
+
|
2220
|
+
def initialize(**args)
|
2221
|
+
update!(**args)
|
2222
|
+
end
|
2223
|
+
|
2224
|
+
# Update properties of this object
|
2225
|
+
def update!(**args)
|
2226
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
2227
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2228
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
2229
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
2230
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
2231
|
+
@target = args[:target] if args.key?(:target)
|
2232
|
+
@verb = args[:verb] if args.key?(:verb)
|
2233
|
+
end
|
2234
|
+
end
|
2235
|
+
|
2236
|
+
# Represents the metadata of the long-running operation.
|
2237
|
+
class GoogleCloudBeyondcorpClientgatewaysV1ClientGatewayOperationMetadata
|
2238
|
+
include Google::Apis::Core::Hashable
|
2239
|
+
|
2240
|
+
# Output only. API version used to start the operation.
|
2241
|
+
# Corresponds to the JSON property `apiVersion`
|
2242
|
+
# @return [String]
|
2243
|
+
attr_accessor :api_version
|
2244
|
+
|
2245
|
+
# Output only. The time the operation was created.
|
2246
|
+
# Corresponds to the JSON property `createTime`
|
2247
|
+
# @return [String]
|
2248
|
+
attr_accessor :create_time
|
2249
|
+
|
2250
|
+
# Output only. The time the operation finished running.
|
2251
|
+
# Corresponds to the JSON property `endTime`
|
2252
|
+
# @return [String]
|
2253
|
+
attr_accessor :end_time
|
2254
|
+
|
2255
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
2256
|
+
# operation. Operations that have been cancelled successfully have Operation.
|
2257
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
2258
|
+
# CANCELLED`.
|
2259
|
+
# Corresponds to the JSON property `requestedCancellation`
|
2260
|
+
# @return [Boolean]
|
2261
|
+
attr_accessor :requested_cancellation
|
2262
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
2263
|
+
|
2264
|
+
# Output only. Human-readable status of the operation, if any.
|
2265
|
+
# Corresponds to the JSON property `statusMessage`
|
2266
|
+
# @return [String]
|
2267
|
+
attr_accessor :status_message
|
2268
|
+
|
2269
|
+
# Output only. Server-defined resource path for the target of the operation.
|
2270
|
+
# Corresponds to the JSON property `target`
|
2271
|
+
# @return [String]
|
2272
|
+
attr_accessor :target
|
2273
|
+
|
2274
|
+
# Output only. Name of the verb executed by the operation.
|
2275
|
+
# Corresponds to the JSON property `verb`
|
2276
|
+
# @return [String]
|
2277
|
+
attr_accessor :verb
|
2278
|
+
|
2279
|
+
def initialize(**args)
|
2280
|
+
update!(**args)
|
2281
|
+
end
|
2282
|
+
|
2283
|
+
# Update properties of this object
|
2284
|
+
def update!(**args)
|
2285
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
2286
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2287
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
2288
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
2289
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
2290
|
+
@target = args[:target] if args.key?(:target)
|
2291
|
+
@verb = args[:verb] if args.key?(:verb)
|
2292
|
+
end
|
2293
|
+
end
|
2294
|
+
|
2295
|
+
# The configuration that was applied to generate the result.
|
2296
|
+
class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaAppliedConfig
|
2297
|
+
include Google::Apis::Core::Hashable
|
2298
|
+
|
2299
|
+
# Output only. Aggregation type applied.
|
2300
|
+
# Corresponds to the JSON property `aggregation`
|
2301
|
+
# @return [String]
|
2302
|
+
attr_accessor :aggregation
|
2303
|
+
|
2304
|
+
# Customised grouping option that allows setting the group_by fields and also
|
2305
|
+
# the filters togather for a configured insight request.
|
2306
|
+
# Corresponds to the JSON property `customGrouping`
|
2307
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaCustomGrouping]
|
2308
|
+
attr_accessor :custom_grouping
|
2309
|
+
|
2310
|
+
# Output only. Ending time for the duration for which insight was pulled.
|
2311
|
+
# Corresponds to the JSON property `endTime`
|
2312
|
+
# @return [String]
|
2313
|
+
attr_accessor :end_time
|
2314
|
+
|
2315
|
+
# Output only. Filters applied.
|
2316
|
+
# Corresponds to the JSON property `fieldFilter`
|
2317
|
+
# @return [String]
|
2318
|
+
attr_accessor :field_filter
|
2319
|
+
|
2320
|
+
# Output only. Group id of the grouping applied.
|
2321
|
+
# Corresponds to the JSON property `group`
|
2322
|
+
# @return [String]
|
2323
|
+
attr_accessor :group
|
2324
|
+
|
2325
|
+
# Output only. Starting time for the duration for which insight was pulled.
|
2326
|
+
# Corresponds to the JSON property `startTime`
|
2327
|
+
# @return [String]
|
2328
|
+
attr_accessor :start_time
|
2329
|
+
|
2330
|
+
def initialize(**args)
|
2331
|
+
update!(**args)
|
2332
|
+
end
|
2333
|
+
|
2334
|
+
# Update properties of this object
|
2335
|
+
def update!(**args)
|
2336
|
+
@aggregation = args[:aggregation] if args.key?(:aggregation)
|
2337
|
+
@custom_grouping = args[:custom_grouping] if args.key?(:custom_grouping)
|
2338
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
2339
|
+
@field_filter = args[:field_filter] if args.key?(:field_filter)
|
2340
|
+
@group = args[:group] if args.key?(:group)
|
2341
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
2342
|
+
end
|
2343
|
+
end
|
2344
|
+
|
2345
|
+
# The response for the configured insight.
|
2346
|
+
class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse
|
2347
|
+
include Google::Apis::Core::Hashable
|
2348
|
+
|
2349
|
+
# The configuration that was applied to generate the result.
|
2350
|
+
# Corresponds to the JSON property `appliedConfig`
|
2351
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaAppliedConfig]
|
2352
|
+
attr_accessor :applied_config
|
2353
|
+
|
2354
|
+
# Output only. Next page token to be fetched. Set to empty or NULL if there are
|
2355
|
+
# no more pages available.
|
2356
|
+
# Corresponds to the JSON property `nextPageToken`
|
2357
|
+
# @return [String]
|
2358
|
+
attr_accessor :next_page_token
|
2359
|
+
|
2360
|
+
# Output only. Result rows returned containing the required value(s) for
|
2361
|
+
# configured insight.
|
2362
|
+
# Corresponds to the JSON property `rows`
|
2363
|
+
# @return [Array<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRow>]
|
2364
|
+
attr_accessor :rows
|
2365
|
+
|
2366
|
+
def initialize(**args)
|
2367
|
+
update!(**args)
|
2368
|
+
end
|
2369
|
+
|
2370
|
+
# Update properties of this object
|
2371
|
+
def update!(**args)
|
2372
|
+
@applied_config = args[:applied_config] if args.key?(:applied_config)
|
2373
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2374
|
+
@rows = args[:rows] if args.key?(:rows)
|
2375
|
+
end
|
2376
|
+
end
|
2377
|
+
|
2378
|
+
# Customised grouping option that allows setting the group_by fields and also
|
2379
|
+
# the filters togather for a configured insight request.
|
2380
|
+
class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaCustomGrouping
|
2381
|
+
include Google::Apis::Core::Hashable
|
2382
|
+
|
2383
|
+
# Optional. Filterable parameters to be added to the grouping clause. Available
|
2384
|
+
# fields could be fetched by calling insight list and get APIs in `BASIC` view. `
|
2385
|
+
# =` is the only comparison operator supported. `AND` is the only logical
|
2386
|
+
# operator supported. Usage: field_filter="fieldName1=fieldVal1 AND fieldName2=
|
2387
|
+
# fieldVal2". NOTE: Only `AND` conditions are allowed. NOTE: Use the `
|
2388
|
+
# filter_alias` from `Insight.Metadata.Field` message for the filtering the
|
2389
|
+
# corresponding fields in this filter field. (These expressions are based on the
|
2390
|
+
# filter language described at https://google.aip.dev/160).
|
2391
|
+
# Corresponds to the JSON property `fieldFilter`
|
2392
|
+
# @return [String]
|
2393
|
+
attr_accessor :field_filter
|
2394
|
+
|
2395
|
+
# Required. Fields to be used for grouping. NOTE: Use the `filter_alias` from `
|
2396
|
+
# Insight.Metadata.Field` message for declaring the fields to be grouped-by here.
|
2397
|
+
# Corresponds to the JSON property `groupFields`
|
2398
|
+
# @return [Array<String>]
|
2399
|
+
attr_accessor :group_fields
|
2400
|
+
|
2401
|
+
def initialize(**args)
|
2402
|
+
update!(**args)
|
2403
|
+
end
|
2404
|
+
|
2405
|
+
# Update properties of this object
|
2406
|
+
def update!(**args)
|
2407
|
+
@field_filter = args[:field_filter] if args.key?(:field_filter)
|
2408
|
+
@group_fields = args[:group_fields] if args.key?(:group_fields)
|
2409
|
+
end
|
2410
|
+
end
|
2411
|
+
|
2412
|
+
# The Insight object with configuration that was returned and actual list of
|
2413
|
+
# records.
|
2414
|
+
class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight
|
2415
|
+
include Google::Apis::Core::Hashable
|
2416
|
+
|
2417
|
+
# The configuration that was applied to generate the result.
|
2418
|
+
# Corresponds to the JSON property `appliedConfig`
|
2419
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaAppliedConfig]
|
2420
|
+
attr_accessor :applied_config
|
2421
|
+
|
2422
|
+
# Insight filters, groupings and aggregations that can be applied for the
|
2423
|
+
# insight. Examples: aggregations, groups, field filters.
|
2424
|
+
# Corresponds to the JSON property `metadata`
|
2425
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata]
|
2426
|
+
attr_accessor :metadata
|
2427
|
+
|
2428
|
+
# Output only. The insight resource name. e.g. `organizations/`organization_id`/
|
2429
|
+
# locations/`location_id`/insights/`insight_id`` OR `projects/`project_id`/
|
2430
|
+
# locations/`location_id`/insights/`insight_id``.
|
2431
|
+
# Corresponds to the JSON property `name`
|
2432
|
+
# @return [String]
|
2433
|
+
attr_accessor :name
|
2434
|
+
|
2435
|
+
# Output only. Result rows returned containing the required value(s).
|
2436
|
+
# Corresponds to the JSON property `rows`
|
2437
|
+
# @return [Array<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRow>]
|
2438
|
+
attr_accessor :rows
|
2439
|
+
|
2440
|
+
def initialize(**args)
|
2441
|
+
update!(**args)
|
2442
|
+
end
|
2443
|
+
|
2444
|
+
# Update properties of this object
|
2445
|
+
def update!(**args)
|
2446
|
+
@applied_config = args[:applied_config] if args.key?(:applied_config)
|
2447
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
2448
|
+
@name = args[:name] if args.key?(:name)
|
2449
|
+
@rows = args[:rows] if args.key?(:rows)
|
2450
|
+
end
|
2451
|
+
end
|
2452
|
+
|
2453
|
+
# Insight filters, groupings and aggregations that can be applied for the
|
2454
|
+
# insight. Examples: aggregations, groups, field filters.
|
2455
|
+
class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata
|
2456
|
+
include Google::Apis::Core::Hashable
|
2457
|
+
|
2458
|
+
# Output only. List of aggregation types available for insight.
|
2459
|
+
# Corresponds to the JSON property `aggregations`
|
2460
|
+
# @return [Array<String>]
|
2461
|
+
attr_accessor :aggregations
|
2462
|
+
|
2463
|
+
# Output only. Category of the insight.
|
2464
|
+
# Corresponds to the JSON property `category`
|
2465
|
+
# @return [String]
|
2466
|
+
attr_accessor :category
|
2467
|
+
|
2468
|
+
# Output only. Common name of the insight.
|
2469
|
+
# Corresponds to the JSON property `displayName`
|
2470
|
+
# @return [String]
|
2471
|
+
attr_accessor :display_name
|
2472
|
+
|
2473
|
+
# Output only. List of fields available for insight.
|
2474
|
+
# Corresponds to the JSON property `fields`
|
2475
|
+
# @return [Array<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadataField>]
|
2476
|
+
attr_accessor :fields
|
2477
|
+
|
2478
|
+
# Output only. List of groupings available for insight.
|
2479
|
+
# Corresponds to the JSON property `groups`
|
2480
|
+
# @return [Array<String>]
|
2481
|
+
attr_accessor :groups
|
2482
|
+
|
2483
|
+
# Output only. Sub-Category of the insight.
|
2484
|
+
# Corresponds to the JSON property `subCategory`
|
2485
|
+
# @return [String]
|
2486
|
+
attr_accessor :sub_category
|
2487
|
+
|
2488
|
+
# Output only. Type of the insight. It is metadata describing whether the
|
2489
|
+
# insight is a metric (e.g. count) or a report (e.g. list, status).
|
2490
|
+
# Corresponds to the JSON property `type`
|
2491
|
+
# @return [String]
|
2492
|
+
attr_accessor :type
|
2493
|
+
|
2494
|
+
def initialize(**args)
|
2495
|
+
update!(**args)
|
2496
|
+
end
|
2497
|
+
|
2498
|
+
# Update properties of this object
|
2499
|
+
def update!(**args)
|
2500
|
+
@aggregations = args[:aggregations] if args.key?(:aggregations)
|
2501
|
+
@category = args[:category] if args.key?(:category)
|
2502
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2503
|
+
@fields = args[:fields] if args.key?(:fields)
|
2504
|
+
@groups = args[:groups] if args.key?(:groups)
|
2505
|
+
@sub_category = args[:sub_category] if args.key?(:sub_category)
|
2506
|
+
@type = args[:type] if args.key?(:type)
|
2507
|
+
end
|
2508
|
+
end
|
2509
|
+
|
2510
|
+
# Field metadata. Commonly understandable name and description for the field.
|
2511
|
+
# Multiple such fields constitute the Insight.
|
2512
|
+
class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadataField
|
2513
|
+
include Google::Apis::Core::Hashable
|
2514
|
+
|
2515
|
+
# Output only. Description of the field.
|
2516
|
+
# Corresponds to the JSON property `description`
|
2517
|
+
# @return [String]
|
2518
|
+
attr_accessor :description
|
2519
|
+
|
2520
|
+
# Output only. Name of the field.
|
2521
|
+
# Corresponds to the JSON property `displayName`
|
2522
|
+
# @return [String]
|
2523
|
+
attr_accessor :display_name
|
2524
|
+
|
2525
|
+
# Output only. Field name to be used in filter while requesting configured
|
2526
|
+
# insight filtered on this field.
|
2527
|
+
# Corresponds to the JSON property `filterAlias`
|
2528
|
+
# @return [String]
|
2529
|
+
attr_accessor :filter_alias
|
2530
|
+
|
2531
|
+
# Output only. Indicates whether the field can be used for filtering.
|
2532
|
+
# Corresponds to the JSON property `filterable`
|
2533
|
+
# @return [Boolean]
|
2534
|
+
attr_accessor :filterable
|
2535
|
+
alias_method :filterable?, :filterable
|
2536
|
+
|
2537
|
+
# Output only. Indicates whether the field can be used for grouping in custom
|
2538
|
+
# grouping request.
|
2539
|
+
# Corresponds to the JSON property `groupable`
|
2540
|
+
# @return [Boolean]
|
2541
|
+
attr_accessor :groupable
|
2542
|
+
alias_method :groupable?, :groupable
|
2543
|
+
|
2544
|
+
# Output only. Field id for which this is the metadata.
|
2545
|
+
# Corresponds to the JSON property `id`
|
2546
|
+
# @return [String]
|
2547
|
+
attr_accessor :id
|
2548
|
+
|
2549
|
+
def initialize(**args)
|
2550
|
+
update!(**args)
|
2551
|
+
end
|
2552
|
+
|
2553
|
+
# Update properties of this object
|
2554
|
+
def update!(**args)
|
2555
|
+
@description = args[:description] if args.key?(:description)
|
2556
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2557
|
+
@filter_alias = args[:filter_alias] if args.key?(:filter_alias)
|
2558
|
+
@filterable = args[:filterable] if args.key?(:filterable)
|
2559
|
+
@groupable = args[:groupable] if args.key?(:groupable)
|
2560
|
+
@id = args[:id] if args.key?(:id)
|
2561
|
+
end
|
2562
|
+
end
|
2563
|
+
|
2564
|
+
# The response for the list of insights.
|
2565
|
+
class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse
|
2566
|
+
include Google::Apis::Core::Hashable
|
2567
|
+
|
2568
|
+
# Output only. List of all insights.
|
2569
|
+
# Corresponds to the JSON property `insights`
|
2570
|
+
# @return [Array<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight>]
|
2571
|
+
attr_accessor :insights
|
2572
|
+
|
2573
|
+
# Output only. Next page token to be fetched. Set to empty or NULL if there are
|
2574
|
+
# no more pages available.
|
2575
|
+
# Corresponds to the JSON property `nextPageToken`
|
2576
|
+
# @return [String]
|
2577
|
+
attr_accessor :next_page_token
|
2578
|
+
|
2579
|
+
def initialize(**args)
|
2580
|
+
update!(**args)
|
2581
|
+
end
|
2582
|
+
|
2583
|
+
# Update properties of this object
|
2584
|
+
def update!(**args)
|
2585
|
+
@insights = args[:insights] if args.key?(:insights)
|
2586
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2587
|
+
end
|
2588
|
+
end
|
2589
|
+
|
2590
|
+
# Row of the fetch response consisting of a set of entries.
|
2591
|
+
class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRow
|
2592
|
+
include Google::Apis::Core::Hashable
|
2593
|
+
|
2594
|
+
# Output only. Columns/entries/key-vals in the result.
|
2595
|
+
# Corresponds to the JSON property `fieldValues`
|
2596
|
+
# @return [Array<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRowFieldVal>]
|
2597
|
+
attr_accessor :field_values
|
2598
|
+
|
2599
|
+
def initialize(**args)
|
2600
|
+
update!(**args)
|
2601
|
+
end
|
2602
|
+
|
2603
|
+
# Update properties of this object
|
2604
|
+
def update!(**args)
|
2605
|
+
@field_values = args[:field_values] if args.key?(:field_values)
|
2606
|
+
end
|
2607
|
+
end
|
2608
|
+
|
2609
|
+
# Column or key value pair from the request as part of key to use in query or a
|
2610
|
+
# single pair of the fetch response.
|
2611
|
+
class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRowFieldVal
|
2612
|
+
include Google::Apis::Core::Hashable
|
2613
|
+
|
2614
|
+
# Output only. Name of the field.
|
2615
|
+
# Corresponds to the JSON property `displayName`
|
2616
|
+
# @return [String]
|
2617
|
+
attr_accessor :display_name
|
2618
|
+
|
2619
|
+
# Output only. Field name to be used in filter while requesting configured
|
2620
|
+
# insight filtered on this field.
|
2621
|
+
# Corresponds to the JSON property `filterAlias`
|
2622
|
+
# @return [String]
|
2623
|
+
attr_accessor :filter_alias
|
2624
|
+
|
2625
|
+
# Output only. Field id.
|
2626
|
+
# Corresponds to the JSON property `id`
|
2627
|
+
# @return [String]
|
2628
|
+
attr_accessor :id
|
2629
|
+
|
2630
|
+
# Output only. Value of the field in string format. Acceptable values are
|
2631
|
+
# strings or numbers.
|
2632
|
+
# Corresponds to the JSON property `value`
|
2633
|
+
# @return [String]
|
2634
|
+
attr_accessor :value
|
2635
|
+
|
2636
|
+
def initialize(**args)
|
2637
|
+
update!(**args)
|
2638
|
+
end
|
2639
|
+
|
2640
|
+
# Update properties of this object
|
2641
|
+
def update!(**args)
|
2642
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2643
|
+
@filter_alias = args[:filter_alias] if args.key?(:filter_alias)
|
2644
|
+
@id = args[:id] if args.key?(:id)
|
2645
|
+
@value = args[:value] if args.key?(:value)
|
2646
|
+
end
|
2647
|
+
end
|
2648
|
+
|
1840
2649
|
# The response message for Locations.ListLocations.
|
1841
2650
|
class GoogleCloudLocationListLocationsResponse
|
1842
2651
|
include Google::Apis::Core::Hashable
|