Class: Google::Apis::FtpV1::DeniedConsumer
- Inherits:
-
Object
- Object
- Google::Apis::FtpV1::DeniedConsumer
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ftp_v1/classes.rb,
lib/google/apis/ftp_v1/representations.rb,
lib/google/apis/ftp_v1/representations.rb
Overview
A consumer project or network that is denied to connect to the server via PSC.
Instance Attribute Summary collapse
-
#project ⇒ String
The project ID or number of the consumer project.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeniedConsumer
constructor
A new instance of DeniedConsumer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeniedConsumer
Returns a new instance of DeniedConsumer.
75 76 77 |
# File 'lib/google/apis/ftp_v1/classes.rb', line 75 def initialize(**args) update!(**args) end |
Instance Attribute Details
#project ⇒ String
The project ID or number of the consumer project. Must be in the format:
projects/project`.
Corresponds to the JSON propertyproject`
73 74 75 |
# File 'lib/google/apis/ftp_v1/classes.rb', line 73 def project @project end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
80 81 82 |
# File 'lib/google/apis/ftp_v1/classes.rb', line 80 def update!(**args) @project = args[:project] if args.key?(:project) end |