Class: Google::Apis::SiteVerificationV1::GetWebResourceTokenRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SiteVerificationV1::GetWebResourceTokenRequest
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/site_verification_v1/classes.rb,
 generated/google/apis/site_verification_v1/representations.rb,
 generated/google/apis/site_verification_v1/representations.rb
Defined Under Namespace
Classes: Site
Instance Attribute Summary collapse
- 
  
    
      #site  ⇒ Google::Apis::SiteVerificationV1::GetWebResourceTokenRequest::Site 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The site for which a verification token will be generated. 
- 
  
    
      #verification_method  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The verification method that will be used to verify this site. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GetWebResourceTokenRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GetWebResourceTokenRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GetWebResourceTokenRequest
Returns a new instance of GetWebResourceTokenRequest
| 40 41 42 | # File 'generated/google/apis/site_verification_v1/classes.rb', line 40 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#site ⇒ Google::Apis::SiteVerificationV1::GetWebResourceTokenRequest::Site
The site for which a verification token will be generated.
Corresponds to the JSON property site
| 32 33 34 | # File 'generated/google/apis/site_verification_v1/classes.rb', line 32 def site @site end | 
#verification_method ⇒ String
The verification method that will be used to verify this site. For sites, '
FILE' or 'META' methods may be used. For domains, only 'DNS' may be used.
Corresponds to the JSON property verificationMethod
| 38 39 40 | # File 'generated/google/apis/site_verification_v1/classes.rb', line 38 def verification_method @verification_method end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 45 46 47 48 | # File 'generated/google/apis/site_verification_v1/classes.rb', line 45 def update!(**args) @site = args[:site] if args.key?(:site) @verification_method = args[:verification_method] if args.key?(:verification_method) end |