Class: Azure::Security::Mgmt::V2020_01_01_preview::Models::GcpCredentialsDetailsProperties
- Inherits:
-
AuthenticationDetailsProperties
- Object
- AuthenticationDetailsProperties
- Azure::Security::Mgmt::V2020_01_01_preview::Models::GcpCredentialsDetailsProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-01-01-preview/generated/azure_mgmt_security/models/gcp_credentials_details_properties.rb
Overview
GCP cloud account connector based service to service credentials, the credentials are composed of the organization ID and a JSON API key (write only)
Instance Attribute Summary collapse
-
#auth_provider_x509cert_url ⇒ String
key (write only).
-
#auth_uri ⇒ String
Auth URI field of the API key (write only).
-
#authenticationType ⇒ Object
Returns the value of attribute authenticationType.
-
#client_email ⇒ String
Client email field of the API key (write only).
-
#client_id ⇒ String
Client ID field of the API key (write only).
-
#client_x509cert_url ⇒ String
(write only).
-
#organization_id ⇒ String
The organization ID of the GCP cloud account.
-
#private_key ⇒ String
Private key field of the API key (write only).
-
#private_key_id ⇒ String
Private key ID field of the API key (write only).
-
#project_id ⇒ String
Project ID field of the API key (write only).
-
#token_uri ⇒ String
Token URI field of the API key (write only).
-
#type ⇒ String
Type field of the API key (write only).
Attributes inherited from AuthenticationDetailsProperties
#authentication_provisioning_state, #granted_permissions
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for GcpCredentialsDetailsProperties class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ GcpCredentialsDetailsProperties
constructor
A new instance of GcpCredentialsDetailsProperties.
Constructor Details
#initialize ⇒ GcpCredentialsDetailsProperties
Returns a new instance of GcpCredentialsDetailsProperties.
18 19 20 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/gcp_credentials_details_properties.rb', line 18 def initialize @authenticationType = "gcpCredentials" end |
Instance Attribute Details
#auth_provider_x509cert_url ⇒ String
key (write only)
53 54 55 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/gcp_credentials_details_properties.rb', line 53 def auth_provider_x509cert_url @auth_provider_x509cert_url end |
#auth_uri ⇒ String
Returns Auth URI field of the API key (write only).
46 47 48 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/gcp_credentials_details_properties.rb', line 46 def auth_uri @auth_uri end |
#authenticationType ⇒ Object
Returns the value of attribute authenticationType.
22 23 24 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/gcp_credentials_details_properties.rb', line 22 def authenticationType @authenticationType end |
#client_email ⇒ String
Returns Client email field of the API key (write only).
40 41 42 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/gcp_credentials_details_properties.rb', line 40 def client_email @client_email end |
#client_id ⇒ String
Returns Client ID field of the API key (write only).
43 44 45 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/gcp_credentials_details_properties.rb', line 43 def client_id @client_id end |
#client_x509cert_url ⇒ String
(write only)
57 58 59 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/gcp_credentials_details_properties.rb', line 57 def client_x509cert_url @client_x509cert_url end |
#organization_id ⇒ String
Returns The organization ID of the GCP cloud account.
25 26 27 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/gcp_credentials_details_properties.rb', line 25 def organization_id @organization_id end |
#private_key ⇒ String
Returns Private key field of the API key (write only).
37 38 39 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/gcp_credentials_details_properties.rb', line 37 def private_key @private_key end |
#private_key_id ⇒ String
Returns Private key ID field of the API key (write only).
34 35 36 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/gcp_credentials_details_properties.rb', line 34 def private_key_id @private_key_id end |
#project_id ⇒ String
Returns Project ID field of the API key (write only).
31 32 33 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/gcp_credentials_details_properties.rb', line 31 def project_id @project_id end |
#token_uri ⇒ String
Returns Token URI field of the API key (write only).
49 50 51 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/gcp_credentials_details_properties.rb', line 49 def token_uri @token_uri end |
#type ⇒ String
Returns Type field of the API key (write only).
28 29 30 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/gcp_credentials_details_properties.rb', line 28 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for GcpCredentialsDetailsProperties class as Ruby Hash. This will be used for serialization/deserialization.
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/gcp_credentials_details_properties.rb', line 64 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'gcpCredentials', type: { name: 'Composite', class_name: 'GcpCredentialsDetailsProperties', model_properties: { authentication_provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'authenticationProvisioningState', type: { name: 'String' } }, granted_permissions: { client_side_validation: true, required: false, read_only: true, serialized_name: 'grantedPermissions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'PermissionPropertyElementType', type: { name: 'String' } } } }, authenticationType: { client_side_validation: true, required: true, serialized_name: 'authenticationType', type: { name: 'String' } }, organization_id: { client_side_validation: true, required: true, serialized_name: 'organizationId', type: { name: 'String' } }, type: { client_side_validation: true, required: true, serialized_name: 'type', type: { name: 'String' } }, project_id: { client_side_validation: true, required: true, serialized_name: 'projectId', type: { name: 'String' } }, private_key_id: { client_side_validation: true, required: true, serialized_name: 'privateKeyId', type: { name: 'String' } }, private_key: { client_side_validation: true, required: true, serialized_name: 'privateKey', type: { name: 'String' } }, client_email: { client_side_validation: true, required: true, serialized_name: 'clientEmail', type: { name: 'String' } }, client_id: { client_side_validation: true, required: true, serialized_name: 'clientId', type: { name: 'String' } }, auth_uri: { client_side_validation: true, required: true, serialized_name: 'authUri', type: { name: 'String' } }, token_uri: { client_side_validation: true, required: true, serialized_name: 'tokenUri', type: { name: 'String' } }, auth_provider_x509cert_url: { client_side_validation: true, required: true, serialized_name: 'authProviderX509CertUrl', type: { name: 'String' } }, client_x509cert_url: { client_side_validation: true, required: true, serialized_name: 'clientX509CertUrl', type: { name: 'String' } } } } } end |