GcpProjectEnvironmentData Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. EnvironmentData - com.
azure. resourcemanager. security. models. GcpProjectEnvironmentData
- com.
- com.
public final class GcpProjectEnvironmentData
extends EnvironmentData
The GCP project connector environment data.
Constructor Summary
| Constructor | Description |
|---|---|
| GcpProjectEnvironmentData() |
Creates an instance of Gcp |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Environment |
environmentType()
Get the environment |
|
static
Gcp |
fromJson(JsonReader jsonReader)
Reads an instance of Gcp |
|
Gcp |
organizationalData()
Get the organizational |
|
Gcp |
projectDetails()
Get the project |
| Long |
scanInterval()
Get the scan |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Gcp |
withOrganizationalData(GcpOrganizationalData organizationalData)
Set the organizational |
|
Gcp |
withProjectDetails(GcpProjectDetails projectDetails)
Set the project |
|
Gcp |
withScanInterval(Long scanInterval)
Set the scan |
Methods inherited from EnvironmentData
Methods inherited from java.lang.Object
Constructor Details
GcpProjectEnvironmentData
public GcpProjectEnvironmentData()
Creates an instance of GcpProjectEnvironmentData class.
Method Details
environmentType
public EnvironmentType environmentType()
Get the environmentType property: The type of the environment data.
Overrides:
GcpProjectEnvironmentData.environmentType()Returns:
fromJson
public static GcpProjectEnvironmentData fromJson(JsonReader jsonReader)
Reads an instance of GcpProjectEnvironmentData from the JsonReader.
Parameters:
Returns:
Throws:
organizationalData
public GcpOrganizationalData organizationalData()
Get the organizationalData property: The Gcp project's organizational data.
Returns:
projectDetails
public GcpProjectDetails projectDetails()
Get the projectDetails property: The Gcp project's details.
Returns:
scanInterval
public Long scanInterval()
Get the scanInterval property: Scan interval in hours (value should be between 1-hour to 24-hours).
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
GcpProjectEnvironmentData.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
GcpProjectEnvironmentData.validate()withOrganizationalData
public GcpProjectEnvironmentData withOrganizationalData(GcpOrganizationalData organizationalData)
Set the organizationalData property: The Gcp project's organizational data.
Parameters:
Returns:
withProjectDetails
public GcpProjectEnvironmentData withProjectDetails(GcpProjectDetails projectDetails)
Set the projectDetails property: The Gcp project's details.
Parameters:
Returns:
withScanInterval
public GcpProjectEnvironmentData withScanInterval(Long scanInterval)
Set the scanInterval property: Scan interval in hours (value should be between 1-hour to 24-hours).
Parameters:
Returns: