Class: Google::Apis::FtpV1::DeniedConsumer

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#projectString

The project ID or number of the consumer project. Must be in the format: projects/project`. Corresponds to the JSON propertyproject`

Returns:

  • (String)


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