Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesLocalServicesVerificationArtifact

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb

Overview

A local services verification resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesLocalServicesVerificationArtifact

Returns a new instance of GoogleAdsSearchads360V23ResourcesLocalServicesVerificationArtifact.



31311
31312
31313
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31311

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#artifact_typeString

Output only. The type of the verification artifact. Corresponds to the JSON property artifactType

Returns:

  • (String)


31265
31266
31267
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31265

def artifact_type
  @artifact_type
end

#background_check_verification_artifactGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesBackgroundCheckVerificationArtifact

specific to local services background check. Corresponds to the JSON property backgroundCheckVerificationArtifact



31270
31271
31272
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31270

def background_check_verification_artifact
  @background_check_verification_artifact
end

#business_registration_check_verification_artifactGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesBusinessRegistrationCheckVerificationArtifact

specific to a local services business registration check. Corresponds to the JSON property businessRegistrationCheckVerificationArtifact



31275
31276
31277
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31275

def business_registration_check_verification_artifact
  @business_registration_check_verification_artifact
end

#creation_date_timeString

Output only. The timestamp when this verification artifact was created. The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" Corresponds to the JSON property creationDateTime

Returns:

  • (String)


31282
31283
31284
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31282

def creation_date_time
  @creation_date_time
end

#idFixnum

Output only. The ID of the verification artifact. Corresponds to the JSON property id

Returns:

  • (Fixnum)


31287
31288
31289
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31287

def id
  @id
end

#insurance_verification_artifactGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesInsuranceVerificationArtifact

specific to a local services insurance. Corresponds to the JSON property insuranceVerificationArtifact



31292
31293
31294
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31292

def insurance_verification_artifact
  @insurance_verification_artifact
end

#license_verification_artifactGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesLicenseVerificationArtifact

specific to a local services license. Corresponds to the JSON property licenseVerificationArtifact



31297
31298
31299
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31297

def license_verification_artifact
  @license_verification_artifact
end

#resource_nameString

Immutable. The resource name of the Local Services Verification. Local Services Verification resource names have the form: customers/customer_id/ localServicesVerificationArtifacts/verification_artifact_id` Corresponds to the JSON propertyresourceName`

Returns:

  • (String)


31304
31305
31306
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31304

def resource_name
  @resource_name
end

#statusString

Output only. The status of the verification artifact. Corresponds to the JSON property status

Returns:

  • (String)


31309
31310
31311
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31309

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31316
31317
31318
31319
31320
31321
31322
31323
31324
31325
31326
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31316

def update!(**args)
  @artifact_type = args[:artifact_type] if args.key?(:artifact_type)
  @background_check_verification_artifact = args[:background_check_verification_artifact] if args.key?(:background_check_verification_artifact)
  @business_registration_check_verification_artifact = args[:business_registration_check_verification_artifact] if args.key?(:business_registration_check_verification_artifact)
  @creation_date_time = args[:creation_date_time] if args.key?(:creation_date_time)
  @id = args[:id] if args.key?(:id)
  @insurance_verification_artifact = args[:insurance_verification_artifact] if args.key?(:insurance_verification_artifact)
  @license_verification_artifact = args[:license_verification_artifact] if args.key?(:license_verification_artifact)
  @resource_name = args[:resource_name] if args.key?(:resource_name)
  @status = args[:status] if args.key?(:status)
end