Delen via


GcpProjectEnvironment Class

Definition

The GCP project connector environment data

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Security.Models.GcpProjectEnvironmentTypeConverter))]
public class GcpProjectEnvironment : Microsoft.Azure.PowerShell.Cmdlets.Security.Models.IGcpProjectEnvironment, Microsoft.Azure.PowerShell.Cmdlets.Security.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Security.Models.GcpProjectEnvironmentTypeConverter))>]
type GcpProjectEnvironment = class
    interface IGcpProjectEnvironment
    interface IJsonSerializable
    interface ISecurityConnectorEnvironment
    interface IValidates
Public Class GcpProjectEnvironment
Implements IGcpProjectEnvironment, IValidates
Inheritance
GcpProjectEnvironment
Attributes
Implements

Constructors

GcpProjectEnvironment()

Creates an new GcpProjectEnvironment instance.

Properties

EnvironmentType

The type of the environment data.

OrganizationalData

The Gcp project's organizational data

ProjectDetailProjectId

The GCP Project id

ProjectDetailProjectName

GCP project name

ProjectDetailProjectNumber

The unique GCP Project number

ProjectDetailWorkloadIdentityPoolId

The GCP workload identity federation pool id

ScanInterval

Scan interval in hours (value should be between 1-hour to 24-hours)

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of GcpProjectEnvironment.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of GcpProjectEnvironment.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Security.Models.IGcpProjectEnvironment.

FromJsonString(String)

Creates a new instance of GcpProjectEnvironment, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of GcpProjectEnvironment into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to